[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
T22P - Push XML Error: ip don't match or xml content is wrong
Author Message
janeuner Offline
Junior Member
**

Posts: 4
Joined: Oct 2014
Reputation: 0
Post: #3
RE: T22P - Push XML Error: ip don't match or xml content is wrong
Actually, I was testing it out with a .NET app. I pulled up the PHP code and found my issue.



Quote:The HTTP POST packet must contain an “xml=” line in the message body.

Code:
function push2phone($server,$phone,$data)
{
  $xml = "xml=".$data;
  ...
}

It is a rather unusual convention, to use application/x-www-form-urlencoded key-value pairs with a text/xml media type. But that little change has set me on the right path at least.

FYI, the current firmware seems to ignore the contents of the referer header.

Thanks for the quick feedback!
03-24-2015 04:59 AM
Find all posts by this user    like1    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
RE: T22P - Push XML Error: ip don't match or xml content is wrong - janeuner - 03-24-2015 04:59 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  T22P Action URI ATrans and BTrans not working? DaveThompson 2 4,573 09-10-2019 10:47 AM
Last Post: DaveThompson
  T22P Stuck on FW 7.60.40.7 justingoldberg 0 842 08-16-2019 01:19 PM
Last Post: justingoldberg
  T27G Load XML Browser URL Error aciacci 0 1,477 11-14-2018 09:00 AM
Last Post: aciacci
  T22P DSSKey linekey labels andcza 2 3,235 05-10-2018 06:02 AM
Last Post: andcza
  T22p does not get IP, and does not access the web interface even by manually config jason.luka 5 4,189 04-18-2018 01:29 AM
Last Post: Samuel_Yealink
  T22P -0 3CX firmware web server fails preterion 1 2,794 04-17-2018 02:35 PM
Last Post: will3
  SIP T22P Problem liamretrams 2 4,768 06-01-2017 11:22 AM
Last Post: wcolato
  T19P E2 identifies itself as wrong User - from TO header of incoming request ivanp 1 3,199 05-04-2017 09:13 AM
Last Post: Travis_Yealink
  T22P push xml v61 version Qwerty 0 1,743 12-05-2016 11:02 AM
Last Post: Qwerty
  Push XML v61 guide Qwerty 0 1,517 12-02-2016 12:44 PM
Last Post: Qwerty

Forum Jump:


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

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