Maximum number of agents on a server

All installation and configuration problems and questions

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

Maximum number of agents on a server

Postby lyxn2011 » Sat Dec 22, 2012 8:32 am

Hello,

What is the maximum number of agents that vicidial code can handle on a server?

I have followed the scratch install doc to install the server. In the 'vicidial_conferences' table I can see that only 249 conferences (8600051- 8600299) are created. Also in the dialplan I can see that only conference numbers from 8600051to 8600299 are handled. Does all this mean that even if I have a high capacity hardware, the vicidial code can only handle 249 agents on that server?

Scratch install
Operating sys: Slackware 13.37
mysql: 5.1.56
Asterisk: 1.4.26.2
VicidialVERSION: 2.4-364a BUILD: 120409-1136
No Digium/Sangoma Hardware | No Extra Software After Installation
lyxn2011
 
Posts: 19
Joined: Sat Sep 10, 2011 7:45 am

Re: Maximum number of agents on a server

Postby Vince-0 » Sat Dec 22, 2012 3:58 pm

Total agents per server is influenced more by Asterisk CPU utilization. I find between 30 and 50 agents per an Asterisk server in a multi-server configuration, depending on number of CPU cores and media services configuration like call recording.
Vince-0
 
Posts: 248
Joined: Fri Mar 02, 2012 4:27 pm
Location: South Africa

Re: Maximum number of agents on a server

Postby lyxn2011 » Sun Dec 23, 2012 2:07 am

I wanted to know if the number of agents is limited by the software. Even if I successfully build a hardware which can handle up to 300+ agents, will the vicidial software allow me to have that many agents on that server? Will the vicidial code limit it to 249 agents?
lyxn2011
 
Posts: 19
Joined: Sat Sep 10, 2011 7:45 am

Re: Maximum number of agents on a server

Postby mflorell » Sun Dec 23, 2012 8:40 am

There is no software limit, but if you put 1 million users in it might slow the system down a lot.
mflorell
Site Admin
 
Posts: 16594
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Maximum number of agents on a server

Postby mcargile » Sun Dec 23, 2012 5:18 pm

The biggest limiting factor in the number of Agents is Asterisk itself. It has locking issues. Throwing monstrously powerful servers at it, does not help with this. Sure your audio will sound perfect on the connected calls, but you will have many other problems that you will not be aware of.

One of the biggest issues I see is with overloaded systems. Clients jamming 100+ agents on a massive server and expecting it to work right. They will have transfer issues and blame it on Vicidial. When I get to looking it was because Asterisk for some reason routed the transfer call to the wrong MeetMe or never placed the call in the first place despite being told to. One of the biggest things that happens on these systems that most clients are completely unaware of is that Asterisk will place calls, but never connect them to anything. It is only when I have them take a close look at the vicidial_carrier_log and the vicidial_log table that they realize the scope of the issue. The two tables should be pretty close in size. Instead on an overloaded system they will be upwards of 30% off from each other. That means hat 30% of the calls they are placing never go anywhere, and it is because Asterisk lost the phone call.

All this may change with Asterisk 1.8 support, but then again it might get even worse. Only time will tell.
Michael Cargile | Director of Consulting | ViciDialGroup | www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 549
Joined: Tue Jan 16, 2007 9:38 am

Re: Maximum number of agents on a server

Postby williamconley » Wed Feb 27, 2013 10:10 pm

I used to bump into maximum meetme rooms on Stupid Large servers (and with other applications that utilized massive meetme). But that limit always seemed to be in the 150+ meetme room realm .. and putting 150 agents on a single server is just silly to begin with. LOL
Vicidial Installation and Repair, plus Hosting and Colocation
SugarCRM integration - Customization and Add-ons - We Bring It All Together.
http://www.PoundTeam.com # 352-269-0000 # +44 (203) 769-2294 # +506 4001-8914
williamconley
 
Posts: 16957
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Maximum number of agents on a server

Postby shan » Thu Jan 11, 2018 3:49 am

Can you let me the current limit of maximum number of agents that can be login at the same time in asterisk with no call issues? Can anybody here share his latest experience? My vicibox configuration is pasted below. provided I have no hardware limitation issues, just want to the know the software limit ?
ViciBox v.7.0.3-160505
kernel: 4.1.20-11-default
Asterisk 11.22.0-vici
svn, version 1.8.10 (r1615264)
openSUSE Leap 42.1 (x86_64)"
architecture: x86_64
Dahdi 2.11.1
libpri.so.1.4
Vicidial VERSION: 2.12-552a
BUILD: 160429-0835
© 2016 ViciDial Group
shan
 
