Re: [asterisk-users] Network architecture
Hi all, Here I a have a question and hope that someone give me the right answer...Is it better to use Intel CPU inside the hardware where I need to install Asterisk or AMD? It's better to use 32 bits or 64 bit and what is the difference between both of them? Thanks a lot On Thu, Feb 19, 2009 at 12:02 PM, Grygoriy Dobrovolskyy megaho...@gmail.com wrote: I think in this case when 5k call are involved i think all the difficulty of the project is to split the load on different parts of the system. In my case i would do it like that: Phones ---Opensips (Double server with heartbeat and in different places) | | ..asterisk 1-n (mainly for voicemail) Opensips should easily handle you registrations and calls, you just need the LCR module for outgoing and dbalias for incoming. If you need the 100% exact and accurate CDR you should consider mediaproxy, the advantage of mediaproxy is that it is capable if detecting if there is no more udp traffic and send BYE packet, the disadvantage is considerable, the traffic is going through your system, many mediaproxy servers are advised in this case, also they need to be installed in strategic points (close to clients). I would let asterisk to do it's part of voicemail server only. Opensips is a great tool, look at their site, also look at cdrtool and mediaproxy. I hope my post helped. ___ -- 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 ___ -- 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
Re: [asterisk-users] Network architecture
On Sun, 22 Feb 2009, michel freiha wrote: Here I a have a question and hope that someone give me the right answer...Is it better to use Intel CPU inside the hardware where I need to install Asterisk or AMD? It's better to use 32 bits or 64 bit and what is the difference between both of them? This has nothing to do with Network architecture. Please start a new thread. Thanks in advance, Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 ___ -- 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
Re: [asterisk-users] Network architecture
I think in this case when 5k call are involved i think all the difficulty of the project is to split the load on different parts of the system. In my case i would do it like that: Phones ---Opensips (Double server with heartbeat and in different places) | | ..asterisk 1-n (mainly for voicemail) Opensips should easily handle you registrations and calls, you just need the LCR module for outgoing and dbalias for incoming. If you need the 100% exact and accurate CDR you should consider mediaproxy, the advantage of mediaproxy is that it is capable if detecting if there is no more udp traffic and send BYE packet, the disadvantage is considerable, the traffic is going through your system, many mediaproxy servers are advised in this case, also they need to be installed in strategic points (close to clients). I would let asterisk to do it's part of voicemail server only. Opensips is a great tool, look at their site, also look at cdrtool and mediaproxy. I hope my post helped. ___ -- 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
Re: [asterisk-users] Network architecture
Dear Alex, Thanks for the reply..Can you please list some of these solutions that you talked about on your reply? Even I would like to ask if you had a bad experience with asterisk regarding simultaneous calls limitation and If I'll send 1k calls to an asterisk machine with the appropriate hardware what will happen? Kindly note that no trans coding is done, just pass thru codec Regards On Tue, Feb 17, 2009 at 5:34 PM, Alex Balashov abalas...@evaristesys.comwrote: 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 mich...@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 ___ -- 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 ___ -- 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
Re: [asterisk-users] Network architecture
Dear Helm, Kindly confirm why you do not recommend the VMs solution and if you had bad experience for it and what did you get? Regards On Tue, Feb 17, 2009 at 9:24 PM, Wilton Helm wh...@compuserve.com wrote: You may be able to split up some of the servers into multiple VMs -- maybe five servers with five VMs each. I'm not sure I see the merit in this. VMs seem to be regarded as a magic bullet (i.e. free lunch). I don't know of any case where 5 VMs can accomplish more work on one processor than simply letting the processor manage it all (except if the OS and or application can't efficiently split the task into the necessary multiple threads, which I don't think is an issue here). By definition, the total accomplished must be less with VMs, because the hypervisor will take some CPU cycles. Wilton ___ -- 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 ___ -- 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
Re: [asterisk-users] Network architecture
Wilton Helm wh...@compuserve.com writes: I'm not sure I see the merit in this. VMs seem to be regarded as a magic bullet (i.e. free lunch). I don't know of any case where 5 VMs can accomplish more work on one processor than simply letting the processor manage it all Modern machines have more than one processor, and Asterisk doesn't scale linearly with the number of processors. Multiple Asterisk instances aren't a magic bullet, but they can help sometimes. /Benny ___ -- 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
Re: [asterisk-users] Network architecture
Check out FreeSwitch to replace Asterisk in your core. On Wed, Feb 18, 2009 at 3:42 AM, michel freiha mich...@gmail.com wrote: Dear Alex, Thanks for the reply..Can you please list some of these solutions that you talked about on your reply? Even I would like to ask if you had a bad experience with asterisk regarding simultaneous calls limitation and If I'll send 1k calls to an asterisk machine with the appropriate hardware what will happen? Kindly note that no trans coding is done, just pass thru codec Regards On Tue, Feb 17, 2009 at 5:34 PM, Alex Balashov abalas...@evaristesys.comwrote: 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 mich...@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 ___ -- 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 ___ -- 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 -- Thanks, Steve Totaro +18887771888 (Toll Free) +12409381212 (Cell) +12024369784 (Skype) ___ -- 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
Re: [asterisk-users] Network architecture
On Tue, 2009-02-17 at 12:24 -0700, Wilton Helm wrote: I'm not sure I see the merit in this. VMs seem to be regarded as a magic bullet (i.e. free lunch). I don't know of any case where 5 VMs can accomplish more work on one processor than simply letting the processor manage it all (except if the OS and or application can't efficiently split the task into the necessary multiple threads, which I don't think is an issue here). By definition, the total accomplished must be less with VMs, because the hypervisor will take some CPU cycles. While this would appear to be the case at first glance, there's something more subtle going on here. In this particular case, there are data structures inside of Asterisk that get less efficient as you put more and more calls through the system. Let's take a linked list of channels for example... when you have ten calls on the system, it's fairly simple to walk down the list of channels and find the channel you're looking for. When you have a thousand calls on the system, that's certainly less efficient. This should make it apparent why the resource requirements for Asterisk don't scale linearly with the call volume. Or, to put it another way, you you can think of splitting the calls across two VMs as a crude way of bringing some efficiency back into those structures. Now, in the interest of full disclosure, I used the idea of a linked-list above only as an example. Many of the changes in Asterisk between 1.4 and 1.6.0 have been to re-plumb a lot of the internal structures to behave better under higher call volumes (things like replacing linked lists with hash tables, etc.). The Asterisk developers are continuing to work on the efficiency of the code data structures within Asterisk, but in the meantime, I hope I've given you some insight into why splitting calls across virtual machines on the same box can offer improvements, despite the overhead of running a hypervisor. -- Jared Smith Digium, Inc. | Training Manager ___ -- 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
[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 ___ -- 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
Re: [asterisk-users] Network architecture
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 ___ -- 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
Re: [asterisk-users] Network architecture
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 mich...@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 ___ -- 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
Re: [asterisk-users] Network architecture
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-boun...@lists.digium.com [mailto:asterisk-users-boun...@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-boun...@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 ___ -- 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
Re: [asterisk-users] Network architecture
2009/2/17 Danny Nicholas da...@debsinc.com 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. I would recommend opensips with cdrtool and mediaproxy all load balanced with heartbeat or dns. ___ -- 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
Re: [asterisk-users] Network architecture
found out that the best solution is to use OpenSips as SIP OpenSIPS 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 mich...@gmail.com To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com; asterisk-users-boun...@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 ___ -- 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
Re: [asterisk-users] Network architecture
You may be able to split up some of the servers into multiple VMs -- maybe five servers with five VMs each. I'm not sure I see the merit in this. VMs seem to be regarded as a magic bullet (i.e. free lunch). I don't know of any case where 5 VMs can accomplish more work on one processor than simply letting the processor manage it all (except if the OS and or application can't efficiently split the task into the necessary multiple threads, which I don't think is an issue here). By definition, the total accomplished must be less with VMs, because the hypervisor will take some CPU cycles. Wilton ___ -- 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
RE: [Asterisk-Users] Network Architecture Question
Sorry for the top post. If you have three remote offices and can control the routers, use a hardware vpn router. I use netgear FVS318's and FVL328's. They are inexpensive and functional for small offices and your server is not exposed. Paul From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ilia Shapira Sent: Thursday, October 27, 2005 1:06 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Network Architecture Question I currently have the following network configuration: Internet--Firewall --- DMZ --- Company A --- Company B --- Company C Each company has its own network address I want to install asterisk and use SIP hardware phones that will be located in all the companies and also have a few phones that will be located on remote sites (only 2 or 3). I have been thinking that the best place to put the server will be in DMZ. Am I right or you can suggest me some other solution? Thanks. http://111775.sigclick.mailinfo.com/sigclick/01080005/02044907/05004D00/109 12515.jpg Make sure YOUR emails don't get lost! Download Mailinfo here http://www.mailinfo.com/web/?uid=111775 attachment: winmail.dat___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Network Architecture Question
OpenVPN is pretty great I have learned (also free). Sorry for the top post. If you have three remote offices and can control the routers, use a hardware vpn router. I use netgear FVS318's and FVL328's. They are inexpensive and functional for small offices and your server is not exposed. Paul From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ilia Shapira Sent: Thursday, October 27, 2005 1:06 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Network Architecture Question I currently have the following network configuration: Internet--Firewall --- DMZ --- Company A --- Company B --- Company C Each company has its own network address I want to install asterisk and use SIP hardware phones that will be located in all the companies and also have a few phones that will be located on remote sites (only 2 or 3). I have been thinking that the best place to put the server will be in DMZ. Am I right or you can suggest me some other solution? Thanks. http://111775.sigclick.mailinfo.com/sigclick/01080005/02044907/05004D00/109 12515.jpg Make sure YOUR emails don't get lost! Download Mailinfo here http://www.mailinfo.com/web/?uid=111775 ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.6/151 - Release Date: 10/28/05 ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Network Architecture Question
I currently have the following network configuration: Internet--Firewall --- DMZ --- Company A --- Company B --- Company C Each company has its own network address I want to install asterisk and use SIP hardware phones that will be located in all the companies and also have a few phones that will be located on remote sites (only 2 or 3). I have been thinking that the best place to put the server will be in DMZ. Am I right or you can suggest me some other solution? Thanks. Make sure YOUR emails don't get lost! Download Mailinfo here ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users