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>