NO JOY One-way audio using Android softphone over VPN

Richard Guy

New Member
Joined
May 4, 2014
Messages
26
Reaction score
2
Hi, I have PBXIAF working with a Geils trunk. I installed Zoiper on my Android smartphone, set up an extension in FreePBX, and when I attempt to make a call from the local WiFi, everything works great.

When I try from home WiFi or 3G (over a VPN to the DD-WRT router on the same LAN as the PBXIAF server is on), Zoiper still registers and I can still dial out. However, I cannot hear the person on the other end. They can hear me, but I just get silence.

Help! I've spent a lot of time on this, but can't find the solution.

thanks

Richard
 
Thanks for the suggestion. I tried, but it didn't work. :-( the problem remains.

Does anyone have any other ideas...?

Thanks

Richard
 
Still sounds like a router issue. Are you sure the VPN is passing UDP ports 10,000 to 20,000 between both ends?
 
thanks for the reply. No I am not sure. :-( I did configure that port forwarding on the router (on the LAN to which the PBXIAF server is attached), which is presumably why everything works when I use my Android softphone on that network, but I don't know how to make sure the same forwarding is done through the VPN.

does anyone know...? thanks. :-)
 
When I try from home WiFi or 3G (over a VPN to the DD-WRT router on the same LAN as the PBXIAF server is on)

I am trying to figure out in my own mind your exact configuration, and I'm missing some basic pieces. My first assumption is that you are trying to call from home to a PBX server somewhere else, ie: NOT at home. If that assumption is correct, what is confusing (to me) is that when you attempt a call either via WiFi (from home?) or 3G, is when you experience the audio problem??

When you call from home over 3G, then you probably are calling into a DID, which arrives at the far end PBX. In this case, I don't see where the VPN is involved, but do help clarify my ignorance.

When you call over WiFi, you need to have a VPN client running either on the home router, or the smartphone, BEFORE placing the call. Once the VPN tunnel is established, traffic through your home router (or smartphone) connects directly to the LAN where the PBX resides. For all intents and purposes, your smart phone will appear to be located at the far end LAN, where the PBX resides, so all calls should appear as 'local' to the PBX, the same as when you were at the other location, and all was working fine. There should be no need to forward any SIP ports, since the VPN tunnel "should" appear transparent, IF your VPN server is running on your far end router. Then you will just need to forward the VPN port (1194, 1722, or 1723... whatever the server requires as default) to the VPN server.
 
thanks for the reply. sorry I wasn't clear. At work I have a DD-WRT router and PBXIAF (on a Pi). When I connect to the WiFi at work (the DD-WRT router has WiFi) everything works great. When I leave work and attempt to connect to the same DD-WRT over the Internet using a VPN (the DD-WRT router is a VPN 'host' - I am using PPTP) over either WiFi or 3G *data*, I get the one-way audio problem.

I understand that when connected to the VPN my smartphone should appear to be on the LAN and therefore local to the PBX; and web browsing etc. works, but I have this one-way audio issue anyway.

hope this clarifies things. Looking forward to possible solutions. thanks again!
 
Is your PPTP IP address in the same subnet as your PIAF server?
 
Is the subnet your VPN using configured in Asterisk as a local network?
 
thanks for the replies. yes, same subnet. The DD-WRT is 192.168.1.1; the Asterisk server is 192.168.1.6; last time I connected to the VPN it allocated the IP address 192.168.1.137 I think.

I think it's configured as a local network.

Richard
 
It could be something with the pptp tunnel. Have you tried ipsec or open VPN?
 

Members online

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top