Inbound load balancing

All installation and configuration problems and questions

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

Inbound load balancing

Postby gardo » Wed Dec 20, 2006 9:38 am

Hi matt!

This is our current setup: we have 2 asterisks and 1 mysq/apache server. It's been designed to load balance. Load balancing works great with outbound calls. It doesn't seem to work with inbound calls.

Here's our scenario:

asterisk1 (ip 192.168.15.210) - 25 agents
asterisk2 (ip 192.168.15.211) - 25 agents

both has this in the dialplan for the 1-888 number:

exten => _8885830884,1,Ringing ; call ringing
exten => _8885830884,n,Wait(1) ; wait 1 sec for CID delivery
exten => _8885830884,n,Answer ; answer
exten => _8885830884,n,AGI(agi-VDADcloser_inboundCID.agi,SALESLINE-----8885830884-----Closer-----park----------999-----1)
exten => _8885830884,n,Hangup ; hangup

our voip provider routes the 1-888 number that we have to asterisk1 w/ ip 192.168.15.210 (not the real one) and if that fails, routes it to asterisk2.

this is what's happenning:

agents with softphones logged into asterisk1 get all the inbound calls while agents with softphones logged into asterisk2 don't get any. both are logged-in in the same campaign. even if all the agents on asterisk1 are taking calls, and more calls are coming in, agents on asterisk2 still don't get any calls.

am i lacking something in my inbound dialplan?

thanks!
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby gardo » Wed Dec 20, 2006 10:17 am

After some more digging into the agi scripts, it seems that I need to change the inbound dialplan from:

exten => _8885830884,1,Ringing ; call ringing
exten => _8885830884,n,Wait(1) ; wait 1 sec for CID delivery
exten => _8885830884,n,Answer ; answer
exten => _8885830884,n,AGI(agi-VDADcloser_inbound.agi,Ronco-----8885830884-----Closer-----park----------999-----1)
exten => _8885830884,n,Hangup ; hangup

to this:

exten => _8885830884,1,Ringing ; call ringing
exten => _8885830884,n,Wait(1) ; wait 1 sec for CID delivery
exten => _8885830884,n,Answer ; answer
exten => _8885830884,n,AGI(agi-VDAD_LB_closer_inbound.agi,Ronco-----8885830884-----Closer-----park----------999-----1)
exten => _8885830884,n,Hangup ; hangup

this works fine now.

matt, in this scenario, will all calls be balanced evenly to all agents on the different asterisk servers?

scenarios:
asterisk1 - 25 agents logged-in and 5 are taking calls
asterisk2 - 25 agents logged-in

would the next call come to the agents on asterisk 2 assuming its oldest call finish and those agents are on asterisk2.

thanks!
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby mflorell » Wed Dec 20, 2006 1:36 pm

Yes, you have got it right, the _LB_ scripts will evenly distribute calls to agents purely based upon the "next agent call" field(like last_call_finish) No matter the server that they are on.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Baidu [Spider] and 120 guests