[Asterisk-Users] Outgoing spool file ignored
Jean-Denis Girard
jd.girard at sysnux.pf
Mon May 16 11:39:23 MST 2005
Eric Wieling aka ManxPower a écrit :
> trixter http://www.0xdecafbad.com wrote:
>
>> How do you create them?
>>
>> There is a race condition with asterisk and the spool where if you
>> create the file or copy it into the queue directory asterisk tries to
>> read and parse the file before you have finished writing it. A
>> suggested method instead is to create it on the same partition then move
>> it into the appropriate directory to prevent this from occuring.
>
>
> Create the file somwhere else. Set the mtime (I think) to sometime in
> the future. Move the file to /var/spool/asterisk/ourgoing. Change the
> mtime to the current time or some time in the past.
>
Thanks, I will try that.
Difficulty is that it happenned only twice in the last couple of months,
so it will be difficult to know if it is solved or not.
Jean-Denis
More information about the asterisk-users
mailing list