[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
  T26P failed to register with TLS transport tvt 0 3,398 10-29-2021 02:58 PM
Last Post: tvt
  Action URI via SIP message steve.newton 0 3,343 09-16-2021 12:19 AM
Last Post: steve.newton
  Forwarding - Action URI - T23G matiasarw 0 4,600 03-14-2021 08:13 AM
Last Post: matiasarw
  T21P Register Failed agatospk 6 17,779 01-31-2020 06:08 AM
Last Post: agatospk
  T22P Action URI ATrans and BTrans not working? DaveThompson 2 12,038 09-10-2019 10:47 AM
Last Post: DaveThompson
  How to change voice when busy, waiting and other.. T20P marin 0 4,157 04-11-2019 12:53 PM
Last Post: marin
  T21P: Failed to upload wave file sawaix 2 8,497 03-27-2019 12:07 AM
Last Post: sawaix
  T20P Issues uploading VPN configuration mikeymike20 1 6,864 06-13-2018 07:24 AM
Last Post: Michael_Yealink
  SIP T20P unlock help afsfwmw90rfj 1 8,232 06-23-2017 08:24 AM
Last Post: Klaus_Yealink
  T19 E2 with openvpn TLS handshake failed Samcotec 2 9,989 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