Sizing Asterisk Server?

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Sizing Asterisk Server?

Postby peter59 » Mon Jan 04, 2016 3:40 am

Hello everyone,

I want to know how can we size an Asterisk server which can support 50 000 calls per day, 5 000 calls in the busiest hour with 145 simultaneous logins?

What would be the size of the processor, RAM and hard disk for the Asterisk server?

Thank you in advance,
Pierre
peter59
Newsterisk
 
Posts: 42
Joined: Thu Oct 15, 2015 8:05 am

Re: Sizing Asterisk Server?

Postby david55 » Mon Jan 04, 2016 4:29 am

You will generally not get definitive answers for sizing questions, and you haven't provided enough information anyway, however taking the disk size, I would suggest 2GB as a starting point; of course you may have trouble getting anything that small.

If you want to record all calls, and assuming each call lasts two minutes, you are going to require around an extra 100GB per day of retained storage,, plus any workspace your software needs (this assumes that both directions are recorded separately; I can't remember if MixMonitor records as L and R channels, or mixes into a single mono stream.

RAM requirements will depend on erlangs, not BHCAs.

Processor is heavily dependent on things like transcoding.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: Sizing Asterisk Server?

Postby jcolp » Mon Jan 04, 2016 7:32 am

MixMonitor can be configured to record each direction as separate files[1] or to mix into the same file (they aren't stored as L/R channels).

[1] https://wiki.asterisk.org/wiki/display/ ... MixMonitor
Joshua Colp
Digium, Inc. | Senior Software Developer
jcolp
Oldsterisk
 
Posts: 248
Joined: Tue May 19, 2015 6:59 am

Re: Sizing Asterisk Server?

Postby peter59 » Tue Jan 05, 2016 8:33 am

Okay, thank you for providing me these informations.

You have told me I haven't provided enough information so what kind of informations I should add?

Thank you again!
peter59
Newsterisk
 
Posts: 42
Joined: Thu Oct 15, 2015 8:05 am

Re: Sizing Asterisk Server?

Postby david55 » Tue Jan 05, 2016 8:50 am

Please note that I deal with development model systems, not production ones, so cannot do the actual sizing, but these are some of the factors that might affect the sizing

Peak erlangs?

Channel technologies used?

Codecs used?

Is there any transcoding (particular expensive codecs like G.729 or GSM)?

Is any form of native bridging possible, in particular SIP direct media, and what is the peak erlang loading of traffic for which full direct media and native bridging are not possible? (Direct media removes the highest volume of traffic and the highest load on most systems, but is only possible if codecs match, the parties agree, and Asterisk not recording and has no interest in any DTMF.)

Do you use early media, or do you answer incoming calls before the outgoing leg answers (implies, at a minimum, that Asterisk will have to generate in band tones)?

Are you recording calls, and the codec used?

Use of conferences?

Use of queues?

Use of voice announcements?

What level of diagnostic logging, and how long do you intend to keep it?

What if any call accounting records, and how long do you want to keep them on the server?

Do you intend to use Asterisk Realtime Architecture and if so, what database?

Do you intend to use database features of the dialplan?

Do you intend to use AGI scripts or other external scripts?


Etc.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: Sizing Asterisk Server?

Postby ambiorixg12 » Tue Jan 05, 2016 9:20 am

Very good notes david55!

david55 wrote:Please note that I deal with development model systems, not production ones, so cannot do the actual sizing, but these are some of the factors that might affect the sizing

Peak erlangs?

Channel technologies used?

Codecs used?

Is there any transcoding (particular expensive codecs like G.729 or GSM)?

Is any form of native bridging possible, in particular SIP direct media, and what is the peak erlang loading of traffic for which full direct media and native bridging are not possible? (Direct media removes the highest volume of traffic and the highest load on most systems, but is only possible if codecs match, the parties agree, and Asterisk not recording and has no interest in any DTMF.)

Do you use early media, or do you answer incoming calls before the outgoing leg answers (implies, at a minimum, that Asterisk will have to generate in band tones)?

Are you recording calls, and the codec used?

Use of conferences?

Use of queues?

Use of voice announcements?

What level of diagnostic logging, and how long do you intend to keep it?

What if any call accounting records, and how long do you want to keep them on the server?

Do you intend to use Asterisk Realtime Architecture and if so, what database?

Do you intend to use database features of the dialplan?

Do you intend to use AGI scripts or other external scripts?


Etc.
ambiorixg12
Astmaster
 
Posts: 967
Joined: Sun Mar 04, 2007 9:32 pm
Location: Dominican Republic


Return to Asterisk Support

Who is online

Users browsing this forum: No registered users and 1 guest