Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid
TRUNKIAX=IAX2/ASTtest1:test@192.168.1.99:4569
exten => _192*168*001*002*8600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*001*099*8600XXX,1,Dial(${TRUNKIAX}/${EXTEN:16},55,o)
exten => _192*168*001*002*78600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*001*099*78600XXX,1,Dial(${TRUNKIAX}/${EXTEN:16},55,o)
exten => _192*168*001*002*8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _192*168*001*099*8600XXX*.,1,Dial(${TRUNKIAX}/${EXTEN:16},55,o)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _192*168*001*002*78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _192*168*001*099*78600XXX*.,1,Dial(${TRUNKIAX}/${EXTEN:16},55,o)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _1[0-5]X,1,Dial(sip/cc${EXTEN},20,to)
exten => _3[0-5]X,1,Dial(iax2/ASTtest1/${EXTEN},20,to)
TRUNKIAX=IAX2/ASTtest1:test@192.168.1.2:4569
exten => _192*168*001*002*8600XXX,1,Dial(${TRUNKIAX}/${EXTEN:16},55,o)
exten => _192*168*001*099*8600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*001*002*78600XXX,1,Dial(${TRUNKIAX}/${EXTEN:16},55,o)
exten => _192*168*001*099*78600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*001*002*8600XXX*.,1,Dial(${TRUNKIAX}/${EXTEN:16},55,o)
exten => _192*168*001*099*8600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _192*168*001*002*78600XXX*.,1,Dial(${TRUNKIAX}/${EXTEN:16},55,o)
exten => _192*168*001*099*78600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _1[0-5]X,1,Dial(iax2/ASTtest1/${EXTEN},20,to)
exten => _3[0-5]X,1,Dial(sip/cc${EXTEN},20,to)
register => ASTtest1:test@192.168.1.XXX
[ASTtest1]
type=friend
accountcode=IAXtrunk
context=default
auth=plaintext
host=dynamic
permit=0.0.0.0/0.0.0.0
secret=test
qualify=yes
willbordoni wrote:
exten => _192*168*001*002*8600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*001*099*8600XXX,1,Dial(${TRUNKIAX}/${EXTEN:16},55,o)
exten => _192*168*001*002*78600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*001*099*78600XXX,1,Dial(${TRUNKIAX}/${EXTEN:16},55,o)
exten => _192*168*001*002*8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _192*168*001*099*8600XXX*.,1,Dial(${TRUNKIAX}/${EXTEN:16},55,o)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _192*168*001*002*78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _192*168*001*099*78600XXX*.,1,Dial(${TRUNKIAX}/${EXTEN:16},55,o)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
On the 2nd asterisk server (192.168.1.99):
exten => _192*168*001*002*8600XXX,1,Dial(${TRUNKIAX}/${EXTEN:16},55,o)
exten => _192*168*001*099*8600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*001*002*78600XXX,1,Dial(${TRUNKIAX}/${EXTEN:16},55,o)
exten => _192*168*001*099*78600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*001*002*8600XXX*.,1,Dial(${TRUNKIAX}/${EXTEN:16},55,o)
exten => _192*168*001*099*8600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _192*168*001*002*78600XXX*.,1,Dial(${TRUNKIAX}/${EXTEN:16},55,o)
exten => _192*168*001*099*78600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _1[0-5]X,1,Dial(iax2/ASTtest1/${EXTEN},20,to)
exten => _3[0-5]X,1,Dial(sip/cc${EXTEN},20,to)[/code]
gardo wrote:You need to change the following entries since they're for load balancing between 2 Vici servers. It's not needed since you only have 1 Vici server and the other is Asterisk.
Should look like this: (VICI server)
TRUNKIAX=IAX2/ASTtest1:test@192.168.1.2:4569 ;trunk to Asterisk
; BE SURE TO CHANGE THIS LINE FOR YOUR VICI IP ADDRESS!
exten => _192*168*001*099*.,1,Goto(default,${EXTEN:16},1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _3[0-5]X,1,Dial(TRUNKIAX/${EXTEN},20,to)
Asterisk server (where the agents phones are):
TRUNKIAX=IAX2/ASTtest1:test@192.168.1.99:4569 ;trunk to Asterisk
exten => _1[0-5]X,1,Dial(sip/${EXTEN},20,to)
Return to ViciDialNow - GoAutoDial
Users browsing this forum: Google [Bot] and 20 guests