Hello,

Check if file is owned by "asterisk" user.
Also, don't directly create in to /var/spool/asterisk/outgoing/
Create in somewhere else first and then move file to outgoing folder.

Good luck.

On Fri, Aug 12, 2011 at 7:09 PM, Danny Nicholas <[email protected]> wrote:

> Another thought – when a call in /V/S/A/O fails,  the file gets appended
> with call info and retry occurs. You might want to write a second Python
> script to check for and possibly purge failed call files.****
>
> ** **
>
> *From:* [email protected] [mailto:
> [email protected]] *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 .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 <[email protected]>
> 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: [email protected]
> [mailto:[email protected]] On Behalf Of Roger Burton
> West
> Sent: Friday, August 12, 2011 10:32 AM
> To: [email protected]
> 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
>
--
_____________________________________________________________________
-- 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

Reply via email to