Is it possible to use 3 SIPs trunks providers in a single ca

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

Is it possible to use 3 SIPs trunks providers in a single ca

Postby Drantidote » Sun Mar 06, 2016 3:04 pm

Hello,

Is it possible to use 3 SIPs trunks providers in a single carrier ?
Thank you
Drantidote
 
Posts: 7
Joined: Fri Feb 26, 2016 5:25 am

Re: Is it possible to use 3 SIPs trunks providers in a singl

Postby udy786 » Tue Mar 15, 2016 6:47 am

You can do it. Read hangup cause, if hangup reason like not reachable, cancel, unreachable etc then dial with other provider.

Variable:- HANGUPCAUSE and DIALSTATUS.

exten => _974.,1,Dial(SIP/0${EXTEN:3}@provider1)
exten => _974.,2,NoOp(Call Status is ${DIALSTATUS} and ${HANGUPCAUSE})
exten => _974.,3,GotoIf($[${HANGUPCAUSE} = 16]?working:notworking)
exten => _974.,n(notworking),Hangup()
exten => _974.,n,Dial(SIP/0${EXTEN:3}@provider2)
exten => _974.,n,Hangup()


Good Luck.
udy786
 
Posts: 148
Joined: Fri Jul 19, 2013 10:55 am

Re: Is it possible to use 3 SIPs trunks providers in a singl

Postby teleinx » Sun Apr 10, 2016 1:13 am

udy786 wrote:You can do it. Read hangup cause, if hangup reason like not reachable, cancel, unreachable etc then dial with other provider.

Variable:- HANGUPCAUSE and DIALSTATUS.

exten => _974.,1,Dial(SIP/0${EXTEN:3}@provider1)
exten => _974.,2,NoOp(Call Status is ${DIALSTATUS} and ${HANGUPCAUSE})
exten => _974.,3,GotoIf($[${HANGUPCAUSE} = 16]?working:notworking)
exten => _974.,n(notworking),Hangup()
exten => _974.,n,Dial(SIP/0${EXTEN:3}@provider2)
exten => _974.,n,Hangup()


Good Luck.



The OP is asking a different question. 1 carrier with 3 different trunks. Where is the other 2 trunks are the same carrier.
VoIP carrier spesilizing in vici dial.
Outboud VoIP Termination | Inboud VoIP Origination | Carrier Data Services
Website: http://www.teleinx.com
skype: teleinx inc
teleinx
 
Posts: 55
Joined: Fri Apr 08, 2016 7:44 pm
Location: Miami, FL

Re: Is it possible to use 3 SIPs trunks providers in a singl

Postby williamconley » Sun Apr 10, 2016 9:14 pm

Drantidote wrote:Hello,

Is it possible to use 3 SIPs trunks providers in a single carrier ?
Thank you


This post shows the simplest method: (note that you would set each sip trunk up as a carrier, vicidial neither knows nor cares that it's actually all the same place!)

viewtopic.php?f=4&t=35480

And don't overlook that the AGI and Hangup extens are NOT optional. They are Required.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 94 guests