Posts: 30
Joined: Tue Sep 12, 2017 11:53 pm

Re: Maximum number of agents on a server

Postby mflorell » Thu Jan 11, 2018 6:08 am

The highest I've seen successfully per server was 100 agents used in an inbound only application with no waiting calls. For slow manual dial outbound I've seen a system that was able to handle 60 agents without too many issues. We usually recommend 20 agents per dialer for most applications. The largest production cluster we've had running was using a total of 850+ agents across 15 dialers with 5 web servers.
mflorell
Site Admin
 
Posts: 16594
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Maximum number of agents on a server

Postby shan » Thu Jan 11, 2018 6:11 am

So you mean, the solution is to do cluster installation with multiple servers running asterisk, and multiple servers running web? And the database can be one only?
ViciBox v.7.0.3-160505
kernel: 4.1.20-11-default
Asterisk 11.22.0-vici
svn, version 1.8.10 (r1615264)
openSUSE Leap 42.1 (x86_64)"
architecture: x86_64
Dahdi 2.11.1
libpri.so.1.4
Vicidial VERSION: 2.12-552a
BUILD: 160429-0835
© 2016 ViciDial Group
shan
 
Posts: 30
Joined: Tue Sep 12, 2017 11:53 pm

Re: Maximum number of agents on a server

Postby mflorell » Thu Jan 11, 2018 6:27 am

Yes, although all of our larger clients use additional slave databases for reporting as well.
mflorell
Site Admin
 
Posts: 16594
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Maximum number of agents on a server

Postby lmoreira » Wed Mar 07, 2018 9:19 am

mflorell wrote:The highest I've seen successfully per server was 100 agents used in an inbound only application with no waiting calls. For slow manual dial outbound I've seen a system that was able to handle 60 agents without too many issues. We usually recommend 20 agents per dialer for most applications. The largest production cluster we've had running was using a total of 850+ agents across 15 dialers with 5 web servers.


We manager a cluster with 40 dialers, 5 web servers and about 1k agents. Many campaigns running blended inbound/outbound calls. We place about 1,5 million calls every day for debt collection. That's our largest cluster so far.
--
Luciano Moreira
LogicTelecom - http://www.logictelecom.com.br
--
ViciBox v.8.x-trunk | VERSION: 2.14-664a | BUILD: 180310-2321 | Asterisk 11.23.0-vici | Cluster 4+ servers | No Digium/Sangoma Hardware | No Extra Software After Installation
lmoreira
 
Posts: 30
Joined: Wed Oct 01, 2008 6:51 pm

Re: Maximum number of agents on a server

Postby mflorell » Wed Mar 07, 2018 4:51 pm

Thanks for posting your example lmoreira! :)
mflorell
Site Admin
 
Posts: 16594
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Maximum number of agents on a server

Postby dito » Thu Mar 08, 2018 6:19 am

dreamer thinking...
webrtc is more stable and working fine...
now call id can be get from the webrtc..
so ACD based on queues rather than conferences..
and if we are free from conferences why not sending the curl/originate to freeswitch rather than asterisk .. :p
webrtc-freeswitch-queues... vici science fiction mode !
but impossible is not matt florell !
VoIP TUNISIE
support@crm.tn - https://crm.tn
dito
 
Posts: 37
Joined: Wed Nov 11, 2015 9:29 pm

Re: Maximum number of agents on a server

Postby williamconley » Thu Mar 08, 2018 10:19 am

Still have to account for Call Monitoring, Recording and 3-way calling while in WebRTC.

At that point, you may be right. 8-)

Dream Away.
Vicidial Installation and Repair, plus Hosting and Colocation
SugarCRM integration - Customization and Add-ons - We Bring It All Together.
http://www.PoundTeam.com # 352-269-0000 # +44 (203) 769-2294 # +506 4001-8914
williamconley
 
Posts: 16957
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Maximum number of agents on a server

Postby mflorell » Thu Mar 08, 2018 1:48 pm

Certainly not impossible, but I wouldn't be the one doing it :)

I've attempted to work with FreeSWITCH before, it has a much smaller support community, much more volatile development processes and the performance and stability differences are very minor. We've even attempted to use FreeSWITCH in production before years ago on our hosted platform and it crashed frequently when we attempted to use anything involving database connectivity at a rate similar to a VICIdial server. So, my impressions of using FreeSWITCH were not very favorable at all.

