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.
-- Always do right. This will gratify some people and astonish the rest. Mark Twain _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
