Thank you Gordon and Alexander. With your help, I got it working like
so:
[app-dnd-on]
exten => *78,1,Answer
exten => *78,n,NoOp(${CALLERID(num)} is going on DND ACTIVE)
exten => *78,n,Set(DB(DND/${CALLERID(num)})=On)
exten => *78,n,Playback(do-not-disturb&activated)
exten => *78,n,Hangup
[app-
On Thu, 26 Feb 2009, Haim Dimer wrote:
> Hello,
>
> Some of my users have phones lacking a DND button. I need to provide
> an extension they can dial that will put them in DND, i.e. tell the
> server not to send them any calls until they get off the DND.
>
> I've researched it for almost 3 days no
s-boun...@lists.digium.com [mailto:asterisk-users-
> boun...@lists.digium.com] On Behalf Of Haim Dimer
> Sent: Thursday, February 26, 2009 6:34 PM
> To: asterisk-users@lists.digium.com
> Subject: [asterisk-users] Question about Do Not Disturb
>
> Hello,
>
> Some of my users have phones l
Hello,
Some of my users have phones lacking a DND button. I need to provide
an extension they can dial that will put them in DND, i.e. tell the
server not to send them any calls until they get off the DND.
I've researched it for almost 3 days now and tried a range of
configurations. I'm hop