How to use multiple carriers or fail over
Added by Rameez Amjad about 6 years ago
Good Day,
I am using goautodial 3.3, 64 bit verison recently updated, i want to know how can i use failover carrier.
I want to use send calls through 2 or 3 carriers if it fails to carrier 1 it should send it to second one, is that possible and if yes then what would be the dialplan settings?
Here are current dialplan settings for our carrier, Thanks.
[XYZ]
disallow=all
allow=g729
allow=gsm
allow=ulaw
type=friend
host=ABC.COM
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
canreinvite=no
nat=yes
XYZ=SIP/XYZ
exten => _91XXXXXXXXXX,1,AGI
exten => _91XXXXXXXXXX,2,Dial(SIP/${EXTEN:1}@XYZ,,tTo)
exten => _91XXXXXXXXXX,3,Hangup
Replies (1)
RE: How to use multiple carriers or fail over
-
Added by Demian Biscocho about 6 years ago
Easiest and would be:
exten => _91XXXXXXXXXX,1,AGI
exten => _91XXXXXXXXXX,n,Dial(SIP/${EXTEN:1}@XYZ,,tTo)
exten => _91XXXXXXXXXX,n,Dial(SIP/${EXTEN:1}@ABC,,tTo)
exten => _91XXXXXXXXXX,n,Dial(SIP/${EXTEN:1}@DEF,,tTo)
exten => _91XXXXXXXXXX,n,Hangup
Direct failovers without checking call failure statuses and etc. Works quite well.