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."


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to