[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
  T28P - OpenVPN TLS error: Unsupported protocol 1sae 0 1,847 07-18-2023 06:50 AM
Last Post: 1sae
  [Solved] Correct password don't work anymore in SIP-T22P ip phones frog.tech 1 9,491 01-27-2021 07:45 PM
Last Post: lsk
  T22P Action URI ATrans and BTrans not working? DaveThompson 2 13,114 09-10-2019 10:47 AM
Last Post: DaveThompson
  T22P Stuck on FW 7.60.40.7 justingoldberg 0 5,085 08-16-2019 01:19 PM
Last Post: justingoldberg
  T27G Load XML Browser URL Error aciacci 0 6,161 11-14-2018 09:00 AM
Last Post: aciacci
  T22P DSSKey linekey labels andcza 2 10,732 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 14,644 04-18-2018 01:29 AM
Last Post: anonymous1718628087441
  T22P -0 3CX firmware web server fails preterion 1 9,345 04-17-2018 02:35 PM
Last Post: will3
  SIP T22P Problem liamretrams 2 11,644 06-01-2017 11:22 AM
Last Post: wcolato
  T19P E2 identifies itself as wrong User - from TO header of incoming request ivanp 1 8,899 05-04-2017 09:13 AM
Last Post: Travis_Yealink

Forum Jump:


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

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