<span id="result_box" class="" lang="en"><span class="hps">I made</span> <span class="hps">500 calls</span> <span class="hps">but not simultaneously.</span> <span class="hps">My</span> <span class="hps">script</span> <span class="hps">checks that</span> <span class="hps">there are no</span> <span class="hps">more than</span> <span class="hps">3 .c</span><span class="hps">all</span> files <span class="hps atn">in the &quot;</span><span class="">outgoing&quot;</span></span>.<br>
<br>I change in my python script, now move file with os.system...<br>import os<br>os.system (&quot;mv&quot;+ &quot; &quot; + tmpFile + &quot; &quot; + callFile)<br><br><span id="result_box" class="short_text" lang="en"><span class="hps">see what happens...</span></span><br>
<br><br><div class="gmail_quote">On Fri, Aug 12, 2011 at 12:40 PM, Danny Nicholas <span dir="ltr">&lt;<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Also, keep in mind that the spooling mechanism has &quot;mechanical limits&quot; based<br>
on processor speed, line capacity, etc.  If I were doing 500 calls, I would<br>
use sleep to space the starting of the calls (maybe 5 or 15 second<br>
intervals).<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a><br>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Roger Burton<br>
West<br>
Sent: Friday, August 12, 2011 10:32 AM<br>
To: <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
Subject: Re: [asterisk-users] .call files in /var/spool/asterisk/outgoing<br>
<div><div></div><div class="h5"><br>
On Fri, Aug 12, 2011 at 12:27:45PM -0300, equis software wrote:<br>
&gt;Yes, same server, same filesystem...<br>
<br>
I don&#39;t do Python, but a web search for shutil.move suggests that it<br>
doesn&#39;t reliably use the &quot;rename&quot; syscall. Might be worth shelling out<br>
to your system&#39;s mv command.<br>
<br>
R<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>