[asterisk-users] Do not disturbe

Doug Lytle support at drdos.info
Tue Jan 4 19:08:39 CST 2011


Flavio Miranda wrote:
> Hi all,
>
>   I am trying to set up DND in my asterisk, I am using the following 
> context:
>
> [app-naoperturbe]
>
> exten => *11,1,Set(DND=${DB(ddisturbe/${CALLERIDNUM})})
>

This is mine:

[dnd]

;***************************************
;* Do not disturb can be set via Asterisk
;* instead of the phones by dialing this
;* number.
;***************************************

exten => 79*,1,Set(DND=${DB(DND/${CALLERID(num)})})
exten => 79*,n,GotoIf($["${DND}" = "YES"]?3:100)

-- 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."




More information about the asterisk-users mailing list