cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2824
Views
5
Helpful
0
Comments
ciscodotcom1
Level 1
Level 1

Purpose: Augment the DND function so that the Asterisk server is aware that DND is set on the handset.

FreePBX sets *78 and *79 to enable and disable DND for an extension, provided they are set as enabled in Admin -> Feature Codes.  

This configuration makes the phone dial those feature codes as well as using it's own built in DND function to display the Do Not Disturb banner.

This is a snippet from an XML configuration:

<!-- DND with Asterisk -->  
<Idle_Key_List group="Phone/Programmable_Softkeys">
  em_login|1;acd_login|1;acd_logout|1;astate|2;avail|3;unavail|3;redial|5;dir|6;cfwd|7;psk1|8;lcr|9;pickup|10;gpickup|11;unpark|12;em_logout
</Idle_Key_List>
<PSK_1 group="Phone/Programmable_Softkeys">fnc=sd;ext=*78;nme=dnd;ext2=*79;nme2=-DND</PSK_1>
<DND_Act_Code group="Regional/Vertical_Service_Activation_Codes">*78</DND_Act_Code>
<DND_Deact_Code group="Regional/Vertical_Service_Activation_Codes">*79</DND_Deact_Code>
<Service_Annc_Base_Number group="Regional/Vertical_Service_Announcement_Codes">*7</Service_Annc_Base_Number>
<Service_Annc_Extension_Codes group="Regional/Vertical_Service_Announcement_Codes">DDT:8;DDF:9</Service_Annc_Extension_Codes>
<DND_Serv group="Phone/Supplementary_Services">Yes</DND_Serv>
<Service_Annc_Serv group="Phone/Supplementary_Services">Yes</Service_Annc_Serv>
<!-- /DND with Asterisk -->

To configure directly from a phone's web interface (refer to the XMl config above):

Regional - set the feature codes, set the vertical service base code code to *7, then add DDT:8;DDF:9 to the extension codes list. 

Phone - Enable softkeys, define PSK1 and override the contents in Idle Key (note dnd is replaced with psk1 at position 8), enable Service Annc Service function and make sure that the DND service is also enabled (default).

Notes:  Firmware must be recent to support toggle psk - I think 7.4.x and up.  Ensure you can dial *78/79 first before doing this!

You can set the feature codes to simply beep rather than saying "Do not disturb activated" in FPBX -> Settings -> Advanced Settings -> Feature Codes Beep Only

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: