Page 1 of 1

Load Balance DIDs [SOLVED]

PostPosted: Sat Apr 05, 2014 10:20 am
by khuff
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.

Re: Load Balance DIDs

PostPosted: Mon Apr 07, 2014 3:05 am
by geoff3dmg
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.

Re: Load Balance DIDs

PostPosted: Mon Apr 07, 2014 8:40 am
by khuff
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.

Re: Load Balance DIDs [SOLVED]

PostPosted: Mon Apr 07, 2014 10:53 am
by geoff3dmg
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.