Yealink Forums
T20P: Action URL, does it reboots on Register Failed? - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: Phone specific topic (/forumdisplay.php?fid=12)
+---- Forum: T2xP Series (/forumdisplay.php?fid=21)
+---- Thread: T20P: Action URL, does it reboots on Register Failed? (/showthread.php?tid=1028)



T20P: Action URL, does it reboots on Register Failed? - ruiseixas - 11-15-2013 10:44 PM

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



RE: T20P: Action URL, does it reboots on Register Failed? - Yealink Support - 11-22-2013 04:04 PM

Hi ruiseixas,

Our V71 has the new format of ACTION URI.
http(s)://phone IP address/servlet?key=variable value

You can refer to more detail from page 156 to page 160.
http://www.yealink.com/Upload/T2X/T2X-V71/Yealink_SIP-T2xP_IP_Phone_Family_Administrator_Guide_V71_141.pdf


RE: T20P: Action URL, does it reboots on Register Failed? - ruiseixas - 01-01-2014 06:38 PM

(11-22-2013 04:04 PM)Yealink Support Wrote:  Hi ruiseixas,

Our V71 has the new format of ACTION URI.
http(s)://phone IP address/servlet?key=variable value

You can refer to more detail from page 156 to page 160.
http://www.yealink.com/Upload/T2X/T2X-V71/Yealink_SIP-T2xP_IP_Phone_Family_Administrator_Guide_V71_141.pdf

Does it means the right address is this one:

Code:
http://192.168.22.126/servlet?key=Reboot

However, I try it in the Browser URL bar and my phone doesn't reboot!

Regards,
Rui

Ok,

I need to add my computer IP in the Remote control, and then it works. Any way, I think isn't needed to add the phone IP to this list to the action be executed by the phone URL actions...

I have a final question, if for some reason the phone is always unable to register, how do I access it via Web if it reboots all time due to no registration?

Regards,
Rui


RE: T20P: Action URL, does it reboots on Register Failed? - Yealink Support - 01-02-2014 03:36 PM

Hi Rui,

May be you can test XML Browser feature? We have released a latest version 72 today.
You can refer to xml browser feature.
http://www.yealink.com/SupportDownloadfiles_detail.aspx?ProductsID=64&CateID=187&flag=142


RE: T20P: Action URL, does it reboots on Register Failed? - ruiseixas - 01-04-2014 05:46 AM

(01-02-2014 03:36 PM)Yealink Support Wrote:  Hi Rui,

May be you can test XML Browser feature? We have released a latest version 72 today.
You can refer to xml browser feature.
http://www.yealink.com/SupportDownloadfiles_detail.aspx?ProductsID=64&CateID=187&flag=142

Hi,

When the phone fails registering there is no restart like expected. If I update the Firmware to the version you suggest will it works?

Regards,
Rui


RE: T20P: Action URL, does it reboots on Register Failed? - Yealink Support - 01-04-2014 10:22 AM

Hi ruiseixas,

I mean that you can test XML Browser which can help to control phone. And we change some templates in new version 72.
It is up to you to choosing. Smile


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

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