I made 500 calls but not simultaneously. My script checks that there are no more than 3 .call files in the "outgoing".
I change in my python script, now move file with os.system... import os os.system ("mv"+ " " + tmpFile + " " + callFile) see what happens... On Fri, Aug 12, 2011 at 12:40 PM, Danny Nicholas <da...@debsinc.com> wrote: > Also, keep in mind that the spooling mechanism has "mechanical limits" > based > on processor speed, line capacity, etc. If I were doing 500 calls, I would > use sleep to space the starting of the calls (maybe 5 or 15 second > intervals). > > -----Original Message----- > From: asterisk-users-boun...@lists.digium.com > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Roger Burton > West > Sent: Friday, August 12, 2011 10:32 AM > To: asterisk-users@lists.digium.com > Subject: Re: [asterisk-users] .call files in /var/spool/asterisk/outgoing > > On Fri, Aug 12, 2011 at 12:27:45PM -0300, equis software wrote: > >Yes, same server, same filesystem... > > I don't do Python, but a web search for shutil.move suggests that it > doesn't reliably use the "rename" syscall. Might be worth shelling out > to your system's mv command. > > R > > -- > _____________________________________________________________________ > -- 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 >
-- _____________________________________________________________________ -- 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