01-07-2014 07:30 AM - edited 03-21-2019 08:00 AM
Hi folks,
At the moment im researching a feature one of my customers would like to have. It's like this:
They're using an old Siemens PBX system at the moment. When they close the office the receptionist puts the PBX in night-mode so all incoming calls are diverted to voicemail. On the phone's display there a message like "night mode on".
I would like to make something similar with a SPA500 phone but until now i didn't find a way to create this. The best solution would be similar to the DND message on the screen when DND is active. I've tried using PSK's but didn't work out, it looks like it's not possible to display the status on-screen when the phone is Idle.
Anyone can point me into the right direction?
thanks!
regards
Erik
01-07-2014 11:09 AM
No easy way, IMHO. You can trigger configuration file reload - new configuration may change the text on display. You can try to use CiscoIPPhone* XML object to display message on display or you may send SIP message to phone (but both of them can be cancelled by user so they are no longer displayed). If you are not tied to text on display, you can display the day/night state using color of a line key (BLF method). You can change description of Line Key or PSK (nme/nme2 method) as well.
There is no natural way to implement the feature you are asked for on the SPA5xx in SIP mode (as far as I know).
01-07-2014 02:20 PM
Dear Dan,
I am not a sip and cisco specialist but maybe this :
From release note : 7.5.3
Programmable Softkey (PSK) Toggling You can now configure PSKs to toggle, or switch between two PSK actions. This is useful when you want a user to be able to switch between two star code actions that have been defined for a PSK. For example, a PSK could be configured to toggle between turning call forwarding on and off using the ?call forwarding on? star code (*72) and the ?call forwarding off? star code (*73). To configure this type of PSK, enter the following into the ?PSK name? field in the Voice > Phone tab in the management interface: fnc=sd;ext=starcode@$PROXY;nme=name;ext2=starcode@PROXY; nme2=name2 where fnc=sd is the function of the key (speed dial), starcode is the star code action to perform, name is the name of the first action, ext2 is the second star code action to perform, and name2 is the name of the second action to perform. See the Cisco SPA500 Series, SPA300 Series, and WIP310 IP Phone Administration Guide for more information.
And with this :
? SNRM Day Mode LED ? Represents that the IP phone is in day mode. The blank field represents that the default color is green.
? SNRM Night Mode LED ? Represents that the IP phone is in night mode. The blank field represents that the default color is red.
Maybe.. I will try when i find my other issue :)
Regards
Sent from Cisco Technical Support iPad App
01-07-2014 03:11 PM
Programmable Softkey (PSK) Toggling You can now configure PSKs to toggle, or switch between two PSK actions. This is useful when you want a user to be able to switch between two star code actions that have been defined for a PSK. For example, a PSK could be configured to toggle between turning call forwarding on and off using the ?call forwarding on? star code (*72) and the ?call forwarding off? star code (*73). To configure this type of PSK, enter the following into the ?PSK name? field in the Voice > Phone tab in the management interface: fnc=sd;ext=starcode@$PROXY;nme=name;ext2=starcode@PROXY; nme2=name2
Yes, I mentioned it as PSK nme/nme2 method. But there are severe problems with it. It's one-way method. The local PSK state will change even in the case the PBX didn't followed the mode change request (for any reason). ALso, if PBX mode become changed from other phone (or any other mechanism) the PSK state remain unchanged.
And with this :
? SNRM Day Mode LED ? Represents that the IP phone is in day mode. The blank field represents that the default color is green.
? SNRM Night Mode LED ? Represents that the IP phone is in night mode. The blank field represents that the default color is red.
It apply to phone with SPA500S console and in SPCP mode, not the SIP mode. But yes, I can implement Day/Night mode led on any Line Key (on attendant console as well as on standalone phone). I mentioned it as Line Key BLF method. But you need state notifier for it. No problem with, for example, Asterisk, but I suspect it may be big problem with a legacy phone switch like Siemens ...
We have hybrid system (about thousand lines on six SIP switches together with few hundreds lines on one "classic" Avaya switch) so I wish I know I'm speaking of ... ;-)
01-08-2014 02:20 AM
Hi Folks,
thanks for the answers. I think I will go for the BLF method. This way you can see immidiately based on the LED color if the system is in day/night mode.
I think i will create 2 PSK's. One for day mode, one for night mode. Then I let the IPPBX (Freeswitch) send a SIP NOTIFY to the phone so the LED's will change their color.
regards,
Erik
01-08-2014 03:03 AM
Green for day, red for night on one key, or two separate keys, one for day and another for night, it's up to you. In both cases, you can combine blf with sd so the key will not only show the state, but it can be used to switch the day/night mode as well.
01-08-2014 06:05 AM
Dear,
If someone try this solution, can we have a feedback ?
PBX : modele
And cisco configuration tips ?
Thanks
01-08-2014 09:42 AM
Well, the Cisco's side is pretty simple. Define Line Key as follows:
fnc=blf+sd;ext=*D1*@$PROXY;sub=*D1*@$PROXY
Assuming that ...
... you are done. You can Line Key to switch PBX mode and display the current status.
Of course, you need to configure your PBX to make [1] and [2] working. It is PBX part of solution. I can't help you with it.
*D1* is not magic number in any way. You can select any number according your local numbering plan. Don't forget that "Dial Plan" configuration must not block dialing of such number.
01-13-2014 02:10 AM
Dear Dan,
Thanks, got it
fnc=blf+sd;sub=*7@10.0.0.254;nme=*7;ext2=*8@10.0.0.254;nme2=*8
In Draytek by default =
Turn ON Night Service = *7
Turn OFF Night Service = *8
Just : i must change ...i must sub to *8 .. then light is red when Night Service if ON.
Regards
01-13-2014 07:12 AM
Nice.
Unfortunatelly, I never understood the interactions between ext and sub parameters. I have some problems when sub and ext are not the same, but I never analyzed them in full...
So hope the sub=*7 will work with ext2=*8 together as you expected.
Note that utilizing two codes (for on and off) instead of one switching code you turned two-way system into one-and-half way system. If you *7 request will be rejected by Draytek then PBX stay in day mode, BLF stay green (which is OK), but internal state of Line Key button will swith to ext2/nme2 state (which is not OK). So you will not be able to repeat the *7 request pushing it.
01-13-2014 01:22 PM
Dear Dan,
I have some "english language missing" but this work well.
I have two spa50x as test and this config work very well.
One phone subscribe as above to "day on/off" and i have try with other phone with call to "*7" or "*8"
First phone Led change from green to red.. As expected ;)
Regards
Sent from Cisco Technical Support iPad App
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide