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
T20P: Action URL, does it reboots on Register Failed?
Author Message
ruiseixas Offline
Junior Member
**

Posts: 34
Joined: May 2013
Reputation: 0
Post: #7
RE: T20P: Action URL, does it reboots on Register Failed?
(11-15-2013 10:44 PM)ruiseixas Wrote:  Hi,

I wold like to know if for my phone, this url setting will work whenever any sip "Register Failed":
Code:
http://192.168.22.126/cgi-bin/configmanapp.com?key=reboot

I'm using OpenVPN, and I wish to reboot the phone whenever I lost connection (Register Failed). If possible I wold like to specify a minimum time between reboots, for instance, 5 minutes. This will avoid systematic rebooting and the impossibility of accessing the phone web interface in the case of no network or bad sip configuration!

Code:
Firmware Version           9.71.0.140
Hardware Version           7.0.1.61

Hi,

The solution is in the OpenVPN configuration file... You only need to add the following lines to it:

Code:
# Uncomment this section for a more reliable detection when a system
# loses its connection.  For example, dial-ups or laptops that
# travel to other locations.
ping 30
ping-restart 300

This means it pings each half minute, and after 5 minutes without response it restarts de VPN connection. You may chose a smaller period, I chose 5 minutes to guarantee that the DynDNS has the right updated address.

Consider also disabling persist-tun to a broader restart, this way:
Code:
persist-key
;persist-tun

Now the connection stays on all the time with no need to reboot the phone.


Regards
Rui

For more information about the OpenVPN config file, see my post named:
(This post was last modified: 03-07-2014 09:07 PM by ruiseixas.)
03-05-2014 05:43 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
RE: T20P: Action URL, does it reboots on Register Failed? - ruiseixas - 03-05-2014 05:43 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  T22P Action URI ATrans and BTrans not working? DaveThompson 2 2,852 09-10-2019 10:47 AM
Last Post: DaveThompson
  How to change voice when busy, waiting and other.. T20P marin 0 400 04-11-2019 12:53 PM
Last Post: marin
  T21P: Failed to upload wave file sawaix 2 714 03-27-2019 12:07 AM
Last Post: sawaix
  T20P Issues uploading VPN configuration mikeymike20 1 1,225 06-13-2018 07:24 AM
Last Post: Michael_Yealink
  SIP T20P unlock help afsfwmw90rfj 1 2,380 06-23-2017 08:24 AM
Last Post: Klaus_Yealink
  T19 E2 with openvpn TLS handshake failed Samcotec 2 2,883 04-28-2017 02:59 PM
Last Post: Michael_Yealink
  T20p phone No Services. srini 1 3,166 09-26-2016 10:14 PM
Last Post: Lucia_Yealink
  T20P Recovery File lucascury 0 2,075 09-08-2016 11:16 PM
Last Post: lucascury
  T21P E2 OpenVPN TLS Handshake Failed ngefvert 1 3,218 05-05-2016 06:15 AM
Last Post: Karl_Yealink
  T20P + Failed transfering calls tic.oxipira 1 3,469 05-05-2016 06:11 AM
Last Post: Karl_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