Page 1 of 1

Asterisk Concurrent Calls

PostPosted: Sat Dec 22, 2018 11:33 am
by palani.sivagurunathan
Hi,

Below the my server software and hardware details.

Vicidial Version : 2.13-576a
Build : 161126-2138
Asterisk : 11.25.3
Libpri : 1.4.12
Dahdi : 2.10.2
PHP : PHP 5.5.9-1ubuntu4.26
MySql : mysql Ver 14.14 Distrib 5.5.61

Server Platform : Single Processor Dedicated Server
Processor : Intel® Xeon® Processor E5-2630, v3 20M Cache, 2.40 GHz, Octo Core QTY: 1
OS : Ubuntu 14.04 LTS
Drive Selection, Set 2 : HP 600GB 12G SAS

All the software installed in single server , How many concurrent calls handled in this server ?

Please advice


Thanks,
Palanivel S

Re: Asterisk Concurrent Calls

PostPosted: Sat Dec 22, 2018 12:12 pm
by williamconley
As many as you feel like giving it until (a) call routing becomes unstable or (b) average server load exceeds 50% of the core count (eg: 8 cores = 4.0 average server load max). Note that capacity depends on many factors, not any single factor. The only way to know is testing.

Factors include (but are NOT limited to):
Agents logged in
Reports being run
DB table sizes (older systems)
Filters in use
Hopper size
Calls per second
Drop call seconds
AMD in use
Codecs in use
Inbound/Transfer calls on hold
ADAPT in use?
ADAPT settings
...
(Basically EVERYTHING, lol)

Re: Asterisk Concurrent Calls

PostPosted: Mon Dec 24, 2018 5:56 am
by palani.sivagurunathan
Hi Team ,

As of now we are using only Inbound process on this server .



Factors include (but are NOT limited to):
Agents logged in - 40 Agents
Reports being run - Realtime screen running three machine
DB table sizes (older systems) - 10.3 GB
Filters in use - Not in Use
Hopper size - Inbound Process , But we configured 50
Calls per second - This is inbound process , Maximum we received concurrent calls 40 ( Per day total calls 1500)
Drop call seconds - 360 sec
AMD in use - We are using Inbound Process
Codecs in use - G711 and G729
Inbound/Transfer calls on hold
ADAPT in use? - Not used because we are doing only inbound
ADAPT settings

Above the my server configuration details , How many concurrent calls handled in this server ? and how to calculate ?

Please Advice

Thanks,
Palanivel S

Re: Asterisk Concurrent Calls

PostPosted: Mon Dec 24, 2018 4:12 pm
by williamconley
You don't calculate. You test based on your configuration and experience. Note that the limit also depends on how many calls are on hold right now and what method is being used for "hold" (eg: Ingroup? DID to VM? Call Menu repeating a message forever until they pick one?).

The scripts that control inbound calls use different amounts of CPU for each call and the options in use for that particular script (eg: Ingroup script: Any Wait or Hold options in use?) and then there's the actual live calls with agents and whether or not these calls all arrive on one server or are rotated among servers so they can attempt to find a local agent instead of transferring to a different server.

You're not gonna get out of testing this. Try as you might: Anyone who answers (aside from The Vicidial Group) will likely be guessing at some of the details or forgetting a few. I wouldn't doubt that The Vicidial Group techs would agree that it's better to test and find out than it is to take anyone's word for it. Rule of thumb: 25 agents per server. Aside from that ... test.

Re: Asterisk Concurrent Calls

PostPosted: Wed Jan 02, 2019 7:24 pm
by dspaan
Last time i wanted to do a stresstest i use Sandboxie and ran multiple isntances of zoiper from the same computer and in each zoiper conifgured multiple accounts which i used to login with on the same server and thus simulating a full server. Of course you can also use this to place calls to your other inbound server and see what happens. Use the htop command on the destination server to see what happens to the performance.

Re: Asterisk Concurrent Calls

PostPosted: Thu Jan 03, 2019 3:25 am
by williamconley
All soft phones that speak SIP are really just restricted Asterisk servers. The implementation and restrictions are different, but the calls present just the same in either case. So you can use one Dialer to load test another while using a familiar scripting system (php, perl, bash ...) to do the lifting instead of multiple soft phones and macros.