New Forum system requires email address which you used to apply for your account to replace your original username. Password stays the same.Please see this post for more details
http://forum.yealink.com/forum/showthread.php?tid=40344

Yealink Test Club has been officially launched. Please visit post below to get detail information. Come and join us!
http://forum.yealink.com/forum/announcements.php?aid=18

We just had the YMCS online and we are also working on the features plan on the future versions, in this regard we are need to hear your voice about the YMCS.
Please visit : http://forum.yealink.com/forum/showthread.php?tid=42322


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
T21P E2 OpenVPN Disconnects
Author Message
acca Offline
Junior Member
**

Posts: 2
Joined: Nov 2016
Reputation: 0
Post: #2
RE: T21P E2 OpenVPN Disconnects
Problem solved. My local and remote networks had the same CIDR. I've changed the subnet on one side, and now everything works.

Best Regards,

Aleksandar

(11-02-2016 12:50 PM)acca Wrote:  Hello Everyone,

My OpenVPN-server side is based on the pfSense OpenVPN router. I've configured the tunnel for SIP clients, and I have two older T20P phones which are using the tunnel, and work flawlessly.

I've got two T21P E2 phones, which are configured using the same vpn.conf file and different certificates. Initially, everything works fine. Phone will connect to the OpenVPN server, and asterisk. After the period of inactivity (approximately 2-5 minutes), T21P drops the VPN connection, and becomes unreachable. T20P is working all the time.

On the VPN server side, I see the timeout message, and failure to communicate to the T21P. After rebooting the phone it works for few minutes, and fails again.

I've tried to modify the T20's client configuration file to use it with T21. Currently it looks as follows:

dev tun
setenv SERVER_POLL_TIMEOUT 4
persist-tun
persist-key
cipher AES-128-CBC
auth SHA1
tls-client
client
#resolv-retry infinite
nobind
reneg-sec 604800
sndbuf 100000
rcvbuf 10000
auth-retry nointeract
remote server.ip.address 1197 tcp
ca /config/openvpn/keys/ca.crt
cert /config/openvpn/keys/client1.crt
key /config/openvpn/keys/client1.key
tls-auth /config/openvpn/keys/ta.key 1
ns-cert-type server
comp-lzo no
verb 3
passtos

Do you have any suggestion? I've been checking the phone's logs, but couldn't find anything OpenVPN related. When phone drops the tunnel, I have to disable VPN manually and device will reboot. Logs are empty after reboot.

Best Regards,

Aleksandar
11-02-2016 07:53 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
T21P E2 OpenVPN Disconnects - acca - 11-02-2016, 12:50 PM
RE: T21P E2 OpenVPN Disconnects - acca - 11-02-2016 07:53 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  T21P E2: Missed calls: How to show caller's number? quazgar 0 98 08-16-2019 08:22 AM
Last Post: quazgar
  T21P recover files davidpablo 5 7,123 08-04-2019 01:35 AM
Last Post: sbsllc
  T21P: Failed to upload wave file sawaix 2 603 03-27-2019 12:07 AM
Last Post: sawaix
  T21P Low headset volume rmatuda 10 13,234 02-12-2019 11:31 AM
Last Post: rmatuda
Photo Yealink T21P E2 displays VIA and FROM headers on incoming call DmitryTsyganov 1 1,263 07-12-2018 07:28 PM
Last Post: johnkiniston
  T21P dial problem oguzhan 2 1,557 06-20-2018 09:27 AM
Last Post: oguzhan
  Yealink Phones + OpenVPN Ramkumar 0 998 05-28-2018 06:14 AM
Last Post: Ramkumar
  T21P-E2 sends a CANCEL to put a call in hold Diego Juan 0 988 03-23-2018 02:52 PM
Last Post: Diego Juan
  T21P E2 and power adapters Mauro 3 2,113 03-07-2018 09:25 AM
Last Post: Aishion_Yealink
  T21P E2 Downgrade Firmware & PJSIP OSPFs 3 3,171 03-06-2018 09:22 AM
Last Post: Jensen_Yealink

Forum Jump:


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

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