[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
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
  T21P Register Failed agatospk 6 744 01-31-2020 06:08 AM
Last Post: agatospk
  T22P Action URI ATrans and BTrans not working? DaveThompson 2 3,489 09-10-2019 10:47 AM
Last Post: DaveThompson
  How to change voice when busy, waiting and other.. T20P marin 0 638 04-11-2019 12:53 PM
Last Post: marin
  T21P: Failed to upload wave file sawaix 2 1,293 03-27-2019 12:07 AM
Last Post: sawaix
  T20P Issues uploading VPN configuration mikeymike20 1 1,523 06-13-2018 07:24 AM
Last Post: Michael_Yealink
  SIP T20P unlock help afsfwmw90rfj 1 2,694 06-23-2017 08:24 AM
Last Post: Klaus_Yealink
  T19 E2 with openvpn TLS handshake failed Samcotec 2 3,253 04-28-2017 02:59 PM
Last Post: Michael_Yealink
  T20p phone No Services. srini 1 3,477 09-26-2016 10:14 PM
Last Post: Lucia_Yealink
  T20P Recovery File lucascury 0 2,263 09-08-2016 11:16 PM
Last Post: lucascury
  T21P E2 OpenVPN TLS Handshake Failed ngefvert 1 3,618 05-05-2016 06:15 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