FPBX 17
I created a call flow for Day-Night mode which was given feature code *280. I added system recordings “Day Mode Activated” and “Night Mode Activated”.
On a Yealink phone, I set a Dsskey
Type: BLF
Value: *280
Label: Day-Night
Line: Line 1
When I press the button on the phone, I hear “Day Mode Activated” and the LED lights green. Press button again and I hear “Night Mode Activated” and the LED lights red.
The LED changing to indicate Day-Night state is good, but some users are red/green color blind. I would like to go one step further. I would like the label on the phone to show the state.
Is there a way to change the label on the phone based upon CFC state?
I don’t use EPM to provision my phones. I use FTP server and yealink MAC.cfg file(s) to provision phones.
Looking at their docs it doesn’t seem like this is a thing. It is a cool feature request. You may wish to submit a ticket with them… I am going to poke our people too as I can see this being useful but not sure how hard it is lol
More,
I found that you can use php to POST to Yealink phone. Google for this document.
Yealink SIP IP Phones XML Browser Developer’s Guide V1.3
I have been successful with using the push2phone.php code to change the label. I’m not sure how to get call flow to run the php script, which may not be possible without hacking the FPBX code. Another thought is to program the phone button as type XML Browser and have the button run a php code that changes the labe and calls fuction code *280. Although I don’t know if a php script can send *280 or even where to send it. Then the problem would be to get the button LED to change color.
The easiest thing to do would be to put a sticky note on the phone with
GREEN = Day
RED = Night