Displaying 1 result from an estimated 1 matches for "cid_fix".
2007 Aug 15
3
Dialplan / AGI autoanswer question
...;s what I'm currently doing on an incoming
outside phone call
[default]
Set(TIMEOUT(digit)=3
Set(TIMEOUT(response)=60
exten => s,1,NoOp(Answering in default context)
exten => s,2,Wait(1)
; look up the callerid name and state in the database
exten => s,3,AGI(cid_fix.php)
; print callerid
exten => s,4,NoOp(${CALLERID(name)} ${CALLERID(number)} ${CALLSTATE} ${DATETIME})
; short circuit the sequence if this is a blacklisted or whitelisted entry
exten => s,5,GotoIf($["${CALLSTATE}" = "black"]?blacklisted,s,1)
exten =...