[asterisk-users] 100 outgoing calls - 10 at a time - /var/spool/asterisk/outgoing/

A J Stiles asterisk_list at earthshod.co.uk
Fri Sep 28 03:10:45 CDT 2012


On Friday 28 September 2012, Patrick Archibald wrote:
> Hi,
> 
> Is there a way to move 100 .call files in to
> /var/spool/asterisk/outgoing/ at once and have Asterisk call at
> maximum 10 at a time?

Yes:  Move them in batches of 10.  Could be as simple as
last if ++$n_files > 9;
if the script is in Perl.

You know how many calls you can deal with at once; it's up to you to stay 
within your own limits.  Asterisk just tries its damnedest to do whatever it's 
been told, without imposing any sort of judgement as to whether it's sane or 
wholesome.


-- 
AJS

Answers come *after* questions.



More information about the asterisk-users mailing list