Hi all, I'm planning to build a VOIP solution for handling SIP calls coming from endpoints registered on a specific SIP proxy...I made some research regarding network architecture and found out that the best solution is to use OpenSips as SIP proxy for registration and local calls between registered endpoints and use asterisk server with a2billing for PSTN calls, rating, routing and all other stuff plus a MySQL database... This architecture convinced me, but I have some questions regarding asterisk and I need asterisk expert answers in order to take decision... 1- Is there any Software limitation on asterisk regarding number of simulltaneous calls? 2- Can 1 asterisk server handle 5000 simuitaneous calls if I have the appropriate hardware? 3- It's etter to have one asterisk server for hadling 5k simultaneous calls or divide the load on different servers? Waiting your reply Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090217/2408e98d/attachment.htm
On Tue, 17 Feb 2009, michel freiha wrote:> Hi all, > > I'm planning to build a VOIP solution for handling SIP calls coming from > endpoints registered on a specific SIP proxy...I made some research > regarding network architecture and found out that the best solution is to > use OpenSips as SIP proxy for registration and local calls between > registered endpoints and use asterisk server with a2billing for PSTN calls, > rating, routing and all other stuff plus a MySQL database... > > This architecture convinced me, but I have some questions regarding asterisk > and I need asterisk expert answers in order to take decision... > > 1- Is there any Software limitation on asterisk regarding number of > simulltaneous calls? > 2- Can 1 asterisk server handle 5000 simuitaneous calls if I have the > appropriate hardware? > 3- It's etter to have one asterisk server for hadling 5k simultaneous calls > or divide the load on different servers? >First off I think you would have a rough time making one server handle so many calls. It also depends heavily on whether or not you will be transcoding those calls. Regardless you should split the load for the simple reason that such a high density service would be in absolute tatters if your single point of failure failed for any reason. Are you hiring?? :) j
No, asterisk on conventional hardware can handle at most a few hundred calls. I would strongly discourage the use of Asterisk purely as a transit element for billing. Just because a2billing is available does not mean you should. Far more scalable solutions are easily available. -- Sent from mobile device On Feb 17, 2009, at 10:19 AM, michel freiha <michofr at gmail.com> wrote:> Hi all, > > I'm planning to build a VOIP solution for handling SIP calls coming > from endpoints registered on a specific SIP proxy...I made some > research regarding network architecture and found out that the best > solution is to use OpenSips as SIP proxy for registration and local > calls between registered endpoints and use asterisk server with > a2billing for PSTN calls, rating, routing and all other stuff plus a > MySQL database... > > This architecture convinced me, but I have some questions regarding > asterisk and I need asterisk expert answers in order to take > decision... > > 1- Is there any Software limitation on asterisk regarding number of > simulltaneous calls? > 2- Can 1 asterisk server handle 5000 simuitaneous calls if I have > the appropriate hardware? > 3- It's etter to have one asterisk server for hadling 5k > simultaneous calls or divide the load on different servers? > > > Waiting your reply > > Regards > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Just a laypersons opinion - I'm sure others here have better answers or justifications. 1. no (at least not realistically, mathematically there are some) 2. perhaps - bandwidth would be your primary concern since 5K calls would take 150 M of bandwidth 3. IMO it would be better to divide the load, but this depends on the hardware you are using. _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of michel freiha Sent: Tuesday, February 17, 2009 9:20 AM To: Asterisk Users Mailing List - Non-Commercial Discussion; asterisk-users-bounces at lists.digium.com Subject: [asterisk-users] Network architecture Hi all, I'm planning to build a VOIP solution for handling SIP calls coming from endpoints registered on a specific SIP proxy...I made some research regarding network architecture and found out that the best solution is to use OpenSips as SIP proxy for registration and local calls between registered endpoints and use asterisk server with a2billing for PSTN calls, rating, routing and all other stuff plus a MySQL database... This architecture convinced me, but I have some questions regarding asterisk and I need asterisk expert answers in order to take decision... 1- Is there any Software limitation on asterisk regarding number of simulltaneous calls? 2- Can 1 asterisk server handle 5000 simuitaneous calls if I have the appropriate hardware? 3- It's etter to have one asterisk server for hadling 5k simultaneous calls or divide the load on different servers? Waiting your reply Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090217/94f01d82/attachment.htm
>found out that the best solution is to use OpenSips as SIPOpenSIPS is a great free software proxy.>1- Is there any Software limitation on asterisk regarding number of simulltaneous calls?There isn't any explicit limitation in Asterisk or OpenSIPS that I'm aware of, but you are limited to processing power, memory, bandwidth, etc.>2- Can 1 asterisk server handle 5000 simuitaneous calls if I have the appropriate hardware?There are a lot of factors to consider, but I'm sure you could do it if you are determined. Not the wisest option however - see below.>3- It's etter to have one asterisk server for hadling 5k simultaneous calls or divide the load on different servers?I would split it up and keep each server under 50% load during normal activity. That way you can handle peak load and balance if one or more servers fail. Try not to put more than 200-400 calls on each server, depending on your configuration. That would be 100-200 calls per server with 50% load. For 5,000 concurrent calls, that means 25 servers assuming decent hardware and 50% load. That might not be an option. You may be able to split up some of the servers into multiple VMs -- maybe five servers with five VMs each. You may be able to get away with 90% regular load if 5,000 concurrent calls is never to be exceeded. Anyway, there are many factors to consider. More information is definitely needed. ________________________________ From: michel freiha <michofr at gmail.com> To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>; asterisk-users-bounces at lists.digium.com Sent: Tuesday, February 17, 2009 7:19:58 AM Subject: [asterisk-users] Network architecture Hi all, I'm planning to build a VOIP solution for handling SIP calls coming from endpoints registered on a specific SIP proxy...I made some research regarding network architecture and found out that the best solution is to use OpenSips as SIP proxy for registration and local calls between registered endpoints and use asterisk server with a2billing for PSTN calls, rating, routing and all other stuff plus a MySQL database... This architecture convinced me, but I have some questions regarding asterisk and I need asterisk expert answers in order to take decision... 1- Is there any Software limitation on asterisk regarding number of simulltaneous calls? 2- Can 1 asterisk server handle 5000 simuitaneous calls if I have the appropriate hardware? 3- It's etter to have one asterisk server for hadling 5k simultaneous calls or divide the load on different servers? Waiting your reply Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090217/7d948fba/attachment.htm