Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid
exten => _9NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9NXXNXXXXXX,n,Dial(${DIAL1}/${EXTEN:1},,tTor)
exten => _9NXXNXXXXXX,n,Dial(${DIAL2}/${EXTEN:1},,tTor)
exten => _9NXXNXXXXXX,n,Dial(${DIAL3}/${EXTEN:1},,tTor)
exten => _9NXXNXXXXXX,n,Hangup
DIAL2 = SIP/trunk2
DIAL3 = SIP/trunk3
; ViciDial Outbound FailOver Dialing
;exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => _91NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(sgw)}<80]?10)
;exten => _91NXXNXXXXXX,n,NoOp("Max Trunks Exceeded")
;exten => _91NXXNXXXXXX,n,Congestion
;exten => _91NXXNXXXXXX,10,Set(GROUP()=sgw)
;exten => _91NXXNXXXXXX,n,NoOp("TIU: ${GROUP_COUNT(sgw)}") ; For debug/testing
;exten => _91NXXNXXXXXX,n,Dial(${VICITRUNK1}/${EXTEN:1},,To)
;exten => _91NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?20)
;exten => _91NXXNXXXXXX,n,Hangup
;exten => _91NXXNXXXXXX,20,Dial(${VICITRUNK2}/${EXTEN:1},,To)
;exten => _91NXXNXXXXXX,n,Hangup
ibbs*CLI> console dial 818609464041@default
[Jul 22 18:19:55] == Console is full duplex
[Jul 22 18:19:55] -- Executing [818609464041@default:1] AGI("Console/dsp", "agi://127.0.0.1:4577/call_log") in new stack
[Jul 22 18:19:55] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Jul 22 18:19:55] -- Executing [818609464041@default:2] Dial("Console/dsp", "SIP/ibrain01/018609464041||tTor") in new stack
[Jul 22 18:19:55] WARNING[17497]: app_dial.c:1296 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
[Jul 22 18:19:55] == Everyone is busy/congested at this time (1:0/0/1)
[Jul 22 18:19:55] -- Executing [818609464041@default:3] Dial("Console/dsp", "SIP/ibrain02/018609464041||tTor") in new stack
[Jul 22 18:19:55] WARNING[17497]: app_dial.c:1296 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
[Jul 22 18:19:55] == Everyone is busy/congested at this time (1:0/0/1)
[Jul 22 18:19:55] -- Executing [818609464041@default:4] Hangup("Console/dsp", "") in new stack
[Jul 22 18:19:55] == Spawn extension (default, 818609464041, 4) exited non-zero on 'Console/dsp'
[Jul 22 18:19:55] -- Executing [h@default:1] DeadAGI("Console/dsp", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----20-----CHANUNAVAIL----------") in new stack
[Jul 22 18:19:55] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Jul 22 18:19:55] << Hangup on console >>
striker wrote:hi
use this dialplan it works great
this basedon n+101 concept as described in astersik
when there is a busy or trunk failure it will be go to n+101 dialplan
exten => _8X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _8X.,2,Dial(${TRUNK1}/0${EXTEN:1},,tTor)
exten => _8X.,3,Dial(${TRUNK2}/0${EXTEN:1},,tTor)
exten => _8X.,4,Hangup
exten => _8X.,103,Dial(${TRUNK2}/0${EXTEN:1},,tTor)
exten => _8X.,104,Hangup
exten => _8X.,204,Hangup
williamconley wrote:Alternate from Vicibox 2.0 extensions.conf:
- Code: Select all
; ViciDial Outbound FailOver Dialing
;exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => _91NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(sgw)}<80]?10)
;exten => _91NXXNXXXXXX,n,NoOp("Max Trunks Exceeded")
;exten => _91NXXNXXXXXX,n,Congestion
;exten => _91NXXNXXXXXX,10,Set(GROUP()=sgw)
;exten => _91NXXNXXXXXX,n,NoOp("TIU: ${GROUP_COUNT(sgw)}") ; For debug/testing
;exten => _91NXXNXXXXXX,n,Dial(${VICITRUNK1}/${EXTEN:1},,To)
;exten => _91NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?20)
;exten => _91NXXNXXXXXX,n,Hangup
;exten => _91NXXNXXXXXX,20,Dial(${VICITRUNK2}/${EXTEN:1},,To)
;exten => _91NXXNXXXXXX,n,Hangup
; ViciDial Outbound FailOver Dialing
exten => _91NXXNXXXXXX,1,NoOp("CG1: ${GROUP_COUNT(cg1)}") ; For debug/testing
exten => _91NXXNXXXXXX,n,NoOp("CG2: ${GROUP_COUNT(cg2)}") ; For debug/testing
exten => _91NXXNXXXXXX,n,NoOp("CG3: ${GROUP_COUNT(cg3)}") ; For debug/testing
exten => _91NXXNXXXXXX,n,NoOp("CG4: ${GROUP_COUNT(cg4)}") ; For debug/testing
exten => _91NXXNXXXXXX,n,NoOp("CG5: ${GROUP_COUNT(cg5)}") ; For debug/testing
exten => _91NXXNXXXXXX,n,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(cg1)}<3]?110)
exten => _91NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(cg2)}<3]?120)
exten => _91NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(cg2)}<3]?130)
exten => _91NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(cg2)}<3]?140)
exten => _91NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(cg2)}<3]?150)
exten => _91NXXNXXXXXX,n,NoOp("Max Trunks Exceeded")
exten => _91NXXNXXXXXX,n,Congestion
exten => _91NXXNXXXXXX,110,Set(GROUP()=cg1)
exten => _91NXXNXXXXXX,n,NoOp("CG1: ${GROUP_COUNT(CG1)}") ; For debug/testing
exten => _91NXXNXXXXXX,n,Dial(${VICITRUNK1}/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?120)
exten => _91NXXNXXXXXX,n,Hangup
exten => _91NXXNXXXXXX,120,Set(GROUP()=cg2)
exten => _91NXXNXXXXXX,n,NoOp("CG1: ${GROUP_COUNT(CG2)}") ; For debug/testing
exten => _91NXXNXXXXXX,n,Dial(${VICITRUNK2}/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?130)
exten => _91NXXNXXXXXX,n,Hangup
exten => _91NXXNXXXXXX,130,Set(GROUP()=cg3)
exten => _91NXXNXXXXXX,n,NoOp("CG1: ${GROUP_COUNT(CG3)}") ; For debug/testing
exten => _91NXXNXXXXXX,n,Dial(${VICITRUNK3}/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?140)
exten => _91NXXNXXXXXX,n,Hangup
exten => _91NXXNXXXXXX,140,Set(GROUP()=cg4)
exten => _91NXXNXXXXXX,n,NoOp("CG1: ${GROUP_COUNT(CG4)}") ; For debug/testing
exten => _91NXXNXXXXXX,n,Dial(${VICITRUNK4}/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?150)
exten => _91NXXNXXXXXX,n,Hangup
exten => _91NXXNXXXXXX,150,Set(GROUP()=cg5)
exten => _91NXXNXXXXXX,n,NoOp("CG1: ${GROUP_COUNT(CG5)}") ; For debug/testing
exten => _91NXXNXXXXXX,n,Dial(${VICITRUNK5}/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?900)
exten => _91NXXNXXXXXX,n,Hangup
exten => _91NXXNXXXXXX,900,NoOp("Max Trunks Exceeded")
exten => _91NXXNXXXXXX,n,Congestion
exten => _1NXXNXXXXXX,1,NoOp("CG1: ${GROUP_COUNT(cg1)}"|${TOPDOWNTRUNK1SEATS})
exten => _1NXXNXXXXXX,n,NoOp("CG2: ${GROUP_COUNT(cg2)}"|${TOPDOWNTRUNK2SEATS})
exten => _1NXXNXXXXXX,n,NoOp("CG3: ${GROUP_COUNT(cg3)}"|${TOPDOWNTRUNK3SEATS})
exten => _1NXXNXXXXXX,n,NoOp("CG4: ${GROUP_COUNT(cg4)}"|${TOPDOWNTRUNK4SEATS})
exten => _1NXXNXXXXXX,n,NoOp("CG5: ${GROUP_COUNT(cg5)}"|${TOPDOWNTRUNK5SEATS})
exten => _1NXXNXXXXXX,n,NoOp("CG6: ${GROUP_COUNT(cg6)}"|${TOPDOWNTRUNK6SEATS})
exten => _1NXXNXXXXXX,n,NoOp("CG7: ${GROUP_COUNT(cg7)}"|${TOPDOWNTRUNK7SEATS})
exten => _1NXXNXXXXXX,n,NoOp("CG8: ${GROUP_COUNT(cg8)}"|${TOPDOWNTRUNK8SEATS})
exten => _1NXXNXXXXXX,n,NoOp("CG9: ${GROUP_COUNT(cg9)}"|${TOPDOWNTRUNK9SEATS})
exten => _1NXXNXXXXXX,n,NoOp("CG10: ${GROUP_COUNT(cg10)}"|${TOPDOWNTRUNK10SEATS})
exten => _1NXXNXXXXXX,n,NoOp("CG11: ${GROUP_COUNT(cg11)}"|${TOPDOWNTRUNK11SEATS})
;exten => _1NXXNXXXXXX,n,AGI(agi://127.0.0.1:4577/call_log) ; only if using Vicidial
exten => _1NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(cg1)}<${TOPDOWNTRUNK1SEATS}]?110)
exten => _1NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(cg2)}<${TOPDOWNTRUNK2SEATS}]?120)
exten => _1NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(cg3)}<${TOPDOWNTRUNK3SEATS}]?130)
exten => _1NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(cg4)}<${TOPDOWNTRUNK4SEATS}]?140)
exten => _1NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(cg5)}<${TOPDOWNTRUNK5SEATS}]?150)
exten => _1NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(cg6)}<${TOPDOWNTRUNK6SEATS}]?160)
exten => _1NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(cg7)}<${TOPDOWNTRUNK7SEATS}]?170)
exten => _1NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(cg8)}<${TOPDOWNTRUNK8SEATS}]?180)
exten => _1NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(cg9)}<${TOPDOWNTRUNK9SEATS}]?190)
exten => _1NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(cg10)}<${TOPDOWNTRUNK10SEATS}]?200)
exten => _1NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(cg11)}<${TOPDOWNTRUNK11SEATS}]?210)
exten => _1NXXNXXXXXX,n,NoOp("Max Trunks Exceeded")
exten => _1NXXNXXXXXX,n,Goto(900)
exten => _1NXXNXXXXXX,110,Set(GROUP()=cg1)
exten => _1NXXNXXXXXX,n,NoOp("CG1: ${GROUP_COUNT(CG1)}")
exten => _1NXXNXXXXXX,n,Dial(${TOPDOWNTRUNK1}/${EXTEN},25,To)
exten => _1NXXNXXXXXX,n,NoOp("DIALSTATUS: ${DIALSTATUS}")
exten => _1NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?120)
exten => _1NXXNXXXXXX,n,Hangup
exten => _1NXXNXXXXXX,120,Set(GROUP()=cg2)
exten => _1NXXNXXXXXX,n,NoOp("CG2: ${GROUP_COUNT(CG2)}")
exten => _1NXXNXXXXXX,n,Dial(${TOPDOWNTRUNK2}/${EXTEN},25,To)
exten => _1NXXNXXXXXX,n,NoOp("DIALSTATUS: ${DIALSTATUS}")
exten => _1NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?130)
exten => _1NXXNXXXXXX,n,Hangup
exten => _1NXXNXXXXXX,130,Set(GROUP()=cg3)
exten => _1NXXNXXXXXX,n,NoOp("CG3: ${GROUP_COUNT(CG3)}")
exten => _1NXXNXXXXXX,n,Dial(${TOPDOWNTRUNK3}/${EXTEN},25,To)
exten => _1NXXNXXXXXX,n,NoOp("DIALSTATUS: ${DIALSTATUS}")
exten => _1NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?140)
exten => _1NXXNXXXXXX,n,Hangup
exten => _1NXXNXXXXXX,140,Set(GROUP()=cg4)
exten => _1NXXNXXXXXX,n,NoOp("CG4: ${GROUP_COUNT(CG4)}")
exten => _1NXXNXXXXXX,n,Dial(${TOPDOWNTRUNK4}/${EXTEN},25,To)
exten => _1NXXNXXXXXX,n,NoOp("DIALSTATUS: ${DIALSTATUS}")
exten => _1NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?150)
exten => _1NXXNXXXXXX,n,Hangup
exten => _1NXXNXXXXXX,150,Set(GROUP()=cg5)
exten => _1NXXNXXXXXX,n,NoOp("CG5: ${GROUP_COUNT(CG5)}")
exten => _1NXXNXXXXXX,n,Dial(${TOPDOWNTRUNK5}/${EXTEN},25,To)
exten => _1NXXNXXXXXX,n,NoOp("DIALSTATUS: ${DIALSTATUS}")
exten => _1NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?160)
exten => _1NXXNXXXXXX,n,Hangup
exten => _1NXXNXXXXXX,160,Set(GROUP()=cg6)
exten => _1NXXNXXXXXX,n,NoOp("CG6: ${GROUP_COUNT(CG6)}")
exten => _1NXXNXXXXXX,n,Dial(${TOPDOWNTRUNK6}/${EXTEN},25,To)
exten => _1NXXNXXXXXX,n,NoOp("DIALSTATUS: ${DIALSTATUS}")
exten => _1NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?170)
exten => _1NXXNXXXXXX,n,Hangup
exten => _1NXXNXXXXXX,170,Set(GROUP()=cg7)
exten => _1NXXNXXXXXX,n,NoOp("CG7: ${GROUP_COUNT(CG7)}")
exten => _1NXXNXXXXXX,n,Dial(${TOPDOWNTRUNK7}/${EXTEN},25,To)
exten => _1NXXNXXXXXX,n,NoOp("DIALSTATUS: ${DIALSTATUS}")
exten => _1NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?180)
exten => _1NXXNXXXXXX,n,Hangup
exten => _1NXXNXXXXXX,180,Set(GROUP()=cg8)
exten => _1NXXNXXXXXX,n,NoOp("CG8: ${GROUP_COUNT(CG8)}")
exten => _1NXXNXXXXXX,n,Dial(${TOPDOWNTRUNK8}/${EXTEN},25,To)
exten => _1NXXNXXXXXX,n,NoOp("DIALSTATUS: ${DIALSTATUS}")
exten => _1NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?190)
exten => _1NXXNXXXXXX,n,Hangup
exten => _1NXXNXXXXXX,190,Set(GROUP()=cg9)
exten => _1NXXNXXXXXX,n,NoOp("CG9: ${GROUP_COUNT(CG9)}")
exten => _1NXXNXXXXXX,n,Dial(${TOPDOWNTRUNK9}/${EXTEN},25,To)
exten => _1NXXNXXXXXX,n,NoOp("DIALSTATUS: ${DIALSTATUS}")
exten => _1NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?200)
exten => _1NXXNXXXXXX,n,Hangup
exten => _1NXXNXXXXXX,200,Set(GROUP()=cg10)
exten => _1NXXNXXXXXX,n,NoOp("CG10: ${GROUP_COUNT(CG10)}")
exten => _1NXXNXXXXXX,n,Dial(${TOPDOWNTRUNK10}/${EXTEN},25,To)
exten => _1NXXNXXXXXX,n,NoOp("DIALSTATUS: ${DIALSTATUS}")
exten => _1NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?210)
exten => _1NXXNXXXXXX,n,Hangup
exten => _1NXXNXXXXXX,210,Set(GROUP()=cg11)
exten => _1NXXNXXXXXX,n,NoOp("CG11: ${GROUP_COUNT(CG11)}")
exten => _1NXXNXXXXXX,n,Dial(${TOPDOWNTRUNK11}/${EXTEN},25,To)
exten => _1NXXNXXXXXX,n,NoOp("DIALSTATUS: ${DIALSTATUS}")
exten => _1NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?900)
exten => _1NXXNXXXXXX,n,Hangup
exten => _1NXXNXXXXXX,900,NoOp("Max Trunks Exceeded")
exten => _1NXXNXXXXXX,n,Answer
exten => _1NXXNXXXXXX,n,Playback(everyoneisbusypleasecallbacklater)
exten => _1NXXNXXXXXX,n,Hangup
TOPDOWNTRUNK1=SIP/trunk1
;TOPDOWNTRUNK1SEATS=0
TOPDOWNTRUNK1SEATS=109
TOPDOWNTRUNK2=SIP/trunk2
TOPDOWNTRUNK2SEATS=0
;TOPDOWNTRUNK2SEATS=240
TOPDOWNTRUNK3=SIP/trunk3
;TOPDOWNTRUNK3SEATS=0
TOPDOWNTRUNK3SEATS=70
TOPDOWNTRUNK4=SIP/trunk4
;TOPDOWNTRUNK4SEATS=0
TOPDOWNTRUNK4SEATS=75
TOPDOWNTRUNK5=SIP/trunk5
;TOPDOWNTRUNK5SEATS=0
TOPDOWNTRUNK5SEATS=80
TOPDOWNTRUNK6=SIP/trunk6
TOPDOWNTRUNK6SEATS=0
;TOPDOWNTRUNK6SEATS=120
TOPDOWNTRUNK7=SIP/trunk7
TOPDOWNTRUNK7SEATS=0
;TOPDOWNTRUNK7SEATS=65
TOPDOWNTRUNK8=SIP/trunk8
TOPDOWNTRUNK8SEATS=0
;TOPDOWNTRUNK8SEATS=50
TOPDOWNTRUNK9=SIP/trunk9
;TOPDOWNTRUNK9SEATS=0
TOPDOWNTRUNK9SEATS=40
TOPDOWNTRUNK10=SIP/trunk10
;TOPDOWNTRUNK10SEATS=0
TOPDOWNTRUNK10SEATS=40
TOPDOWNTRUNK11=SIP/trunk11
TOPDOWNTRUNK11SEATS=0
;TOPDOWNTRUNK11SEATS=3
exten => _90XXXXXXXX.,1,NoOp("CG1: ${GROUP_COUNT(cg1)}") ; For debug/testing
exten => _90XXXXXXXX.,n,NoOp("CG2: ${GROUP_COUNT(cg2)}") ; For debug/testing
exten => _90XXXXXXXX.,n,NoOp("CG3: ${GROUP_COUNT(cg3)}") ; For debug/testing
exten => _90XXXXXXXX.,n,NoOp("CG4: ${GROUP_COUNT(cg4)}") ; For debug/testing
exten => _90XXXXXXXX.,n,NoOp("CG5: ${GROUP_COUNT(cg5)}") ; For debug/testing
exten => _90XXXXXXXX.,n,AGI(agi://127.0.0.1:4577/call_log)
exten => _90XXXXXXXX.,n,GotoIf($[${GROUP_COUNT(cg1)}<3]?110)
exten => _90XXXXXXXX.,n,GotoIf($[${GROUP_COUNT(cg2)}<3]?120)
exten => _90XXXXXXXX.,n,GotoIf($[${GROUP_COUNT(cg2)}<3]?130)
exten => _90XXXXXXXX.,n,GotoIf($[${GROUP_COUNT(cg2)}<3]?140)
exten => _90XXXXXXXX.,n,GotoIf($[${GROUP_COUNT(cg2)}<3]?150)
exten => _90XXXXXXXX.,n,NoOp("Max Trunks Exceeded")
exten => _90XXXXXXXX.,n,Congestion
exten => _90XXXXXXXX.,110,Set(GROUP()=cg1)
exten => _90XXXXXXXX.,n,NoOp("CG1: ${GROUP_COUNT(CG1)}") ; For debug/testing
exten => _90XXXXXXXX.,n,Dial(${gsm }/0033${EXTEN:2},,tToR)
exten => _90XXXXXXXX.,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?120)
exten => _90XXXXXXXX.,n,Hangup
exten => _90XXXXXXXX.,120,Set(GROUP()=cg2)
exten => _90XXXXXXXX.,n,NoOp("CG1: ${GROUP_COUNT(CG2)}") ; For debug/testing
exten => _90XXXXXXXX.,n,Dial(${compte01 }/0033${EXTEN:2},,tToR)
exten => _90XXXXXXXX.,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?130)
exten => _90XXXXXXXX.,n,Hangup
exten => _90XXXXXXXX.,130,Set(GROUP()=cg3)
exten => _90XXXXXXXX.,n,NoOp("CG1: ${GROUP_COUNT(CG3)}") ; For debug/testing
exten => _90XXXXXXXX.,n,Dial(${ppservice }/0033${EXTEN:2},,tToR)
exten => _90XXXXXXXX.,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?140)
exten => _90XXXXXXXX.,n,Hangup
exten => _90XXXXXXXX.,140,Set(GROUP()=cg4)
exten => _90XXXXXXXX.,n,NoOp("CG1: ${GROUP_COUNT(CG4)}") ; For debug/testing
exten => _90XXXXXXXX.,n,Dial(${amal }/0033${EXTEN:2},,tToR)
exten => _90XXXXXXXX.,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?150)
exten => _90XXXXXXXX.,n,Hangup
exten => _90XXXXXXXX.,150,Set(GROUP()=cg5)
exten => _90XXXXXXXX.,n,NoOp("CG1: ${GROUP_COUNT(CG5)}") ; For debug/testing
exten => _90XXXXXXXX.,n,Dial(${phoneprospect }/0033${EXTEN:2},,tToR)
exten => _90XXXXXXXX.,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?900)
exten => _90XXXXXXXX.,n,Hangup
exten => _90XXXXXXXX.,900,NoOp("Max Trunks Exceeded")
exten => _90XXXXXXXX.,n,Congestion
[Oct 18 23:47:31] -- Executing [90321201474@default:7] GotoIf("Local/8600051@default-12d9,1", "1?110") in new stack
[Oct 18 23:47:31] -- Goto (default,90321201474,110)
[Oct 18 23:47:31] -- Executing [90321201474@default:110] Set("Local/8600051@default-12d9,1", "GROUP()=cg1") in new stack
[Oct 18 23:47:31] -- Executing [90321201474@default:111] NoOp("Local/8600051@default-12d9,1", ""CG1: 1"") in new stack
[Oct 18 23:47:31] -- Executing [90321201474@default:112] Dial("Local/8600051@default-12d9,1", "/0033321201474||tToR") in new stack
[Oct 18 23:47:31] WARNING[7916]: channel.c:3765 ast_request: No channel type registered for ''
[Oct 18 23:47:31] WARNING[7916]: app_dial.c:1310 dial_exec_full: Unable to create channel of type '' (cause 66 - Channel not implemented)
[Oct 18 23:47:31] == Everyone is busy/congested at this time (1:0/0/1)
[Oct 18 23:47:31] -- Executing [90321201474@default:113] GotoIf("Local/8600051@default-12d9,1", "1?120") in new stack
[Oct 18 23:47:31] -- Goto (default,90321201474,120)
[Oct 18 23:47:31] -- Executing [90321201474@default:120] Set("Local/8600051@default-12d9,1", "GROUP()=cg2") in new stack
[Oct 18 23:47:31] -- Executing [90321201474@default:121] NoOp("Local/8600051@default-12d9,1", ""CG1: 1"") in new stack
[Oct 18 23:47:31] -- Executing [90321201474@default:122] Dial("Local/8600051@default-12d9,1", "/0033321201474||tToR") in new stack
[Oct 18 23:47:31] WARNING[7916]: channel.c:3765 ast_request: No channel type registered for ''
[Oct 18 23:47:31] WARNING[7916]: app_dial.c:1310 dial_exec_full: Unable to create channel of type '' (cause 66 - Channel not implemented)
[Oct 18 23:47:31] == Everyone is busy/congested at this time (1:0/0/1)
[Oct 18 23:47:31] -- Executing [90321201474@default:123] GotoIf("Local/8600051@default-12d9,1", "1?130") in new stack
exten => _90XXXXXXXX.,n,Dial(${gsm }/0033${EXTEN:2},,tToR)
Return to ViciDialNow - GoAutoDial
Users browsing this forum: No registered users and 37 guests