[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenVPN phones have intermittent audio loss
Author Message
amartin Offline
Junior Member
**

Posts: 4
Joined: Sep 2015
Reputation: 0
Post: #1
OpenVPN phones have intermittent audio loss
Hello,

I have successfully deployed several SIP-T32G, SIP-T38G, and SIP-T42G Yealink phones at remote locations. These phones use the following OpenVPN config to connect to an OpenVPN server running on my Internet gateway and then to an Asterisk server on my LAN. Some of the time, this works very well - calls are clear and both parties can hear each other. However, at other times the call quality will significantly degrade, so that there are intermittent gaps in the audio from one party or both. I have not experienced these same problems with other phones on the LAN, so I suspect the issue lies in the gateway, remote network, or OpenVPN config. Since this is occurring at several different remote locations, I feel that I can probably rule out the remote network as the culprit, which leaves just the gateway or the OpenVPN config on the phones. I am not showing congestion on the gateway, as it is mostly just used for this purpose. I do not see anything obvious in the syslog of one of the phones.

I have done a Wireshark packet capture and and am seeing some jitter (around 10ms average) and delta (around 100ms average) on the packets, but it is hard to exactly correlate this intermittent loss with the audio problems.

OpenVPN client config:
Code:
dev tun
persist-tun
persist-key
cipher DES-CFB
auth SHA1
tls-client
client
resolv-retry infinite
remote <gateway public ip> 1194 udp
ca /phone/config/openvpn/keys/ca.crt
cert /phone/config/openvpn/keys/client1.crt
key /phone/config/openvpn/keys/client1.key
ns-cert-type server

Is wrapping the SIP/RTP traffic inside of an OpenVPN tunnel causing some jitter or latency issues? What else can I do to debugt his prboelm?T
09-10-2015 02:00 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
James_Yealink Offline
Administrator
*******

Posts: 1,159
Joined: Aug 2014
Reputation: 8
Post: #2
RE: OpenVPN phones have intermittent audio loss
Hello,

There is no issue to the client config.
So the quality issue only happens when you enable OpenVPN?

You mentioned that "at other times the call quality will significantly degrade", the other times means some random call or a period of time?

If it happens in some specific call, please try hold and unhold multiple time to check whether the issue will be solved. Or just hang up and make a call as soon as possible to check the quality in next call.

If it happens to multiple phones in a period of time, it seems more like a gateway issue.

Regards,
James
(This post was last modified: 09-10-2015 07:09 AM by James_Yealink.)
09-10-2015 07:09 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
amartin Offline
Junior Member
**

Posts: 4
Joined: Sep 2015
Reputation: 0
Post: #3
RE: OpenVPN phones have intermittent audio loss
James,

Thanks for the fast response! The call quality will degrade significantly at random points during a call. Some calls will work completely fine with no problems, other calls may start out fine and then degrade and then may recover again later if the call is long enough.

I will try holding the hold button the next time this happens.

Are there any settings on my gateway that I should attempt to adjust? I just tried lowering the MTU from the default 1500 to 1200 using "mssfix 1200" in my OpenVPN server config on the gateway yesterday.

Note that I have tried changing the Jitter Buffer settings from their defaults to the following, with no improvement:
Code:
Type: Fixed
Minimum Delay: 120
Maximum Delay: 120
Normal Delay: 120

Note that I am experiencing it on the following phones with the following firmware versions:
Code:
SIP-T38G        38.70.1.33
SIP-T32G        32.70.0.131
SIP-T42G        29.73.0.50
09-10-2015 11:03 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
amartin Offline
Junior Member
**

Posts: 4
Joined: Sep 2015
Reputation: 0
Post: #4
RE: OpenVPN phones have intermittent audio loss
James,

Also note that every time someone reports bad quality on a call, I have been able to correlate the timestamp with an entry like this in the OpenVPN server log:
http://pastebin.com/62gnvjdh

Could this renegotiation be disrupting the VPN connection during an active call, causing the problems?
09-11-2015 04:43 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
FamelJone Offline
Junior Member
**

Posts: 1
Joined: Sep 2015
Reputation: 0
Post: #5
RE: OpenVPN phones have intermittent audio loss
The online play an important role in all the field, The phone problem will be solved with an expert person from online. Similar way need an expert person for your writing work just for advice consider thesis writing service provider.
(This post was last modified: 09-11-2015 07:02 PM by FamelJone.)
09-11-2015 07:01 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
shanondink Offline
Junior Member
**

Posts: 1
Joined: Dec 2015
Reputation: 0
Post: #6
RE: OpenVPN phones have intermittent audio loss
Hey Martin,

I am experiencing the exact same thing.

Did you ever figure it out?

Thanks,
Shanon
12-03-2015 12:53 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
amartin Offline
Junior Member
**

Posts: 4
Joined: Sep 2015
Reputation: 0
Post: #7
RE: OpenVPN phones have intermittent audio loss
Hi Shanon,

Unfortunately no, I never did isolate the source of this problem. It is still intermittently happening, with no resolution. Have you found any insights into how to resolve this problem?
01-19-2016 06:04 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
elmapeter099 Offline
Junior Member
**

Posts: 1
Joined: Sep 2015
Reputation: 0
Post: #8
RE: OpenVPN phones have intermittent audio loss
You all look so stupendous. You really dished up a horror party! photos booths are simply awesome!One of my favorites themes ever!

https://www.google.com

Katie Cassidy Leather Jacket at TopcelebsJackets
01-27-2016 06:52 PM
Visit this user's website Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  DHCP not working on T26P when OpenVPN is enabled. LandonL 11 24,104 05-12-2021 10:46 AM
Last Post: 1sae
  Solved Openvpn.tar creating the right size file compsos 3 4,057 08-20-2020 06:49 AM
Last Post: complex1
  Bug Report: Tones for T2x phones Akira 0 2,105 12-05-2019 07:53 AM
Last Post: Akira
  OpenVPN and QoS/TOS roelvanmeer 0 2,657 02-19-2019 09:27 AM
Last Post: roelvanmeer
  custom ringtone with new BLF audio alert Chris Barron 0 3,124 11-26-2018 09:59 AM
Last Post: Chris Barron
  OpenVPN Timeout connecting p2xt 3 6,064 07-13-2018 07:37 PM
Last Post: jolouis
  Yealink T20P phones with Fonality firmware Quan7 0 3,379 10-04-2017 10:00 PM
Last Post: Quan7
  openvpn w52p setup rafael 4 13,651 08-10-2017 02:03 PM
Last Post: indicato
  can't setup openvpn with t48g zzz 8 16,468 07-18-2017 09:04 AM
Last Post: sj
  [SOLVED] T46G one way audio on outgoing calls Kamik 3 9,317 08-16-2016 06:22 PM
Last Post: Kamik

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication