Making DND softkey of SPA9xx work with Asterisk to create appropriate hint

Unanswered Question
Nov 23rd, 2011
User Badges:


i am wondering if there is a way to have the DND softkey enabled but instead of the phone handling DND send the desired feature code to the asterisk server to be able to see the DND status on a BLF of a SPA962 for example ? if i enable DND on the phone it does not communicate the DND status to the asterisk server and asterisk can not create the appropriate 'hint' to make the BLF show busy for that particular extension.

if it does not work with any of the SPA9xx is there a way with the SPA5xx series phones ?



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
cameron.beattie Wed, 11/23/2011 - 22:48
User Badges:

Hi there

If you do a search on the Cisco support community you'll notice that this has been repeatedly requested over a number of years. Unfortunately I've not seen any interest from Cisco to implement this feature.

Other manufacturers offer this kind of functionality e.g. Snom.

Any comments from Cisco appreciated.

EWielinga Thu, 11/24/2011 - 06:15
User Badges:

We also desire this feature very much for the SPA5xxx series...

(but I did't researched it yet, so I also don't know if there are any workarounds)

Have seen all the questions with regard to the way SPA9xx and SPA5xx deal with vertical feature codes.

For DND and CF it would not be very difficult to use the original DND (that has the toggle option built-in), but sending a star code to the pbx instead of activating dnd locally.

the current local dnd has a lot of dissadvantages as many mention: calls are set up to the phone before the pbx finds out the phone is not available, Operator Panels (FOP) that are not aware of the DND status etc etc.

The workaround with adding a softkey that activates a PSK to notify the PBX has the disadvantage that there is no way to toggle the softkey or give a different indication.

So Cisco: can you keep up with the Grandstreams, Aastras and so on?

EWielinga Wed, 12/14/2011 - 02:36
User Badges:

It stays very quiet from Cisco HQ...

But Erik, the Grandstreams and the Aastras, what are there disadvantages to the Cisco or SPA50X series?

I have to implement a working solution in Jan or Feb 2012...

Patrick Born Thu, 03/22/2012 - 11:38
User Badges:
  • Cisco Employee,

Hi All,

We at Cisco are listening. Thanks for the input.

As a workaround, try the following:

1. Clear out the vertical services activation codes on the phone so that it does not attempt to perform DND.

2. Enable programmable soft keys (psk) on the phone

3. Configure a speed dial psk to send DND on star code to your call control

4. Configure a speed dial psk to send DND off star code to your call control




Patrick Born Thu, 03/22/2012 - 11:44
User Badges:
  • Cisco Employee,

Another option is to use unused phone line keys as follows:

Assume you've a SPA504G with only extensions 1 and 2 registered.

1. Set to disabled, the line key extension under the phone tab. Voice tab > Phone tab > Line Key 3 > Extension: Disabled

2. Save the settings

3. Press and hold line key 3 once the phone has restarted

4. when prompted, supply the star code to enable dnd

5. repeat for key 4 for dnd disable

I understand that the phone will not know the dnd status from the call control. We're investigating this...




virtualmyles Sat, 07/20/2013 - 14:12
User Badges:


While this option appears to be a temporary fix, I am curious if there has been any progress made at all with the development of the DND key being able to send a soft command to alert asterisk that it is in DND mode.
Any information would be


M Blackwood

cameron.beattie Sat, 03/24/2012 - 17:36
User Badges:

Thanks for the reply.

I would appreciate it if you would indicate whether Cisco will add this functionality to the product roadmap i.e. allow the DND key to be programmed to send a message to the server when pressed.



Patrick Born Mon, 04/02/2012 - 14:29
User Badges:
  • Cisco Employee,


We've added this firmware feature request to our SPA500 and SPA300 phones' roadmap. The feature has a tentative availability date of October 2012.

The feature request is to support a PSK that toggles between two states, for example enable DND and disable DND, sending a different sequence for each parameter.

Thanks for the input.




