Load Balance DIDs [SOLVED]

All installation and configuration problems and questions

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

Load Balance DIDs [SOLVED]

Postby khuff » Sat Apr 05, 2014 10:20 am

Vicidial Info: ViciBox ISO 5.0.3 64bit Standard | ViciDial Version: 2.8-427a Build: 140302-0958 Asterisk: 1.8.23.0-vici| Multi Server 3 Dialers-Web / 1 DB / 1 Archive | No extra software or hardware after install

Greetings all,

First off just want to tip my hat to everyone over at Vicidial for such a great system. Been using it for a few years and it has been nothing short of a pleasure. I'm looking to get rid of as many of our single points of failure as possible. Going great got Load Balanced Phone Logins working this morning like a dream. My next goal is to distribute our inbound calls dynamically across all our dialer servers and not just the one. The majority of our calls come from Twilio, which pings an app I have on my end whenever a call is made and I return it the TwiML to tell it where to make that call. (Eg: sip:5555555555@192.168.0.1) Where 5555555555 is the DID I'm trying to get through and the IP is the public IP of the server the DID is on. Works pretty nice, but I don't want all those calls coming into only one server.

So my calls go like this:
Prospect calls Twilio Numbers -> Twilio pings my system I return DID@IP that I want the call to come in on -> Twilio Forwards Call by SIP to that IP -> DID points to the ingroup I want. -> Agent Gets the call.

My idea was to setup each one of those DID's I'm forwarding the calls to on each server. And on my APP side for Twilio setup some sort of round robin to split the inbound calls up across all 3 of my dialers. But looks like the vicidial admin won't allow multiple entries for the same DID. I'm not ever sure if that's the best way to go about it. So my question is how should I go about setting up my DID's and my Twilio forwarding so as to load balance those inbound calls. Any advice, warnings or tips would be super helpful.
Last edited by khuff on Mon Apr 07, 2014 10:51 am, edited 1 time in total.
Vicibox 8.1 | ViciDial VERSION: 2.14-687a BUILD: 180908-1618 | Asterisk: 11.25.3-vici | Multi Server 12 x Dialers / 2 x Web / 1 x Master DB / 1 x Slave DB / 1 x Archive | No extra software or hardware after install
khuff
 
Posts: 80
Joined: Mon Feb 20, 2012 12:19 pm

Re: Load Balance DIDs

Postby geoff3dmg » Mon Apr 07, 2014 3:05 am

Vicidial does not care which server in the cluster receives the call for the DID. You can tell your carrier to send the calls to any of the servers and Vicidial will route it correctly.
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK

Re: Load Balance DIDs

Postby khuff » Mon Apr 07, 2014 8:40 am

Image

But seriously, that's awesome. What's the use of the Server IP field in the DID setup then?

[edit]
Tested and it worked just as expected. All my dialers can recieve calls for any of the DID's I have setup. Thanks.
Vicibox 8.1 | ViciDial VERSION: 2.14-687a BUILD: 180908-1618 | Asterisk: 11.25.3-vici | Multi Server 12 x Dialers / 2 x Web / 1 x Master DB / 1 x Slave DB / 1 x Archive | No extra software or hardware after install
khuff
 
Posts: 80
Joined: Mon Feb 20, 2012 12:19 pm

Re: Load Balance DIDs [SOLVED]

Postby geoff3dmg » Mon Apr 07, 2014 10:53 am

The server IP setting is only used when the DID route is set to PHONE to tell the system what server the phone extension can be found on.
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 90 guests