[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
  Yealink RPS API error kov 1 345 Yesterday 10:20 AM
Last Post: aspurlock@sipharmony.com
  Dialing T46U from web browser troy44 7 6,772 04-22-2024 05:51 AM
Last Post: AKT
  Error q.850 cause=17 Nomads 1 677 04-11-2024 06:38 PM
Last Post: complex1
  IP Phone Login Error "ERR_INVALID_HTTP_RESPONSE" nolto 2 2,662 10-06-2023 04:34 PM
Last Post: nolto
  ACTION URI error troy44 12 12,351 07-09-2022 11:57 PM
Last Post: troy44
  Click to dial from web browser h2g-vaka 7 17,015 06-10-2022 03:27 AM
Last Post: troy44
  XLM Browser provision GNIL 0 3,240 03-25-2021 11:18 PM
Last Post: GNIL
  "not found" error when redialing from history rilliam 4 20,801 12-16-2019 06:22 PM
Last Post: Chris708
  Softphone XML-Browser Support justingoldberg 6 19,650 08-15-2019 02:52 PM
Last Post: justingoldberg
  Firmware upgrade error on T23G acubino 1 7,496 07-22-2019 03:03 AM
Last Post: Evan_Yealink

Forum Jump:


User(s) browsing this thread:

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