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

Posts: 6
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
  IP Phone Login Error "ERR_INVALID_HTTP_RESPONSE" nolto 2 1,837 10-06-2023 04:34 PM
Last Post: nolto
  Dialing T46U from web browser troy44 6 5,472 07-17-2022 01:18 AM
Last Post: troy44
  ACTION URI error troy44 12 10,657 07-09-2022 11:57 PM
Last Post: troy44
  Click to dial from web browser h2g-vaka 7 15,834 06-10-2022 03:27 AM
Last Post: troy44
  XLM Browser provision GNIL 0 3,054 03-25-2021 11:18 PM
Last Post: GNIL
  "not found" error when redialing from history rilliam 4 19,946 12-16-2019 06:22 PM
Last Post: Chris708
  Softphone XML-Browser Support justingoldberg 6 18,717 08-15-2019 02:52 PM
Last Post: justingoldberg
  Firmware upgrade error on T23G acubino 1 7,127 07-22-2019 03:03 AM
Last Post: Evan_Yealink
  Placing outgoing calls from web browser or softphone. Shenmue232 0 4,168 05-27-2018 02:02 PM
Last Post: Shenmue232
  Xml Browser using Google Firebase Sztaho 6 18,125 08-16-2017 10:16 AM
Last Post: Sztaho

Forum Jump:


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

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