Displaying 1 result from an estimated 1 matches for "local_lines".
2007 Aug 15
3
Dialplan / AGI autoanswer question
...)
exten => s,12,GotoIf($["${CALLERID(number):0:3}" = "888"]?voicemail,s,1)
exten => s,13,GotoIf($["${CALLERID(number):0:3}" = "800"]?voicemail,s,1:50)
; ring the phones and go to voicemail if nobody answers
;
exten => s,50,Dial(${LOCAL_LINES},20,tT)
exten => s,51,Goto(voicemail,s,1)
The intent of this sequence is to take the incoming callerid, replace it if
known with something in the database, and branch on the state from the DB
and time of the day.
One issue I'm having is that the AGI call seems to cause it to answer t...