Google show multiple questions in this and other forums where people have asked how an admin can enable or disable an extension’s DND settings. All the answer that I found say that this can be done from the handset itself (by dialling a feature code) or the UCP; the admin GUI doesn’t have the option.
In FreePBX 17 + Asterisk 22, has such a feature been added? I can’t find it.
To clarify, I do not want to change the status of my own extension. Nor do I want to enable/disable a user from having this facility. I want to remotely change it for an extension.
Specifically, one of the people in a ring group has gone home without turning off his PC (he works remotely and uses Zoiper). Asterisk is showing his ext as active and external inbound calls are being routed to him. If only I could enable DND on that particular ext, another agent would get the call. I, or he himself could then disable it tomorrow morning.
If you can’t use UCP, you could quickly provision the extension in something like MicroSIP and toggle it off with the feature code yourself. Perhaps increase max contacts before you do that so you don’t break his registration.
After using database put DND 1001 ON, the database show dnd 1001 shows: /dnd/1001 : on
However, the admin GUI at /admin/config.php?display=extensions does not show a check mark on DND for that extension. When calling it from another ext, the call goes through.
To enable DND: “database put DND 1001 YES”
Has to be capital DND and capital YES.
Otherwise, DND is not activated.
You can remove the other entry “database del dnd 1001”
/DND/1001 : Yes
/dnd/1001 : YES
^ DND is not active