Yealink Forums
How to reboot T19P_E2 by HTTP? - 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: How to reboot T19P_E2 by HTTP? (/showthread.php?tid=45516)

Pages: 1 2


How to reboot T19P_E2 by HTTP? - ogankvik - 11-21-2021 04:58 PM

Hello.
I have an IP Phone SIP-T19P_E2. I need to reboot it using HTTP protocol. How to do it?

Tried but did NOT work:
Code:
http://10.238.31.69/cgi-bin/api-sys_operation?passcode=xxx&request=REBOOT&
http://10.238.31.12/cgi-bin/ConfigManApp.com?key=Reboot=true@admin:xxx
http://admin:xxx@10.238.31.12/cgi-bin/ConfigManApp.com?key=Reboot=true
http://10.238.31.12/servlet?p=login&q=login&username=admin&pwd=xxx&jumpto=URI&p=settings-upgrade&q=Reboot=true
Thanks!


RE: How to reboot T19P_E2 by HTTP? - complex1 - 11-21-2021 08:47 PM

(11-21-2021 04:58 PM)ogankvik Wrote:  Hello.
I have an IP Phone SIP-T19P_E2. I need to reboot it using HTTP protocol. How to do it?

Tried but did NOT work:
Code:
http://10.238.31.69/cgi-bin/api-sys_operation?passcode=xxx&request=REBOOT&
http://10.238.31.12/cgi-bin/ConfigManApp.com?key=Reboot=true@admin:xxx
http://admin:xxx@10.238.31.12/cgi-bin/ConfigManApp.com?key=Reboot=true
http://10.238.31.12/servlet?p=login&q=login&username=admin&pwd=xxx&jumpto=URI&p=settings-upgrade&q=Reboot=true
Thanks!

Hi,

Please try this one:

http://username:password@<phoneIPAddress>/servlet?key=Reboot


RE: How to reboot T19P_E2 by HTTP? - ogankvik - 11-21-2021 09:42 PM

(11-21-2021 08:47 PM)complex1 Wrote:  http://username:password@<phoneIPAddress>/servlet?key=Reboot

Code:
c:\>wget.exe http://admin:xxx@10.238.31.12/servlet?key=Reboot
--2021-11-21 16:33:44--  http://admin:*password*@10.238.31.12/servlet?key=Reboot

Connecting to 10.238.31.12:80... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authentication selected: Basic realm="VOIP PHONE"
Reusing existing connection to 10.238.31.12:80.
HTTP request sent, awaiting response... 403 Forbidden
2021-11-21 16:33:44 ERROR 403: Forbidden.

I tried to apply this command through the cmd and in the browser, the result is always "You do not have permission to view this page."

Login and password are 100% correct. I connect under them to the web interface of the ip phone.


RE: How to reboot T19P_E2 by HTTP? - complex1 - 11-22-2021 05:17 AM

I do not have a T19P_E2, but the T57W and the command work well.
I use Firefox as browser.
Please try to use https instead of http


RE: How to reboot T19P_E2 by HTTP? - ogankvik - 11-23-2021 03:34 PM

(11-22-2021 05:17 AM)complex1 Wrote:  Please try to use https instead of http

No, it worked. This command didn't work either:
Code:
https://admin:xxx@10.238.31.12/servlet?key=Reboot --no-check-certificate

Updated fitware to the latest version (53.84.0.125). I tried to enter the command in different encodings. An idea has appeared, maybe in the detelphone itself you need to enable some option or tweak something? What to do..


RE: How to reboot T19P_E2 by HTTP? - complex1 - 11-24-2021 04:22 AM

(11-23-2021 03:34 PM)ogankvik Wrote:  
(11-22-2021 05:17 AM)complex1 Wrote:  Please try to use https instead of http

No, it worked. This command didn't work either:
Code:
https://admin:xxx@10.238.31.12/servlet?key=Reboot --no-check-certificate

Updated fitware to the latest version (53.84.0.125). I tried to enter the command in different encodings. An idea has appeared, maybe in the detelphone itself you need to enable some option or tweak something? What to do..

If you think it is caused by a certificate issue, you can disable the certificate check.
Go to Security > Trusted Certificates > Only Accept Trusted Certificates and select "Disabled"


RE: How to reboot T19P_E2 by HTTP? - ogankvik - 11-25-2021 01:14 PM

complex1, thanks for your help! Smile It didn't work with http, I will look for another way to reboot.


RE: How to reboot T19P_E2 by HTTP? - complex1 - 11-25-2021 04:48 PM

(11-25-2021 01:14 PM)ogankvik Wrote:  complex1, thanks for your help! Smile It didn't work with http, I will look for another way to reboot.

Hi,

Have you tried https with the certificate check disabled?
Is the T19P_E2 running the latest available firmware?


RE: How to reboot T19P_E2 by HTTP? - ogankvik - 11-26-2021 02:10 PM

[attachment=6065]
[attachment=6066]
complex1, hi! Only Accept Trusted Certificates "Disabled". Wimware is latest.

The error has not changed:
Code:
c:\>wget.exe https://admin:xxx@10.238.31.12/servlet?key=Reboot
--2021-11-26 09:04:34--  https://admin:*password*@10.238.31.12/servlet?key=Reboo
t
Connecting to 10.238.31.12:443... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authentication selected: Basic realm="VOIP PHONE"
Reusing existing connection to 10.238.31.12:443.
HTTP request sent, awaiting response... 403 Forbidden
2021-11-26 09:04:39 ERROR 403: Forbidden.



RE: How to reboot T19P_E2 by HTTP? - complex1 - 11-26-2021 03:53 PM

(11-26-2021 02:10 PM)ogankvik Wrote:  complex1, hi! Only Accept Trusted Certificates "Disabled". Wimware is latest.

The error has not changed:
Code:
c:\>wget.exe https://admin:xxx@10.238.31.12/servlet?key=Reboot
--2021-11-26 09:04:34--  https://admin:*password*@10.238.31.12/servlet?key=Reboo
t
Connecting to 10.238.31.12:443... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authentication selected: Basic realm="VOIP PHONE"
Reusing existing connection to 10.238.31.12:443.
HTTP request sent, awaiting response... 403 Forbidden
2021-11-26 09:04:39 ERROR 403: Forbidden.

Hi,

Please try to execute the command directly from the browser and do not use wget.exe for now.
Firefox is preferable.