TUTORIAL: Configure the DND service on a phone
To enable or disable DND (Do Not Disturb), phones use the native DND function built into them.
However PBXware offers additional settings (such as being able to forward on a line when DND is enabled, and others).
To control this DND service of an extension from a phone, you must configure the codes for the DND enhanced service*78 and *79 on the phone and the service must be enabled.
Yealink
Here is a configuration block for Yealink phones where you will need to inject these parameters into the phones:
features.dnd.on_code = *78
features.dnd.off_code = *79 

Fanvil
Here is a configuration block for Fanvil phones where you will need to inject these parameters into the phones:
--SIP Line List-- : SIP1 SvcCode Mode :1 SIP1 DNDOn SvcCode :*78 SIP1 DNDOff SvcCode :*79
Fanvil phones can be auto-provisioned with this setting by adding these lines of code in the “General user agent auto-provisioning template” of the extension or the UAD.
Enable DND: *78
DND Disabled: *79


