[asterisk-users] Asterisk Manager API - Originate command
Matt Riddell
matt at venturevoip.com
Mon Sep 10 16:27:58 CDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Wai Wu wrote:
> Hi all,
>
> Just ran into some issue with the originate AMI command. It seems that
> there is a limit of around 120 calls I can place with the originate
> command simutanously. By that I mean sending Asterisk a lot of originate
> command very fast. Anyone know if there is a limitation? Thnx.
First off, you should be using Async: true
Secondly, you shouldn't really be doing 120 simultaneous calls.
If your server can take say 300 concurrent calls, you will probably need
to start those up with about 30ms between them.
If you really need to start 120 calls all at the identical time, you
probably want to be looking at clustering Asterisk servers.
In SmoothTorque we set a minimum value for delay between calls, then
have a funnel which accepts calls from predictive campaigns.
The funnel knows about the connections to the Asterisk servers, and
distributes the calls in a round robin fashion (assuming all servers are
up).
Each server has a queue which allows calls sent to that server to back
up, and if a queue gets too full calls won't be sent to that server.
If, after stopping the sending of calls to a server, the queue does not
empty out, the server is placed into an inactive state, and a server
marked as standby is moved into the active state.
Any calls which remain in the queue are redistributed to other servers.
Hope that helps!
- --
Kind Regards,
Matt Riddell
Director
_______________________________________________
http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://feeds.venturevoip.com/AsteriskNews (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFG5bbeDQNt8rg0Kp4RArWFAKCoMPxaDmVLwPD+hupU9T8n+NuFYQCguq8c
T3+G284pc4LV/JMlj13v8gU=
=oaJj
-----END PGP SIGNATURE-----
More information about the asterisk-users
mailing list