[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.

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.

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
  [Solved] Correct password don't work anymore in SIP-T22P ip phones frog.tech 1 3,317 01-27-2021 07:45 PM
Last Post: lsk
  T22P Action URI ATrans and BTrans not working? DaveThompson 2 7,549 09-10-2019 10:47 AM
Last Post: DaveThompson
  T22P Stuck on FW justingoldberg 0 2,248 08-16-2019 01:19 PM
Last Post: justingoldberg
  T27G Load XML Browser URL Error aciacci 0 3,109 11-14-2018 09:00 AM
Last Post: aciacci
  T22P DSSKey linekey labels andcza 2 5,861 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 7,724 04-18-2018 01:29 AM
Last Post: Samuel_Yealink
  T22P -0 3CX firmware web server fails preterion 1 5,015 04-17-2018 02:35 PM
Last Post: will3
  SIP T22P Problem liamretrams 2 7,184 06-01-2017 11:22 AM
Last Post: wcolato
  T19P E2 identifies itself as wrong User - from TO header of incoming request ivanp 1 5,162 05-04-2017 09:13 AM
Last Post: Travis_Yealink
  T22P push xml v61 version Qwerty 0 2,736 12-05-2016 11:02 AM
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