[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
Push xml with firmware 84 - 403 forbidden always
Author Message
nSolvePaul Offline
Junior Member
**

Posts: 19
Joined: Jul 2018
Reputation: 0
Post: #1
Push xml with firmware 84 - 403 forbidden always
Using curl (or MS-Windows C++) I'm unable to push xml to my T27G as I just get a 403 forbidden always.

C:\Users\nsolv>curl --verbose -d "xml=<YealinkIPPhoneTextScreen Beep = \"yes\"><Title>test</Title><Text>2222</Text></YealinkIPPhoneTextScreen>" -H "Content-Type: text/xml" -H "Referer: 192.168.10.114" -X POST http://192.168.10.127 -u admin:MYPASSWORD
Note: Unnecessary use of -X or --request, POST is already inferred.
* Trying 192.168.10.127:80...
* TCP_NODELAY set
* Connected to 192.168.10.127 (192.168.10.127) port 80 (#0)
* Server auth using Basic with user 'admin'
> POST / HTTP/1.1
> Host: 192.168.10.127
> Authorization: Basic YWRtaW46bnNvbHZl
> User-Agent: curl/7.68.0
> Accept: */*
> Content-Type: text/xml
> Referer: 192.168.10.114
> Content-Length: 106
>
* upload completely sent off: 106 out of 106 bytes
* Mark bundle as not supporting multiuse
< HTTP/1.1 401 Unauthorized
< WWW-Authenticate: Digest realm="PUSH Authentication",nonce="78945123",algorithm="MD5",qop="auth"
< Content-Type: text/html
< Transfer-Encoding: chunked
< Date: Mon, 27 Jan 2020 13:59:37 GMT
< Server: embed httpd
<
<html>
<body>
<div id="_RES_INFO_"></div>
</body>
</html>* Connection #0 to host 192.168.10.127 left intact


I have my admin web password and remote control password set the same. I have action uril allow IP set to any. What else do I need to do to allow server initiated push xml?

Or has basic authentication for push xml been removed? And only MD5 is supported now?

Any help very much appreciated
Thanks
Paul


Sorted added --digest

curl --verbose -d "xml=<YealinkIPPhoneTextScreen Beep = \"yes\"><Title>test</Title><Text>2222</Text></YealinkIPPhoneTextScreen>" -H "Content-Type: text/xml" -H "Referer: 192.168.10.114" -H "Connection: Keep-alive" -X POST http://192.168.10.127 --digest -u admin:MYPASSWORD
(This post was last modified: 01-27-2020 02:21 PM by nSolvePaul.)
01-27-2020 02:03 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
Push xml with firmware 84 - 403 forbidden always - nSolvePaul - 01-27-2020 02:03 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Firmware download for T18P fetoa 1 385 03-08-2021 09:06 PM
Last Post: Yisroel_MongoTEL
  VP59 New Firmware mamboz 3 1,127 03-01-2021 09:14 AM
Last Post: Edward_Yealink
  Downgrade Firmware Lee-Dreyer 5 11,048 01-29-2021 10:10 PM
Last Post: Yisroel_MongoTEL
  Poor Firmware DarrenWilliams 1 918 11-17-2020 02:00 PM
Last Post: East_Yealink
  VP59 - No Wifi 5G with new Firmware // No Call Recording anymore vilionmedia 3 1,295 11-07-2020 03:44 AM
Last Post: complex1
  Firmware keeps downgrading jakedawson 2 1,399 09-21-2020 09:43 AM
Last Post: Brian_Yealink
  T28p - Firmware version advice Tato 2 1,446 09-11-2020 01:04 PM
Last Post: Tato
  Fonality Firmware Removal? will3 9 10,523 06-12-2020 07:58 PM
Last Post: complex1
  Phones Web UI Not Working after Firmware Update Rockses 2 3,662 05-26-2020 02:44 PM
Last Post: Lewis-H
  T46S Firmware 66.83.x.x Chris708 6 4,013 05-14-2020 01:42 PM
Last Post: Chris708

Forum Jump:


User(s) browsing this thread:

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication