Is there a way on Digium D45 or D70s to disable to DND option either on a set by set basis or globally. I have issues with queue members in small queues turning it on either on purpose or accidentally and keeping people waiting on hold for hours because there are no agents available to take a call. If there were a way to kill that “feature” altogether I’d love to know how. My google foo has failed me on this one.
Howdy,
Your Google Fu has been good. There’s not. You can create a custom status list that doesn’t include DND, which means it won’t be seen in the list of available statuses to choose from, but the Status app on the phone softkey that’s always mapped to DND.
Cheers
Because the DND setting is done at the server side, you can always override it and send calls to the phone anyway. Just make sure you’re setting send486=no for the DND status that you send to the phone.
Excellent. I’ll look into both of those options. Thanks.
Note that by default, DPMA will set send486 true for the DND status; so you’ll have to explicitly apply a DND status to the phone that has send486 set false in order for the phone to not reject calls w/ 486. Adding any custom status to a phone will override all statuses that DPMA would normally send to the phone.
So if I have a template for phones in my res_digium_phone.conf I can add it in there and it should work for all the phones?
Indeed. You’d create a status application for each status that you wanted to apply to a phone, then add that to your template. I have a whole series of them I usually add, e.g.:
application=status-available
application=status-dnd
application=status-away
application=status-xa
application=status-chat
where those are setup like:
[status-available]
type=application
application=status
status=available
substatus=Home Office
send486=no
[status-dnd]
type=application
application=status
status=dnd
substatus=Office Closed
send486=no
[status-away]
type=application
application=status
status=away
substatus=With Customer
substatus=Lunch
send486=no
[status-xa]
type=application
application=status
status=xa
substatus=Vacation
send486=no
[status-chat]
type=application
application=status
status=chat
send486=no
Ahh, Brilliant! That will solve a lot of “user” problems!
That also kinda makes me wonder if status could be used to update M$ outlook presence information…
The status (presence) on the phone is tied to a CustomPresence: that lives in Asterisk. So, if you can somehow tie MS Outlook into the Asterisk device state, the phone will follow suit, and vice versa.
Nice. That’s a project for another day but maybe I can make it work!