New Forum system requires email address which you used to apply for your account to replace your original username. Password stays the same.Please see this post for more details
http://forum.yealink.com/forum/showthread.php?tid=40344

Yealink Test Club has been officially launched. Please visit post below to get detail information. Come and join us!
http://forum.yealink.com/forum/announcements.php?aid=18

We just had the YMCS online and we are also working on the features plan on the future versions, in this regard we are need to hear your voice about the YMCS.
Please visit : http://forum.yealink.com/forum/showthread.php?tid=42322


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
XML Push without DSS key?
Author Message
testengineer Offline
Junior Member
**

Posts: 6
Joined: Jul 2013
Reputation: 0
Post: #1
XML Push without DSS key?
I'm attempting to post XML to the Yealink T38g without first using a DSS key. I'd like to kick off a series of actions that would be used for automated testing. Is this possible?

The user guide for XML development for T38 is linked below and it is quite good, but there's no hint on how to post XML to the phone without first using a DSS key.

I've configured the XML Push Server address in the T38 web UI.

The xml that I'm using works fine when called from a DSS key:
<?xml version="1.0" encoding="ISO-8859-1"?>
<YealinkIPPhoneExecute>
<ExecuteItem URI="Dial:4007" interrupetCall="no"/>
</YealinkIPPhoneExecute>

I'm using linux curl from the XML Push Server to send the XML. I'm getting an empty response from the phone:

curl -X POST -d @dial.xml --verbose http://admin:admin@x.x.x.x

Response:
* About to connect() to 10.x.x.x port 80
* Trying 10.x.x.x... connected
* Connected to 10.x.x.x port 80
* Server auth using Basic with user 'admin'
> POST / HTTP/1.1
> Authorization: Basic
> User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
> Host: 10.x.x.x
> Accept: */*
> Content-Length: 140
> Content-Type: application/x-www-form-urlencoded
>
> <?xml version="1.0" encoding="ISO-8859-1"?><YealinkIPPhoneExecute><ExecuteItem URI="Dial:4007" interrupetCall="no"/></YealinkIPPhoneExecute>Empty reply from server
* Connection #0 to host 10.x.x.x left intact
curl: (52) Empty reply from server


Anyone have any experience or advice about this?


---------
This is the developer's guide that I'm using:
http://www.yealink.com/Upload/document/X...635570.pdf
07-20-2013 06:31 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
XML Push without DSS key? - testengineer - 07-20-2013 06:31 AM
RE: XML Push without DSS key? - Alibaba - 02-12-2018, 01:16 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Push/Pull idle image? grawil 2 3,485 06-20-2016 10:16 AM
Last Post: grawil
  Push XML on T38G ruffle 8 11,417 06-17-2016 07:38 AM
Last Post: grawil

Forum Jump:


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

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