Also, as William mentioned, the recording, monitoring, 3way-calling, etc... are all based around using a conferencing engine, so you would have to figure all of that out as well if you wanted any of that to work. It would basically be a 1000+ hour project, with no guarantee that you would end up with anything any better than what you started with.
mflorell
Site Admin
 
Posts: 16594
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Maximum number of agents on a server

Postby dito » Fri Mar 09, 2018 7:02 am

williamconley wrote:Still have to account for Call Monitoring, Recording and 3-way calling while in WebRTC.

At that point, you may be right. 8-)

Dream Away.

morning ! whisper can be made through queue and 3 way calling can be a button that send caller and called into conf room if necessary ...
I've attempted to work with FreeSWITCH before, it has a much smaller support community


i am not defending FS at all but i am using both asterisk and FS in routing ... FS latest distrib can supporet a peac of 3000 sim calls (with no transcoding)
asterisk at 700 wich is already good performance (normally 400 - 500)

some mass dialing scripts and callcenter handler are already coded into the fusionpbx...
i am so old to dive into php but your work is almost perfect.. always copied / imitated / rebranded .. but all of them know you're the best :)
thanks for the good work .. nice continuation !
VoIP TUNISIE
support@crm.tn - https://crm.tn
dito
 
Posts: 37
Joined: Wed Nov 11, 2015 9:29 pm

Re: Maximum number of agents on a server

Postby mflorell » Fri Mar 09, 2018 7:42 am

I've seen Asterisk stripped-down and running on high-end hardware also handle 3000 concurrent channels. The problems come when you want to do complex routing or interacting with a database, and on both of these PBX platforms that greatly reduces their capacity.
mflorell
Site Admin
 
Posts: 16594
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Maximum number of agents on a server

Postby dito » Fri Mar 09, 2018 7:45 am

mflorell wrote:I've seen Asterisk stripped-down and running on high-end hardware also handle 3000 concurrent channels. The problems come when you want to do complex routing or interacting with a database, and on both of these PBX platforms that greatly reduces their capacity.


of course .. i only trust asterisk as i know it like i know my pocket.. i still not tested the version 15 they talk about very good enhancements :
Streams
Streams, at their core are logical flows of media. They can be unidirectional or bidirectional and are comprised of media formats. The media formats also contain a type. To simplify things streams only carry a single type of media. Streams can also carry an identifier in the form of a name. For a simple voice call, the stream concept adds no additional value. For video, and specifically WebRTC, streams are essential for things like multi-party video conferencing where a single client may have 8 video streams coming in, 1 video stream going out and 1 bi-directional audio stream.

Prior to version 15, Asterisk had no explicit interface for streams and simply had a single pipe that frames are written to and read from. The negotiated formats are scoped to the entire channel as a result. Interfaces that needed to manipulate media had to inject themselves into this single pipe and had to take special care to not manipulate frames they do not need to. This same pipe also carries control frames and other signaling related operations. The result was a very loose stream implementation. For Asterisk 15, the stream concept has been codified with a new set of capabilities designed specifically for manipulating streams and stream topologies that can be used by any channel driver.

WebRTC
To simplify configuration for users a new option, webrtc, has been created which controls configuration options that are required for WebRTC. If the webrtc option is set to "yes" then all options required for WebRTC are enabled. This does still require that DTLS certificates be manually created and configured.

BUNDLE support has been added which improves call setup time. BUNDLE allows multiple streams (for example audio and video) to use the same underlying transport. Since in WebRTC a transport has to go through ICE negotiation and DTLS negotiation this reduces each of those to only happening once. If additional streams are added to a call this also removes the need to do ICE negotiation and DTLS negotiation allowing the media to flow immediately.
Playback of media can now be done as a list rather than an individual resource. This allows easier application management when playing back multiple sounds/recordings.
Channels may be created and dialed separately, rather than as a single origination. This can allow a user to add a channel to a bridge before it has answered in order to facilitate early media.
The CURL function has been modified to be able to write retrieved files to disk. This can be used to retrieve media stored on a remote server for playback, for instance.
All mechanisms in Asterisk that can play media files can now retrieve remote media over HTTP/HTTPS and play that instead.
Extension state (i.e. hints) can now be published over SIP if using the PJSIP library.

some work done with ast15 :
http://blogs.asterisk.org/2017/09/20/asterisk-15-multi-stream-media-sfu/
https://github.com/asterisk/cyber_mega_phone_2k
VoIP TUNISIE
support@crm.tn - https://crm.tn
dito
 
Posts: 37
Joined: Wed Nov 11, 2015 9:29 pm


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 15 guests