Re: [asterisk-users] .call files in /var/spool/asterisk/outgoing

2011-08-14 Thread Tzafrir Cohen
On Fri, Aug 12, 2011 at 04:32:09PM +0100, Roger Burton West wrote: > 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 b

Re: [asterisk-users] .call files in /var/spool/asterisk/outgoing

2011-08-12 Thread Hakan C
boun...@lists.digium.com] *On Behalf Of *equis software > *Sent:* Friday, August 12, 2011 11:06 AM > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > > *Subject:* Re: [asterisk-users] .call files in > /var/spool/asterisk/outgoing > > ** ** > > I made 500

Re: [asterisk-users] .call files in /var/spool/asterisk/outgoing

2011-08-12 Thread Danny Nicholas
...@lists.digium.com] On Behalf Of equis software Sent: Friday, August 12, 2011 11:06 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] .call files in /var/spool/asterisk/outgoing I made 500 calls but not simultaneously. My script checks that there are no more than 3

Re: [asterisk-users] .call files in /var/spool/asterisk/outgoing

2011-08-12 Thread equis software
(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 >

Re: [asterisk-users] .call files in /var/spool/asterisk/outgoing

2011-08-12 Thread Danny Nicholas
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 soft

Re: [asterisk-users] .call files in /var/spool/asterisk/outgoing

2011-08-12 Thread Roger Burton West
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 --

Re: [asterisk-users] .call files in /var/spool/asterisk/outgoing

2011-08-12 Thread equis software
Yes, same server, same filesystem... On Fri, Aug 12, 2011 at 12:26 PM, Roger Burton West wrote: > On Fri, Aug 12, 2011 at 12:23:22PM -0300, equis software wrote: > > >shutil.move('/var/tmp/1.call','/var/spool/asterisk/outgoing/1.call') > > Are both /var/tmp and /var/spool/asterisk/outgoing on the

Re: [asterisk-users] .call files in /var/spool/asterisk/outgoing

2011-08-12 Thread Roger Burton West
On Fri, Aug 12, 2011 at 12:23:22PM -0300, equis software wrote: >shutil.move('/var/tmp/1.call','/var/spool/asterisk/outgoing/1.call') Are both /var/tmp and /var/spool/asterisk/outgoing on the same filesystem? -- _ -- Bandwidth

[asterisk-users] .call files in /var/spool/asterisk/outgoing

2011-08-12 Thread equis software
Hi ! I have a python script that create and move .call files to /var/spool/asterisk/outgoing Sometimes...(in this case after 500 successfull calls) Asterisk donĀ“t make the calls and the .call files are in the "outgoing" forever... Any Ideas? I'm using Asterisk 1.4.22 (in 1.4.36 was the same behavi