On Fri, May 20, 2011 at 4:38 AM, Ishfaq Malik <[email protected]> wrote:

> If you are going to use call files don't write them directly to
>
> /var/spool/asterisk/outgoing/
>
> write them in some temp directory and then move them to
>
> /var/spool/asterisk/outgoing/
>
> Ish
>
>

Make sure that your temp file is on the same mounted file system as
/var/spool/asterisk/outgoing.  If they are on different file systems, mv
will do a cp and a rm in this situation and you won't get the atomic
operation you were hoping for.

-M
--
_____________________________________________________________________
-- 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