[Asterisk-Users] Outgoing spool file ignored

trixter http://www.0xdecafbad.com trixter at 0xdecafbad.com
Sun May 15 12:52:25 MST 2005


On Sun, 2005-05-15 at 09:27 -1000, Jean-Denis Girard wrote:
> Thanks for your reply, but unfortunately I'm aware of this, and the file 
> is first created in a temporary directory, then moved to asterisk's 
> outgoing directory. Move is done from a Perl script, using the 
> File::Copy module; I think it's an atomic operation on Linux (like the 
> mv shell command), but maybe I'm wrong?

I am unfamiliar with that module, is it a mv or a copy then delete?
Further is it the same partition (if a mv is done across seperate
partitions its the same as a copy then delete).

If this happens with any regularity you may try system() and make sure
its a mv not a cp then rm.

The only problem I have had with asterisk deleting queue files but not
actually processing them is this race condition, so if its something
else I havent noticed it on my box (and I use queues heavily but the box
is mostly idle so ...)


-- 
Trixter http://www.0xdecafbad.com
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050515/759ef09c/attachment.pgp


More information about the asterisk-users mailing list