[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 DND Function from a XML Menu Script
Author Message
dvwrath Offline
Junior Member
**

Posts: 5
Joined: Jan 2015
Reputation: 0
Post: #1
Wink Turn ON DND Function from a XML Menu Script
I am trying to write a XML script that would activate the DND function as well as run a couple other Functions.

Something Like this.

<?xml version="1.0" encoding="utf-8"?>
<YealinkIPPhoneExecute Beep="Yes">
< ExecuteItem URI="COMMAND:DNDon”/>
<ExecuteItem URI="Dial:*30" interrupetCall="no"/>
<ExecuteItem URI="Led:LINE3_RED=on"/>
</YealinkIPPhoneExecute>

I took the DNDon from the URI command you can send to the phone to activate it remotely.
I just want DND to turn on. I am not having it dial any Feature Codes to the System like *61 or *60.

Thank you
03-19-2015 12:00 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Flora_Yealink Offline
Senior Member
****

Posts: 265
Joined: Oct 2012
Reputation: 4
Post: #2
RE: Turn ON DND Function from a XML Menu Script
Hello ,
If you want to turn on DND , please use the <ExecuteItem URI="Key:HOTKEY3"/>, HOTKEY means Soft key, and for T46, the DND is softkey 3, so the syntax is <ExecuteItem URI="Key:HOTKEY3"/>

<?xml version="1.0" encoding="ISO-8859-1"?>
<YealinkIPPhoneExecute
Beep="yes">
<ExecuteItem URI="Key:HOTKEY3"/>
<ExecuteItem URI="Led:LINE3_RED=on"/>

</YealinkIPPhoneExecute>
please test and let us know if any question
Best Regards!
Flora

Flora
FAE (Field Application Engineer) Department
Yealink Network Technology Co., Ltd.
Website: http://www.yealink.com
03-19-2015 02:26 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
dvwrath Offline
Junior Member
**

Posts: 5
Joined: Jan 2015
Reputation: 0
Post: #3
RE: Turn ON DND Function from a XML Menu Script
With quick test that still does not work, However my end goal was to be able to remove the DND button and use that script to activate it.

Thanks
03-19-2015 02:38 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Flora_Yealink Offline
Senior Member
****

Posts: 265
Joined: Oct 2012
Reputation: 4
Post: #4
RE: Turn ON DND Function from a XML Menu Script
Which version you tested ? use the same syntax as mine ? I have tested it in my side with T46 28.73.0.50, it can work well, would you please check again?
Best Regards!
Flora

Flora
FAE (Field Application Engineer) Department
Yealink Network Technology Co., Ltd.
Website: http://www.yealink.com
03-19-2015 03:00 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
dvwrath Offline
Junior Member
**

Posts: 5
Joined: Jan 2015
Reputation: 0
Post: #5
RE: Turn ON DND Function from a XML Menu Script
I Tested this on a T42G and T46G. It appears to activate the Soft key on the Previous XML Menu, If I set it to HOTKEY1 it works because that is an EXIT key. but HOTKEY3 has nothing on it in that menu. I can see if this script was run directly from a BLF button I could see it working. however the end goal is to still to remove the DND button complete from the Home Screen. And be able to turn it on with a command. From what it sounds like this is not possible. At least from a XML File.

Thanks
03-19-2015 11:41 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Flora_Yealink Offline
Senior Member
****

Posts: 265
Joined: Oct 2012
Reputation: 4
Post: #6
RE: Turn ON DND Function from a XML Menu Script
Thanks , would you plese let us know why you want to remove the DND button from the home screen and use the xml file ?
then we can check internal to see if using Xml file can support the scenario you mentioned

Flora
FAE (Field Application Engineer) Department
Yealink Network Technology Co., Ltd.
Website: http://www.yealink.com
03-20-2015 04:30 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
dvwrath Offline
Junior Member
**

Posts: 5
Joined: Jan 2015
Reputation: 0
Post: #7
RE: Turn ON DND Function from a XML Menu Script
DND is limited in the fact it does not have its own BLF if left on the bottom 4 soft keys, and the Icon is pretty Small in the upper corner. If added to a BLF Key you cannot Change the BLF Color. And it can only transmit two different feature codes. I will be using it with 3cx, I want to add this as part of a menu structure which I currently do and it works fine except for the DND part.

Currently the menu activates and dials out the feature code, turns the BLF red, and adds a background message on the Screen. However I need it to also activate DND to block incoming Multicast pages. I can get around this by doing a change Config for the multicast address but that is a little messy.

A 2nd feature I would like to see is the ability to dial feature codes in the background. Similar to How DND activates. Where it does not go off hook to dial the code it just sends it to the phone the system in the background. And or anytime a * feature code is dialed you could set a option to not go off hook.

Thanks
03-20-2015 11:14 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Flora_Yealink Offline
Senior Member
****

Posts: 265
Joined: Oct 2012
Reputation: 4
Post: #8
RE: Turn ON DND Function from a XML Menu Script
1. For the DND feature, you can use the Configuration.xml which can enable the DND feature , the content is like below,
<?xml version="1.0" encoding="ISO-8859-1"?>

<YealinkIPPhoneConfiguration
Beep="yes" >

<Item>features.dnd.enable = 1</Item>

</YealinkIPPhoneConfiguration>

in this case, you can use the execute.xml file like below( add the Configuration.xml in the server for example http://10.2.5.119:8080/Configuration.xml)

<?xml version="1.0" encoding="ISO-8859-1"?>
<YealinkIPPhoneExecute
Beep="yes">

<ExecuteItem URI="Led:LINE2_RED=on"/>
<ExecuteItem URI="http://10.2.5.119:8080/Configuration.xml"/>

</YealinkIPPhoneExecute>

after execute the file, the DND button will turn on.
2. Do you mean when the phone detect there is * feaure code dail command like <ExecuteItem URI="Dial:*12345" /> the phone will not go off just send the feature code to the server ?
sorry we can't support this it at present, would you please let us know why you want to support like this?
Best Regards!
Flora
(This post was last modified: 03-24-2015 07:37 PM by Flora_Yealink.)
03-24-2015 07:34 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
dvwrath Offline
Junior Member
**

Posts: 5
Joined: Jan 2015
Reputation: 0
Post: #9
RE: Turn ON DND Function from a XML Menu Script
Thanks For Getting me that script. I had tried activating the DND using the Configuration script and could not get it to turn on I will try again and let you know.

As far as the a Silent Dial Feature Code goes. While it may not be necessary it would be a nice option. User just want to hit it and go they don’t always care about waiting for a response back from the PBX saying it has been activated. While it works fine right now I just thought it would be a nice feature.

Yes, The Configuration script did it. It takes a few seconds to turn on or off after running the script.

Thanks
(This post was last modified: 03-24-2015 09:47 PM by dvwrath.)
03-24-2015 09:00 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Flora_Yealink Offline
Senior Member
****

Posts: 265
Joined: Oct 2012
Reputation: 4
Post: #10
RE: Turn ON DND Function from a XML Menu Script
Thanks ,let us know if any question. For the Silent Dial Feature Code ,I will check with the product team, it is very useful to let us what customer opinion about it ,thanks.
03-27-2015 02:04 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  T48S Handset logo and menu style jseeley 0 834 09-05-2023 08:52 AM
Last Post: jseeley
  Turn ON and OFF LED with XML mhoekstratelpa 1 1,835 02-28-2023 09:04 PM
Last Post: complex1
Bug Yealink T46G wont turn on after firmware update mike702 1 5,791 02-02-2021 08:21 PM
Last Post: complex1
  Set up DSS Key as shortcut to View Voicemail Menu c.holloway 8 16,457 08-03-2020 12:33 PM
Last Post: c.holloway
Exclamation T46S - Call Forward missing from Features Menu on Phone mmoore 1 6,611 01-16-2020 07:41 PM
Last Post: complex1
  Changing the Hold function t46S Kala 1 6,482 06-24-2019 03:16 AM
Last Post: Simons_Yealink
  What is default password for entering into Advanced at Main menu? Philip Wang 1 25,550 05-17-2019 04:30 PM
Last Post: complex1
  How do you turn off custom linekey configuration ipcsolutions 2 7,369 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,680 01-12-2019 09:56 PM
Last Post: ipcsolutions
  Reading configuration from a program/script rmw 2 6,835 08-04-2018 03:07 PM
Last Post: rmw

Forum Jump:


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

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