shawn bright
2007-May-04 11:37 UTC
[asterisk-users] question about more than one drop file
hello there all, if i have a script that writes drop files into /var/spool/asterisk/outgoing asterisk picks up the file and initiates the call just fine. however, what is supposed to happen if more than one gets dropped in there within like a second. Will it wait till the first is complete to initiate the second ? Do they dissapear ? thanks shawn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070504/385294de/attachment.htm
Good question shawn, The callfile does get deleted once the call has been finished (I believe its FINISHED, not processed) No, they are not executed sequentially......exactly. Well, from your point of view, you can drop tons of them in there and all of the calls will fire up. I have dropped over 200 in at the same time (well, as fast as mv can write them.) And the asterisk box went through all of them. So if its a time thing, you should not have to worry about it. -bkruse shawn bright wrote:> hello there all, > if i have a script that writes drop files into > /var/spool/asterisk/outgoing > asterisk picks up the file and initiates the call just fine. > however, what is supposed to happen if more than one gets dropped in > there > within like a second. Will it wait till the first is complete to > initiate the second ? > Do they dissapear ? > > thanks > shawn > ------------------------------------------------------------------------ > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
dave cantera
2007-May-05 19:45 UTC
[asterisk-users] question about more than one drop file
shawn, you can set an archive variable in the .call file to 'yes' and it will save it in ./outgoing_done... if there is now outbound line availible, the .call file is updated (appended to) as per the status... * will keep trying till it completes the calls or the number of retries is reached. then it will archive the .call file if archive=yes... if you drop a ton of files in the ./outgoing, it tries to make all the calls at 'almost' once. if you drop 20 .call files in there in about 2 seconds, all calls will initiate. if you have less than 20 outbound lines, the will all get stalled (for lack of a better word) and queue up until an outbound line is freed up... daveC shawn bright wrote:> hello there all, > if i have a script that writes drop files into > /var/spool/asterisk/outgoing > asterisk picks up the file and initiates the call just fine. > however, what is supposed to happen if more than one gets dropped in > there > within like a second. Will it wait till the first is complete to > initiate the second ? > Do they dissapear ? > > thanks > shawn > ------------------------------------------------------------------------ > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > 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.5.467 / Virus Database: 269.6.2/785 - Release Date: 05/02/2007 02:16 PM >-- Building Strong Relationships w/ Intelligent Customer Service -- Interlocking Business Solutions, LLC 856-380-0894 x5000