xtechdata Wed, 04/04/2012 - 08:38
User Badges:

I have disabled DND on all my phones, becuase our users forget that it is turned on as it is not obvious that DND is on. Some employees purposly turn it on and act stupid becuase it was not obvious. Yes it displays "Do Not Disturb" on the screen, but when the backlight is off, you don't notice it unless you are looking for it


The phone should have an option to flash lights or turn them all red or a different color to scream "DND is on!!!"

Without loud and clear DND notification, DND is useless to me. I have the users unplug thier phones, but that creates another set of issues. For the users that need DND, i'm going to have to investigate to see if other brands of phones offer a loud & clear DND notification.

cameron.beattie Sat, 04/14/2012 - 12:45
User Badges:

Firstly let me say thanks to Cisco for recognising the customer feedback and agreeing to work on it.

I have two concerns:

1. The proposal is to use a PSK to perform this function. I am puzzled by this since there is already a DND key available. Why duplicate it? Surely it would be more sensible to use the existing DND to (optionally) send the feature code to the server to advise DND on or off. That way if a user did nothing there would be no change. However if the user allocated a feature code on and feature code off in the phone configuration then when the DND button was toggled it would also send the feature code to the server. Indeed I would argue this should also be made available for the CFWD options.

2. The proposal does not indicate that there is a way to update the phone remotely. For example if the DND is set server side through some other mechanism, there should be a way to update the phone so the user can see that DND is set. This could be done through an OPTIONS message using a similar method to a MWI. This should also apply to CFWD.

I would appreciate your thoughts.

1) It would make sense to update the existing DND key to be in sync with the iPBX, but the advantage of a generic 'toggable' PSK is that it can be used for other purposes like toggling day/night, or logging into queues

2) that would be a great addition indeed, although I wouldn't know how this could be done based on feature codes transported by SIP. maybe SIP option...

Diego Betancor Fri, 05/04/2012 - 10:25
User Badges:

Is there a way to send to the phone the order for ?


is posible you could set the DND one way or the other.


curl http:/// -d "9133=1"     dnd on

curl http:/// -d "9133=0"   dnd off

this is for 7.4.9

if not sure look into the html and look for this:

DND Setting:    yes\r

in 7.5.1 is diferent..

Hi Guys I think I answered this elsewhere:

Hi All

One way to achieve this works fine (I think):

1)     In Regional Tab note down the DND Act Code and DND Deact Code (ie *09 for act and *10 for deact)

2)     In Regional Tab Enter the Virtacal Service Announcement Code section

        * Service Annc Base Number as the prefix to dial (on your PBX)   

        * In Service Annc Extension Code add DDT:x;DDT:y where x and y are the suffixes appended to the prefix you dial to enable and disable DND on the server,  IE use something like 9998 for the prefix and 1 and 2 for the suffix, so 99981 enables DND and 99982 disables DND.

3)     Now for some reason Cisco don't send these codes when you press the generic dnd/-dnd Softkeys so you need to remove these and program your own to replace them.   Luckily as of firmwere 7.5.3 cisco support dual states on psk's so you can have a + and - version of the same key:

4)     Phone tab.

     Programable softkeys enable = yes

     PSK 1:     fnc=sd;ext=*09;nme=DND;ext2=*10; nme2=-DND

     (note the *09 and *10 are from the regional tab on the DND Act and DND Deact code)

     Under the Idle key list find the dnd|8 and replace it with psk1|8  to get rid of the generic internal dnd softkey.

save and reboot.

Now you still have DND on your idle soft keys, press it, your phone should both set DND, change the soft key to "-DND" and add "Do Not Disturb" across the screen panel.  Most importantly the phone will now auto dial 99981@$proxy and the switch now knows the DND state.  Press the  -DND softkey and the phone will disable DND locally and also dial the switch telling it dnd is now off.

I'm 99% this is what people have been asking for? Essentially local dnd support with server notification not having to dial the crazy *codes to make it all work?




This Discussion