Two default gateways

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Two default gateways

Postby jkidd » Fri Mar 06, 2015 12:58 am

I have a client using a SIM gateway and wants to add another SIP gateway, so two telco providers on once box

Roughly what do l I need to do to allow both gateways to be used?

VERSION: 2.8-436a
BUILD: 140425-0906
Asterisk 1.8.23.0-vici
Suse 4.2.42(1)
VERSION: 2.14-697a | BUILD: 190121-2019 Asterisk Version 13.21.1-vici | cluster 1 DB 4 web / diallers
jkidd
 
Posts: 83
Joined: Wed Apr 23, 2014 9:38 am

Re: Two default gateways

Postby darkeye08 » Fri Mar 06, 2015 10:47 pm

Are the gateway can be connected through SIP? If yes, then you can just create two new SIP connection from Carriers with the details of your Gateway.

Then from there you can add dialplan it which calls will be routed to the Gateway you wanted to use. Cheers! :)
darkeye08
 
Posts: 62
Joined: Tue Mar 03, 2015 6:39 am
Location: Cebu City, Philippines, 6000

Re: Two default gateways

Postby jkidd » Sat Mar 07, 2015 8:50 pm

Thanks Darkeye08 - Just to check, how would I define the gateway being used in Carriers?
VERSION: 2.14-697a | BUILD: 190121-2019 Asterisk Version 13.21.1-vici | cluster 1 DB 4 web / diallers
jkidd
 
Posts: 83
Joined: Wed Apr 23, 2014 9:38 am

Re: Two default gateways

Postby darkeye08 » Sat Mar 07, 2015 9:42 pm

Hi, Once you created SIP details with dialplan in the Carriers you just need to Activate it. Then you can test call matching the dialplan you input.
darkeye08
 
Posts: 62
Joined: Tue Mar 03, 2015 6:39 am
Location: Cebu City, Philippines, 6000

Re: Two default gateways

Postby jkidd » Sat Mar 07, 2015 11:07 pm

I actually mean two routers, two different gateway internet providers. Any idea how to connect both to one vicibox?
VERSION: 2.14-697a | BUILD: 190121-2019 Asterisk Version 13.21.1-vici | cluster 1 DB 4 web / diallers
jkidd
 
Posts: 83
Joined: Wed Apr 23, 2014 9:38 am

Re: Two default gateways

Postby chasejordan1 » Wed Mar 18, 2015 3:56 pm

You could try a load balancing router or a bonded routed / service.
chasejordan1
 
Posts: 182
Joined: Fri Mar 07, 2008 11:57 am

Re: Two default gateways

Postby jkidd » Mon May 18, 2015 3:23 am

Thanks, project coming up soon, so will look at this option!
VERSION: 2.14-697a | BUILD: 190121-2019 Asterisk Version 13.21.1-vici | cluster 1 DB 4 web / diallers
jkidd
 
Posts: 83
Joined: Wed Apr 23, 2014 9:38 am

Re: Two default gateways

Postby jkidd » Tue Jun 02, 2015 4:01 am

Seems like the easiest solution for this was setting up static routes where it's directing traffic to either router based on the IP it's looking for (IP = SIP provider)

--article on adding static routes if you use go auto dial, vicidial is much the same--
https://access.redhat.com/documentation ... outes.html
VERSION: 2.14-697a | BUILD: 190121-2019 Asterisk Version 13.21.1-vici | cluster 1 DB 4 web / diallers
jkidd
 
Posts: 83
Joined: Wed Apr 23, 2014 9:38 am


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 45 guests