[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.

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":

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!

Firmware Version 
Hardware Version 


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

# 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:

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


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
  T26P failed to register with TLS transport tvt 0 2,250 10-29-2021 02:58 PM
Last Post: tvt
  Action URI via SIP message steve.newton 0 2,284 09-16-2021 12:19 AM
Last Post: steve.newton
  Forwarding - Action URI - T23G matiasarw 0 3,463 03-14-2021 08:13 AM
Last Post: matiasarw
  T21P Register Failed agatospk 6 13,887 01-31-2020 06:08 AM
Last Post: agatospk
  T22P Action URI ATrans and BTrans not working? DaveThompson 2 10,246 09-10-2019 10:47 AM
Last Post: DaveThompson
  How to change voice when busy, waiting and other.. T20P marin 0 3,341 04-11-2019 12:53 PM
Last Post: marin
  T21P: Failed to upload wave file sawaix 2 7,046 03-27-2019 12:07 AM
Last Post: sawaix
  T20P Issues uploading VPN configuration mikeymike20 1 5,719 06-13-2018 07:24 AM
Last Post: Michael_Yealink
  SIP T20P unlock help afsfwmw90rfj 1 7,046 06-23-2017 08:24 AM
Last Post: Klaus_Yealink
  T19 E2 with openvpn TLS handshake failed Samcotec 2 8,422 04-28-2017 02:59 PM
Last Post: Michael_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