Multi server config scenario

Any and all non-support discussions

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

Multi server config scenario

Postby ykhan » Wed Mar 04, 2009 1:38 pm

Hi,

I am looking to consolidate multiple single server installs into a multi server farm. Currently, there exist multiple installs of Vicidial, and I intend to do the following:

1. Setup multiple Asterisk servers for dialing out (possibly one in each of three locations)
2. Setup one database and web server for all agents across the three locations.
3. Setup one FTP server to house all recordings.

Total number of agents initially will be 60, but increasing to 120 soon. Maximum dial level will be 2.5 for all campaigns. G729 codec will be used to connect to Asterisk servers and to the SIP provider. Please let me know if this is a practical approach or recommend an alternative.
ykhan
 
Posts: 352
Joined: Thu Jun 08, 2006 4:47 pm

Postby mflorell » Wed Mar 04, 2009 1:48 pm

We would actually recommend GSM from Asterisk server to Asterisk server, but other than that your plan should work.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ykhan » Wed Mar 04, 2009 4:34 pm

Any documentation out there for multi server installs? Is this covered in the Manager Manual?
ykhan
 
Posts: 352
Joined: Thu Jun 08, 2006 4:47 pm

Postby mflorell » Wed Mar 04, 2009 4:44 pm

LOAD_BALANCE.txt covers it pretty well.

In SVN trunk codebase multi-server installs are also much easier because the dialplan and iax/sip conf files are auto-generated.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ykhan » Tue Mar 10, 2009 9:50 am

The Load Balancing text file mentions IXA2 between the Asterisk/Vicidial servers. Is this not possible with a SIP only setup? Thanks.
ykhan
 
Posts: 352
Joined: Thu Jun 08, 2006 4:47 pm

Postby mflorell » Tue Mar 10, 2009 11:52 am

IAX2 is only between the Asterisk servers and it is more efficient and bug-free than using SIP for the same task.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby williamconley » Tue Mar 10, 2009 11:54 am

Have you tried it? (SIP that is)

I have had issues with multiple providers where each has a reason to Like or Dislike SIP or IAX2 (depending on the provider). But your best bet for something like that is to TRY IT both ways and see what works for you. After all, it takes very little time to set up an IAX2 or SIP trunk between two of your own servers.
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby mflorell » Tue Mar 10, 2009 11:59 am

Yes, I have tried it and it failed spectacularly under load :)

It worked fine for one or two agents, but once I put it live for 48 agents spread across 2 servers I started getting congestion and dropped transfers. This was on 1.4 and 1.2. I was trying this to get DTMF to be inband over VOIP because there were some issues with DTMF passthru on this client's carrier and IAX has no option for changing the DTMF transport method.

Switching inter-server calls back to IAX fixed all of the call drop issues and I have not tried using SIP again since.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ykhan » Tue Mar 10, 2009 3:17 pm

Thanks for the detailed reply. I will attempt the IAX2 route first. Thanks again.
ykhan
 
Posts: 352
Joined: Thu Jun 08, 2006 4:47 pm

Postby williamconley » Fri Mar 13, 2009 9:15 am

I have had similar issues, and have found (with purely empirical evidence of course) that sometimes that sort of result will occur ... but sometimes it will be the reverse (SIP works, IAX sucks) based on the locations of the servers in question. In fact, I have had several clients on VOIPStreet who could never get a good, solid, signal through with IAX but when switching to SIP (with the same provider) they got crystal clear sound.

In two cases the exact same box worked with this provider quite well, but was moved to a new location.

The explanation from the provider was that they have the ability to detect our location with their SIP registration and use a closer server to actually stream the sound, and they do not have this ability with IAX2. I'm not sure how much of that is real and how much is BS, but the empirical evidence supports it.

Take it for what it's worth, test both if one of them seems anything other than excellent.
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby mflorell » Fri Mar 13, 2009 10:54 am

I was only referring to IAX use between Asterisk servers for the purpose of load balancing VICIDIAL calls.

SIP is a good choice for trunks and is a lot more widely used for termination providers.

In Asterisk, SIP uses more CPU resources than IAX, SIP channels take longer to clear out than IAX, and on identical systems SIP uses more open files for the same load than IAX.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby cristian » Tue Mar 31, 2009 5:13 am

We have a similar architecture entering production this week, though we saw no good reason to have servers at different locations.

Let me know if you have questions.
cristian
 
Posts: 218
Joined: Tue Mar 31, 2009 4:41 am

New setup idea

Postby cottonking2000 » Thu Apr 16, 2009 9:30 am

We need a call solution for 70 agents also. I have been experimenting and have a path for this setup:

1. 12 IP addresses external IP's/
2. 12 boxs P4 2ghz 2mb
3. 5 agents per box.
4. This works fine for us since we have multi programs with recordings etc
5. Solve DTMF issues
6. We are tring several Voip providers - outbound - helps to have a few back ups with devices.

Future path:

1. Drop from desktop machines acting as servers to servers with quad z's
2.
cottonking2000
 
Posts: 49
Joined: Fri Mar 06, 2009 1:25 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 63 guests