Yealink Forums

Full Version: Yealink T23G openvpn pfsense freepbx one way audio
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm going to first describe my setup. I have internal IP phones where phones and freepbx are on the same LAN. This setup works fine.

I also have remote users who wants to use the T23G. We have existing working OpenVPN/pfSense setup. So I add the VOIP network into OpenVPN and exported with OpenVPN client export. There is a specific export for T28 and I used that and imported the tar file into the T23.

On to the T23G phone. I brought the T23G home. Turn it on and on first glance, everything looks good. VPN icon is on and the number is registered. I tried calling the office numbers. It rings and someone in the office picked up. I can hear the other party but the other party cannot hear me. Then after 30 seconds the call is dropped.

I am puzzled. OpenVPN connection is established as verified on the phone and pfSense webui. Number is registered and verified in the phone webui. There is a log entry in freepbx.

[2017-08-03 09:55:20] NOTICE[1715] chan_sip.c: Disconnecting call 'SIP/814-00000053' for lack of RTP activity in 31 seconds

This let me to consider if the T23G somehow cannot send UDP packets to freepbx. However this is conflicting as the SIP connection is also on UDP and seems to work fine.

Any tips for a quick fix from experienced users?

Firmware Version 44.81.0.110
Hardware Version 44.0.0.16.0.0.0
FreePBX 12.0.76.2
pfSense 2.3.3
Sounds like your setup is correct for the VPN, but it might be a firewall or Asterisk setting that is causing the issue.

If the phone registers and you can see it online, then I expect it is not a problem with the firewall. What happens if you try to dial the phone from the office? does it ring but same one-way audio?

Check and see what IP range the VPN is assigning to the phone. Usually when this problem comes up we find that the VPN is configured to hand out some other local address range (i.e. LAN is 192.168.1.0, but VPN is 192.168.5.0 etc). In Asterisk, check to make sure that the VPN address range (if different from LAN) is configured under the "Local Networks" SIP settings. That most likely is the heart of the problem.
(08-04-2017 03:57 PM)jolouis Wrote: [ -> ]Sounds like your setup is correct for the VPN, but it might be a firewall or Asterisk setting that is causing the issue.

If the phone registers and you can see it online, then I expect it is not a problem with the firewall. What happens if you try to dial the phone from the office? does it ring but same one-way audio?

Check and see what IP range the VPN is assigning to the phone. Usually when this problem comes up we find that the VPN is configured to hand out some other local address range (i.e. LAN is 192.168.1.0, but VPN is 192.168.5.0 etc). In Asterisk, check to make sure that the VPN address range (if different from LAN) is configured under the "Local Networks" SIP settings. That most likely is the heart of the problem.

Hi jolouis

I have added the VPN address range and fixed it! Thank you for your help.
(08-04-2017 03:57 PM)jolouis Wrote: [ -> ]Sounds like your setup is correct for the VPN, but it might be a firewall or Asterisk setting that is causing the issue.

If the phone registers and you can see it online, then I expect it is not a problem with the firewall. What happens if you try to dial the phone from the office? does it ring but same one-way audio?

Check and see what IP range the VPN is assigning to the phone. Usually when this problem comes up we find that the VPN is configured to hand out some other local address range (i.e. LAN is 192.168.1.0, but VPN is 192.168.5.0 etc). In Asterisk, check to make sure that the VPN address range (if different from LAN) is configured under the "Local Networks" SIP settings. That most likely is the heart of the problem.

thank you!Smile
Reference URL's