[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
XML TextScreen and PhoneExecute together?
Author Message
marvinh Offline
Junior Member
**

Posts: 4
Joined: Jun 2013
Reputation: 0
Post: #3
RE: XML TextScreen and PhoneExecute together?
(07-01-2013 02:56 PM)Yealink Support Wrote:  Hi Marvinh,
I am afraid you need to write these two modules in two different XML files:
TextScreen.xml and Execute.xml files.
Thanks.

Such as the code bellow is not working, it only displays the message, but the led isn't lightning up. In this code I echo both XML message...

XML code:
Code:
<?php
echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n".
     "<YealinkIPPhoneTextScreen Timeout=\"5\">\n".
        "<Title>OK</Title>\n".
        "<Text>Restricties geactiveerd.\n\nDruk 'X' op uw toestel om bericht sluiten.</Text>\n".
        "<SoftKey index=\"1\">\n".    
        "</SoftKey>\n".            
     "</YealinkIPPhoneTextScreen>\n";

echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n".
     "<YealinkIPPhoneExecute>\n".
     "<ExecuteItem URI=\"Led:MEMO2_RED=on\"/>\n".
     "</YealinkIPPhoneExecute>\n";
?>
07-04-2013 03:16 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
RE: XML TextScreen and PhoneExecute together? - marvinh - 07-04-2013 03:16 PM

Forum Jump:


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

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