Re: [asterisk-users] asterisk practices

2011-04-28 Thread Jan Bakuwel
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

--
_
-- 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

Re: [asterisk-users] asterisk practices

2011-04-27 Thread David

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


--
_
-- 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