[general] static=yes writeprotect=no ; ========================================================== ; Incoming calls from SIP Trunk ; ========================================================== [from-trunk] ; Incoming call without DID exten => s,1,NoOp(Incoming call from trunk - CallerID: ${CALLERID(num)}) same => n,Answer() same => n,Wait(1) same => n,AGI(voicebot.py) same => n,Hangup() ; Incoming call with DID exten => _X.,1,NoOp(Incoming DID call: ${EXTEN} - CallerID: ${CALLERID(num)}) same => n,Answer() same => n,Wait(1) same => n,AGI(voicebot.py) same => n,Hangup() ; ========================================================== ; Internal test extension ; Used with Zoiper / Linphone for testing ; ========================================================== [from-internal] ; Match any dialed extension exten => _X.,1,NoOp(Test call from internal extension ${EXTEN}) same => n,Answer() same => n,Wait(1) same => n,AGI(voicebot.py) same => n,Hangup()