[root@go ~]# cat /etc/asterisk/extensions-vicidial.conf
; WARNING- THIS FILE IS AUTO-GENERATED BY VICIDIAL, ANY EDITS YOU MAKE WILL BE LOST
TRUNKloop = IAX2/ASTloop:test@127.0.0.1:40569
TRUNKblind = IAX2/ASTblind:test@127.0.0.1:41569
; logging of all outbound calls from agent phones
[defaultlog]
exten => s,1,Answer
exten => s,n,AGI(agi-VDAD_inbound_calltime_check.agi,-----NO-----defaultlog-------------------------NO)
exten => s,n,Set(INVCOUNT=0)
exten => s,n,Background(sip-silence)
exten => s,n,WaitExten(20)
; hangup
exten => t,1,Playback(vm-goodbye)
exten => t,n,Hangup()
exten => i,1,Goto(s,4)
exten => i,n,Hangup()
; hangup
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
; custom dialplan entries
exten => _X.,1,AGI(agi-NVA_recording.agi,BOTH------Y---Y---Y)
exten => _X.,n,Goto(default,${EXTEN},1)
[vicidial-auto-external]
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
; Local Server: 62.210.113.214
exten => _062*210*113*214*.,1,Goto(default,${EXTEN:16},1)
exten => _062*210*113*214*.,2,Hangup()
exten => _**062*210*113*214*.,1,Goto(default,${EXTEN:18},1)
exten => _**062*210*113*214*.,2,Hangup()
; VICIDIAL Carrier: IDTEUROPE - IDTEUROPE
exten => _933.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _933.,2,Dial(SIP/${EXTEN:1}@IDTEUROPE,,tTo)
exten => _933.,3,Hangup
[vicidial-auto-internal]
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
; Voicemail Extensions:
exten => _85026666666666.,1,Wait(1)
exten => _85026666666666.,n,Voicemail(${EXTEN:14},u)
exten => _85026666666666.,n,Hangup()
exten => 8500,1,VoicemailMain
exten => 8500,2,Goto(s,6)
exten => 8500,3,Hangup()
exten => 8501,1,VoicemailMain(s${CALLERID(num)})
exten => 8501,2,Hangup()
; Prompt Extensions:
exten => 8167,1,Answer
exten => 8167,2,AGI(agi-record_prompts.agi,wav-----720000)
exten => 8167,3,Hangup()
exten => 8168,1,Answer
exten => 8168,2,AGI(agi-record_prompts.agi,gsm-----720000)
exten => 8168,3,Hangup()
; this is used for recording conference calls, the client app sends the filename
; value as a callerID recordings go to /var/spool/asterisk/monitor (WAV)
; Recording is limited to 1 hour, to make longer, just change the server
; setting ViciDial Recording Limit
; this is the WAV verison, default
exten => 8309,1,Answer
exten => 8309,2,Monitor(wav,${CALLERID(name)})
exten => 8309,3,Wait(3600)
exten => 8309,4,Hangup()
; this is the GSM verison
exten => 8310,1,Answer
exten => 8310,2,Monitor(gsm,${CALLERID(name)})
exten => 8310,3,Wait(3600)
exten => 8310,4,Hangup()
; agent alert extension
exten => 83047777777777,1,Answer
exten => 83047777777777,2,Playback(${CALLERID(name)})
exten => 83047777777777,3,Hangup()
; This is a loopback dial-around to allow for immediate answer of outbound calls
exten => _8305888888888888.,1,Answer
exten => _8305888888888888.,n,Wait(${EXTEN:16:1})
exten => _8305888888888888.,n,Dial(${TRUNKloop}/${EXTEN:17},,To)
exten => _8305888888888888.,n,Hangup()
; No-call silence extension
exten => _8305888888888888X999,1,Answer
exten => _8305888888888888X999,n,Wait(3600)
exten => _8305888888888888X999,n,Hangup()
[vicidial-auto-phones]
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
; Phones direct dial extensions:
exten => 2601,1,Dial(SIP/2601|60|)
exten => 2601,2,Goto(default,850266666666662601,1)
exten => 2602,1,Dial(SIP/2602|60|)
exten => 2602,2,Goto(default,850266666666662602,1)
exten => 2603,1,Dial(SIP/2603|60|)
exten => 2603,2,Goto(default,850266666666662603,1)
exten => 2604,1,Dial(SIP/2604|60|)
exten => 2604,2,Goto(default,850266666666662604,1)
exten => 2605,1,Dial(SIP/2605|60|)
exten => 2605,2,Goto(default,850266666666662605,1)
exten => 2606,1,Dial(SIP/2606|60|)
exten => 2606,2,Goto(default,850266666666662606,1)
exten => 2607,1,Dial(SIP/2607|60|)
exten => 2607,2,Goto(default,850266666666662607,1)
exten => 2608,1,Dial(SIP/2608|60|)
exten => 2608,2,Goto(default,850266666666662608,1)
exten => 2609,1,Dial(SIP/2609|60|)
exten => 2609,2,Goto(default,850266666666662609,1)
exten => 2610,1,Dial(SIP/2610|60|)
exten => 2610,2,Goto(default,850266666666662610,1)
exten => 2611,1,Dial(SIP/2611|60|)
exten => 2611,2,Goto(default,850266666666662611,1)
exten => 2612,1,Dial(SIP/2612|60|)
exten => 2612,2,Goto(default,850266666666662612,1)
exten => 2613,1,Dial(SIP/2613|60|)
exten => 2613,2,Goto(default,850266666666662613,1)
exten => 2614,1,Dial(SIP/2614|60|)
exten => 2614,2,Goto(default,850266666666662614,1)
exten => 2615,1,Dial(SIP/2615|60|)
exten => 2615,2,Goto(default,850266666666662615,1)
exten => 2616,1,Dial(SIP/2616|60|)
exten => 2616,2,Goto(default,850266666666662616,1)
exten => 2617,1,Dial(SIP/2617|60|)
exten => 2617,2,Goto(default,850266666666662617,1)
exten => 2618,1,Dial(SIP/2618|60|)
exten => 2618,2,Goto(default,850266666666662618,1)
exten => cccc,1,Dial(SIP/2619|60|)
exten => cccc,2,Goto(default,850266666666662619,1)
exten => 2620,1,Dial(SIP/2620|60|)
exten => 2620,2,Goto(default,850266666666662620,1)
exten => 2621,1,Dial(SIP/2621|60|)
exten => 2621,2,Goto(default,850266666666662621,1)
exten => 2622,1,Dial(SIP/2622|60|)
exten => 2622,2,Goto(default,850266666666662622,1)
exten => 2623,1,Dial(SIP/2623|60|)
exten => 2623,2,Goto(default,850266666666662623,1)
exten => 2624,1,Dial(SIP/2624|60|)
exten => 2624,2,Goto(default,850266666666662624,1)
exten => 2625,1,Dial(SIP/2625|60|)
exten => 2625,2,Goto(default,850266666666662625,1)
exten => 2626,1,Dial(SIP/2626|60|)
exten => 2626,2,Goto(default,850266666666662626,1)
[vicidial-auto]
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
include => vicidial-auto-internal
include => vicidial-auto-phones
include => vicidial-auto-external
; END OF FILE