[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
  Phones Web UI Not Working after Firmware Update Rockses 2 1,338 05-26-2020 02:44 PM
Last Post: Lewis-H
  T46S Firmware 66.83.x.x Chris708 6 442 05-14-2020 01:42 PM
Last Post: Chris708
  Outgoing calls fail - Forbidden TotalNet 4 549 05-07-2020 08:30 PM
Last Post: TotalNet
  T2xp Firmware differences Chris708 6 448 05-06-2020 06:33 PM
Last Post: Chris708
  Firmware x.84.0.80 and Yealink RPS jstl 2 984 10-31-2019 03:46 PM
Last Post: jstl
  CP960 no wifi after putting in Teams Firmware deepeshsingh 1 560 10-14-2019 03:06 PM
Last Post: complex1
  Firmware update for EXP40 Argenture 1 917 07-26-2019 12:33 AM
Last Post: Baron_Yealink
  Firmware upgrade error on T23G acubino 1 891 07-22-2019 03:03 AM
Last Post: Evan_Yealink
Exclamation Downgrade Firmware!! Help!!! manny.garcia@dhitelecom.com 0 1,438 06-24-2019 02:46 PM
Last Post: manny.garcia@dhitelecom.com
  T27G firmware phnau 1 1,011 05-21-2019 10:19 AM
Last Post: complex1

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

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