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
T22 error after XML Browser
Author Message
AndyM Offline
Junior Member
**

Posts: 1
Joined: Jul 2015
Reputation: 0
Post: #1
T22 error after XML Browser
We are trying to program some of our T22P phones to activate a network-enabled relay (unlock doors, etc.) using the programmable keys. We have programmed one of the programmable keys to use XML Browser to trigger this functionality. Our relay controllers allow changes via URL in a format like http://ip.address/state.xml?relay1State=1 - when we tried calling this URL directly, the desired controller state was successfully triggered but the phone then displayed a "File layout error!" requiring an extra keypress. So we created our own XML file on our web server. If we have the controller provide no response, the phone gives a "Loading - please wait" message for a few seconds followed by a "Loading error". If the controller does provide a response, it jumps right to the "Loading error" - still requiring a keypress.

The controller responds with simple XML like the following:
<?xml version='1.0' encoding='utf-8'?>
<datavalues>
<relay1state>0</relay1state>
<relay2state>1</relay2state>
<relay3state>0</relay3state>
<relay4state>0</relay4state>
</datavalues>

The XML file we created on the web server is as follows:
<YealinkIPPhoneExecute Beep="yes">
<ExecuteItem URI="http://ip.address/state.xml?relay1State=1" />
<ExecuteItem URI="LED: SMS=slowflash"/>
</YealinkIPPhoneExecute>

I've read the XML Browser Developer's Guide, but it hasn't shed much light on trying to call a URL.

Is there some way for the phone to ignore the response completely, or to process the response and not show an error?

Thanks!

AndyM
07-31-2015 09:49 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
T22 error after XML Browser - AndyM - 07-31-2015 09:49 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  HDCP Error on roku marvinericksen 0 6 Today 12:18 PM
Last Post: marvinericksen
  "not found" error when redialing from history rilliam 3 5,929 12-07-2019 09:45 PM
Last Post: rilliam
  Softphone XML-Browser Support justingoldberg 6 894 08-15-2019 02:52 PM
Last Post: justingoldberg
  Firmware upgrade error on T23G acubino 1 438 07-22-2019 03:03 AM
Last Post: Evan_Yealink
  Click to dial from web browser h2g-vaka 4 1,621 03-15-2019 07:53 AM
Last Post: banderlog
  Placing outgoing calls from web browser or softphone. Shenmue232 0 952 05-27-2018 02:02 PM
Last Post: Shenmue232
  Xml Browser using Google Firebase Sztaho 6 4,672 08-16-2017 10:16 AM
Last Post: Sztaho
  T56A remote phonebook error tima 6 4,578 06-21-2017 05:11 PM
Last Post: Fraukas2
  T20P BUG call through the browser Vasco 2 2,847 04-25-2017 10:57 AM
Last Post: Trythistwo
  XML Browser - ExecuteItem Dial: specify an account tsukraw 1 5,181 03-16-2017 09:50 PM
Last Post: sofnisys

Forum Jump:


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

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