[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
Turn ON and OFF LED with XML
Author Message
mhoekstratelpa Offline
Junior Member
**

Posts: 2
Joined: Aug 2021
Reputation: 0
Post: #1
Turn ON and OFF LED with XML
Hi,

We want the phone to execute a XML URI when the phone SIP registers and in this XML we want the phone to turn on a LED.
We have already succesfully made a XML browser key, and when pushed the phone DOES successfully turn ON of OFF a LED.

When we put a link to our XML scrpt in the "execute xml URI" when SIP is registered, and we can see in the HTTP logs of our server the phone successfully does a GET from our server when the SIP registration is successful.

Now the phone NEVER turns ON of OFF a LED even though this is in the XML.

I think I have somewhere this is for security reasons. That only a phone can ONLY apply a command like to turn ON of OFF a LED via XML, when a button is pushed physically. Is this correct and are there maybe some work arounds?

We have also tried with a sort of dummy button, which we let the phone virtually press (<ExecuteItem URI="Key:LINE15"/>) whithin the XML script that the phone gets when SIP-Resgistered, but we can never get the phone to light up a simple LED.

Can anyone help us?

(02-28-2023 05:37 AM)mhoekstratelpa Wrote:  Hi,

We want the phone to execute a XML URI when the phone SIP registers and in this XML we want the phone to turn on a LED.
We have already succesfully made a XML browser key, and when pushed the phone DOES successfully turn ON of OFF a LED.

When we put a link to our XML scrpt in the "execute xml URI" when SIP is registered, and we can see in the HTTP logs of our server the phone successfully does a GET from our server when the SIP registration is successful.

Now the phone NEVER turns ON of OFF a LED even though this is in the XML.

I think I have somewhere this is for security reasons. That only a phone can ONLY apply a command like to turn ON of OFF a LED via XML, when a button is pushed physically. Is this correct and are there maybe some work arounds?

We have also tried with a sort of dummy button, which we let the phone virtually press (<ExecuteItem URI="Key:LINE15"/>) whithin the XML script that the phone gets when SIP-Resgistered, but we can never get the phone to light up a simple LED.

Can anyone help us?

Below the XML script that we put in the XML URI Registered:

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<YealinkIPPhoneExecute Beep="yes">
<ExecuteItem URI="Key:LINE15"/>
<ExecuteItem URI="Led:LINE1_RED=on"/>
<ExecuteItem URI="Led:LINE2_RED=off"/>
<ExecuteItem URI="Led:LINE3_RED=off"/>
</YealinkIPPhoneExecute>
(This post was last modified: 02-28-2023 05:38 AM by mhoekstratelpa.)
02-28-2023 05:37 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
Turn ON and OFF LED with XML - mhoekstratelpa - 02-28-2023 05:37 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Bug Yealink T46G wont turn on after firmware update mike702 1 5,744 02-02-2021 08:21 PM
Last Post: complex1
  How do you turn off custom linekey configuration ipcsolutions 2 7,312 01-28-2019 08:21 PM
Last Post: ipcsolutions
  Turn off all Missed Call indication but still receive Missed Calls in the Log ipcsolutions 2 7,610 01-12-2019 09:56 PM
Last Post: ipcsolutions
  Turn Off Headset earplug 5 15,081 08-23-2017 09:35 PM
Last Post: mikes
Lightbulb Enhancement to T46G - Add page turn button imfloridaguy 3 8,693 05-01-2015 08:44 AM
Last Post: telepathinc
  46g - turn off missed call message? asinshesq 3 10,605 04-07-2015 06:28 AM
Last Post: Ajohnson
Wink Turn ON DND Function from a XML Menu Script dvwrath 9 15,836 03-27-2015 02:04 PM
Last Post: Flora_Yealink
  Turn on backlight with keypress without action willemj 5 11,419 03-01-2015 06:39 PM
Last Post: telepathinc
  T46G how to turn off PC port Gary Clarke 1 9,143 12-20-2013 09:00 AM
Last Post: Yealink Support

Forum Jump:


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

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