I just completed building a feature rich asterisk voicemail system using perl, php, and mysql. My only concern is that the system i built will not be able to handle the call volume needed. Let me start by explaining my setup. Incoming call -> route.agi (perl -> mysql lookup) -> AGI -> voicemailbox (using mysql odbc) or terminate with wrong number message if a message is left in a voicemailbox the following happens: externnotify -> notify.pl (perl -> mysql lookup) -> up to 2 calls originated (using AMI), up to 4 emails sent out (with up to 2 attachemnts of voicemail) this system may need to handle up to 50 concurrent calls. the "notify.pl" script may be called several times a second. My question is, will asterisk be able to handle calling the "notify.pl" script that many times? or is there a better way to handle large volumes of voicemail notification, thank you in advance for your input. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110427/12eb4c1c/attachment.htm>
Hey, You could test it? Setup a second server that calls the voicemail on the first server. Test different call volumes that way. Write a simple script that calls asterisk manager and originate your 50 calls asynchronously, see what happens. If it's a production server, you may want to wait for closing hours. David On 2011-04-27 13:34, vip killa wrote:> I just completed building a feature rich asterisk voicemail system > using perl, php, and mysql. > My only concern is that the system i built will not be able to handle > the call volume needed. Let me start by explaining my setup. > > Incoming call -> route.agi (perl -> mysql lookup) -> AGI -> > voicemailbox (using mysql odbc) or terminate with wrong number message > > if a message is left in a voicemailbox the following happens: > externnotify -> notify.pl <http://notify.pl> (perl -> mysql lookup) -> > up to 2 calls originated (using AMI), up to 4 emails sent out (with up > to 2 attachemnts of voicemail) > > this system may need to handle up to 50 concurrent calls. the > "notify.pl <http://notify.pl>" script may be called several times a > second. > My question is, will asterisk be able to handle calling the "notify.pl > <http://notify.pl>" script that many times? or is there a better way > to handle large volumes of voicemail notification, thank you in > advance for your input. > > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110427/ff8dfc4a/attachment.htm>
Hi Vip, On 28/04/11 05:34, vip killa wrote:> I just completed building a feature rich asterisk voicemail system > using perl, php, and mysql. > My only concern is that the system i built will not be able to handle > the call volume needed. Let me start by explaining my setup. > > Incoming call -> route.agi (perl -> mysql lookup) -> AGI -> > voicemailbox (using mysql odbc) or terminate with wrong number message > > if a message is left in a voicemailbox the following happens: > externnotify -> notify.pl <http://notify.pl> (perl -> mysql lookup) -> > up to 2 calls originated (using AMI), up to 4 emails sent out (with up > to 2 attachemnts of voicemail) > > this system may need to handle up to 50 concurrent calls. the > "notify.pl <http://notify.pl>" script may be called several times a > second. > My question is, will asterisk be able to handle calling the "notify.pl > <http://notify.pl>" script that many times? or is there a better way > to handle large volumes of voicemail notification, thank you in > advance for your input.How long is a piece of string? :-) It all depends on the performance of your hardware. Generally speaking external scripts do have a performance impact so if you find out that your system won't handle the amount of concurrent calls you can either find the bottleneck in your hardware (most likely disc I'd say) and fix that or move logic from your external scripts to the dialplan. cheers, Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110429/6105f629/attachment.htm>