Failover Trunk Setup - William Conley Example
Posted: Thu Feb 21, 2013 1:35 pm
64 Bit Install
VERSION: 2.4-309a BUILD: 110430-1642 1.4.39.1-vici.go RPM by demian@goautodial.com currently running on go (pid = 29331)
I have this under account entry GoAutoDial GUI
[Xcast_OutBound]
type=friend
host=*
port=5060
dtmfmode=rfc2833
disallow=all
allow=ulaw
qualify=yes
canreinvite=no
context=trunkoutbound
[Xcast_Inbound]
type=friend
host=*
port=5060
dtmfmode=rfc2833
disallow=all
allow=ulaw
qualify=yes
canreinvite=no
context=trunkinbound
[Connecium]
type=friend
host=*
port=5060
dtmfmode=rfc2833
disallow=all
allow=ulaw
qualify=yes
canreinvite=no
context=trunkinbound
This is for my dialplan entry goautodial GUI.
exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,n,GotoIf($[${GROUP_COUNT(sgw)}<80]?10)
exten => _91XXXXXXXXXX,n,NoOp("Max Trunks Exceeded")
exten => _91XXXXXXXXXX,n,Congestion
exten => _91XXXXXXXXXX,10,Set(GROUP()=sgw)
exten => _91XXXXXXXXXX,n,NoOp("TIU: ${GROUP_COUNT(sgw)}")
exten => _91XXXXXXXXXX,n,Dial(SIP/${EXTEN:1}@Connecium,,To)
exten => _91XXXXXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?20)
exten => _91XXXXXXXXXX,n,Hangup
exten => _91XXXXXXXXXX,20,Dial(SIP/${EXTEN:1}@Xcast_OutBound,,To)
exten => _91XXXXXXXXXX,n,Hangup
I found your example on another post, trying to setup fail over if there is congestion, or a trunk fails.
This is what the stats in the real time report look like for this campaign.
DIAL LEVEL: 25.000 TRUNK SHORT/FILL: 0 / 0 FILTER: INCOME TIME: 2013-02-21 10:33:30
DIALABLE LEADS: 99297 CALLS TODAY: 9625 AVG AGENTS: 6.00 DIAL METHOD: RATIO
HOPPER ( min/auto ): 200 / 0 DROPPED / ANSWERED: 176 / 803 DL DIFF: -0.03 STATUSES: AA, DROP, AB, NEW, B
LEADS IN HOPPER: 590 DROPPED PERCENT: 21.92% DIFF: -0.42% ORDER: DOWN
AGENT AVG WAIT: 15 AVG CUSTTIME: 26 AVG ACW: 6 AVG PAUSE: 9
DROP IN-GROUP STATS - DROP PERCENT: 0% CALLS: DROPS/ANSWERS: /
CARRIER STATS: HANGUP STATUS 24 HOURS 6 HOURS 1 HOUR 15 MIN 5 MIN 1 MIN
ANSWER 20494 5027 3431 622 100 0
BUSY 387 105 69 12 0 0
CANCEL 20189 3428 2341 373 70 0
CHANUNAVAIL 2032 0 0 0 0 0
CONGESTION 4375 773 578 161 13 0
NOANSWER 1 1 1 1 0 0
I understand some of the stats might look a little funky due to testing. Still getting congestion, and when I watch the CLI, I don't seem to be seing any calls transferred over to the other trunk.
Help me Obi Won Kenobi, your my only hope.
VERSION: 2.4-309a BUILD: 110430-1642 1.4.39.1-vici.go RPM by demian@goautodial.com currently running on go (pid = 29331)
I have this under account entry GoAutoDial GUI
[Xcast_OutBound]
type=friend
host=*
port=5060
dtmfmode=rfc2833
disallow=all
allow=ulaw
qualify=yes
canreinvite=no
context=trunkoutbound
[Xcast_Inbound]
type=friend
host=*
port=5060
dtmfmode=rfc2833
disallow=all
allow=ulaw
qualify=yes
canreinvite=no
context=trunkinbound
[Connecium]
type=friend
host=*
port=5060
dtmfmode=rfc2833
disallow=all
allow=ulaw
qualify=yes
canreinvite=no
context=trunkinbound
This is for my dialplan entry goautodial GUI.
exten => _91XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,n,GotoIf($[${GROUP_COUNT(sgw)}<80]?10)
exten => _91XXXXXXXXXX,n,NoOp("Max Trunks Exceeded")
exten => _91XXXXXXXXXX,n,Congestion
exten => _91XXXXXXXXXX,10,Set(GROUP()=sgw)
exten => _91XXXXXXXXXX,n,NoOp("TIU: ${GROUP_COUNT(sgw)}")
exten => _91XXXXXXXXXX,n,Dial(SIP/${EXTEN:1}@Connecium,,To)
exten => _91XXXXXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?20)
exten => _91XXXXXXXXXX,n,Hangup
exten => _91XXXXXXXXXX,20,Dial(SIP/${EXTEN:1}@Xcast_OutBound,,To)
exten => _91XXXXXXXXXX,n,Hangup
I found your example on another post, trying to setup fail over if there is congestion, or a trunk fails.
This is what the stats in the real time report look like for this campaign.
DIAL LEVEL: 25.000 TRUNK SHORT/FILL: 0 / 0 FILTER: INCOME TIME: 2013-02-21 10:33:30
DIALABLE LEADS: 99297 CALLS TODAY: 9625 AVG AGENTS: 6.00 DIAL METHOD: RATIO
HOPPER ( min/auto ): 200 / 0 DROPPED / ANSWERED: 176 / 803 DL DIFF: -0.03 STATUSES: AA, DROP, AB, NEW, B
LEADS IN HOPPER: 590 DROPPED PERCENT: 21.92% DIFF: -0.42% ORDER: DOWN
AGENT AVG WAIT: 15 AVG CUSTTIME: 26 AVG ACW: 6 AVG PAUSE: 9
DROP IN-GROUP STATS - DROP PERCENT: 0% CALLS: DROPS/ANSWERS: /
CARRIER STATS: HANGUP STATUS 24 HOURS 6 HOURS 1 HOUR 15 MIN 5 MIN 1 MIN
ANSWER 20494 5027 3431 622 100 0
BUSY 387 105 69 12 0 0
CANCEL 20189 3428 2341 373 70 0
CHANUNAVAIL 2032 0 0 0 0 0
CONGESTION 4375 773 578 161 13 0
NOANSWER 1 1 1 1 0 0
I understand some of the stats might look a little funky due to testing. Still getting congestion, and when I watch the CLI, I don't seem to be seing any calls transferred over to the other trunk.
Help me Obi Won Kenobi, your my only hope.