Yealink Forums

Full Version: Button with led configuration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello guys,

I have a customer who would like to use a button on his yealink to configure his dial plan on our platform. Basically an "open" and an "closed" button. When one of the buttons is pressed they want the led next to the button to be active so they know which dialplan is active.

The button itself to configure the dialplan on our platform is not problem, see underneath:
linekey.1.type = 13
linekey.1.line = 1
linekey.1.value = 915
linekey.1.label = Open
linekey.1.extension = <6>1<3>2

The problem with this is that I can't configure the led within a marco, you need a BLF or a BLF list key for that. So I have to change the entire key to a BLF with the same values and a macro to keep the led alive.

I have tried to read the Using Enhanced DSS Keys document and use the cfgGeneratorTool but i'm having trouble with this, so far i've got:

features.enchanced_dss_keys.enable = 1
edk.edklist.4.enable = 1
edk.edklist.4.mname = aan
edk.edklist.4.action = 915$Cp2$2$Cp2$2$$LEDg&Lon$


But it's not working.
Basically what i want is
1 button named "on" when pressed dials 915 and send the following code "wait 2 sec, select option 2, wait 2 seconds, select option 1" keep the led active

1 button named "off" when pressed dials 915 and send the following code "wait 2 sec, select option 2, wait 2 seconds, select option 2" keep the led active

I hope you guys can help me out.
(03-13-2018 02:06 PM)Wesley666 Wrote: [ -> ]Hello guys,

I have a customer who would like to use a button on his yealink to configure his dial plan on our platform. Basically an "open" and an "closed" button. When one of the buttons is pressed they want the led next to the button to be active so they know which dialplan is active.

The button itself to configure the dialplan on our platform is not problem, see underneath:
linekey.1.type = 13
linekey.1.line = 1
linekey.1.value = 915
linekey.1.label = Open
linekey.1.extension = <6>1<3>2

The problem with this is that I can't configure the led within a marco, you need a BLF or a BLF list key for that. So I have to change the entire key to a BLF with the same values and a macro to keep the led alive.

I have tried to read the Using Enhanced DSS Keys document and use the cfgGeneratorTool but i'm having trouble with this, so far i've got:

features.enchanced_dss_keys.enable = 1
edk.edklist.4.enable = 1
edk.edklist.4.mname = aan
edk.edklist.4.action = 915$Cp2$2$Cp2$2$$LEDg&Lon$


But it's not working.
Basically what i want is
1 button named "on" when pressed dials 915 and send the following code "wait 2 sec, select option 2, wait 2 seconds, select option 1" keep the led active

1 button named "off" when pressed dials 915 and send the following code "wait 2 sec, select option 2, wait 2 seconds, select option 2" keep the led active

I hope you guys can help me out.

HI Wesley,

Yes, I can know your scenario.
For your problem, you should only note one thing, that is how to let the LED active. To let the LED active, you can use the XML broswer feature to control if the LED on the key is on or off. Below is an xml template:
<?xml version="1.0" encoding="ISO-8859-1"?>
<YealinkIPPhoneExecute
Beep="yes">

<ExecuteItem URI="Led:LINE1=on"/>
<ExecuteItem URI="Led:LINE2=off"/>
</YealinkIPPhoneExecute>


Please note, it need two keys to achieve this feature. Take on as example:

There is one key for XML to control the LED active. Such as configure the line key 5 as XML key.
Another key for the EDK key, configure the EDK action, just change the part for the LED as press the line key 5 to let the LED active will be OK.

For more information about how the XML broswer feature work, please refer to the guide:
http://download.support.yealink.com/down...V83_10.pdf

Hope it can solve your problem.

Best Regards,
Lucia
(03-19-2018 09:54 AM)Lucia_Yealink Wrote: [ -> ]
(03-13-2018 02:06 PM)Wesley666 Wrote: [ -> ]Hello guys,

I have a customer who would like to use a button on his yealink to configure his dial plan on our platform. Basically an "open" and an "closed" button. When one of the buttons is pressed they want the led next to the button to be active so they know which dialplan is active.

The button itself to configure the dialplan on our platform is not problem, see underneath:
linekey.1.type = 13
linekey.1.line = 1
linekey.1.value = 915
linekey.1.label = Open
linekey.1.extension = <6>1<3>2

The problem with this is that I can't configure the led within a marco, you need a BLF or a BLF list key for that. So I have to change the entire key to a BLF with the same values and a macro to keep the led alive.

I have tried to read the Using Enhanced DSS Keys document and use the cfgGeneratorTool but i'm having trouble with this, so far i've got:

features.enchanced_dss_keys.enable = 1
edk.edklist.4.enable = 1
edk.edklist.4.mname = aan
edk.edklist.4.action = 915$Cp2$2$Cp2$2$$LEDg&Lon$


But it's not working.
Basically what i want is
1 button named "on" when pressed dials 915 and send the following code "wait 2 sec, select option 2, wait 2 seconds, select option 1" keep the led active

1 button named "off" when pressed dials 915 and send the following code "wait 2 sec, select option 2, wait 2 seconds, select option 2" keep the led active

I hope you guys can help me out.

HI Wesley,

Yes, I can know your scenario.
For your problem, you should only note one thing, that is how to let the LED active. To let the LED active, you can use the XML broswer feature to control if the LED on the key is on or off. Below is an xml template:
<?xml version="1.0" encoding="ISO-8859-1"?>
<YealinkIPPhoneExecute
Beep="yes">

<ExecuteItem URI="Led:LINE1=on"/>
<ExecuteItem URI="Led:LINE2=off"/>
</YealinkIPPhoneExecute>


Please note, it need two keys to achieve this feature. Take on as example:

There is one key for XML to control the LED active. Such as configure the line key 5 as XML key.
Another key for the EDK key, configure the EDK action, just change the part for the LED as press the line key 5 to let the LED active will be OK.

For more information about how the XML broswer feature work, please refer to the guide:
http://download.support.yealink.com/down...V83_10.pdf

Hope it can solve your problem.

Best Regards,
Lucia


Hello,

I am having a similar situation on T43U
Customer wants line key when pressed sends signal *93*1*1 to the server and the light to glow green when on. Then when pressed again it would glow green.

The server is sending the signal back to their (WILDIX) phones but Yealink it not picking it up. We can send the syslog if needed.

I tried programming a custom key with EDK code
features.enhanced_dss_keys.enable = 1
features.blf_led_mode=1
edk.edklist.1.enable = 1
edk.edklist.1.mname = SWITCH1
edk.edklist.1.action = $LEDr&LFWD AMS$*93*4*1

linekey.5.label=FWD AMS
linekey.5.type=73
linekey.5.value=!SWITCH1

This will turn on the switch on the server but no lights.

Can we program a BLF key to follow EDK rules?
Reference URL's