[asterisk-users] click to call with php

Mark Deneen mdeneen at gmail.com
Fri May 20 08:55:45 CDT 2011


On Fri, May 20, 2011 at 4:38 AM, Ishfaq Malik <ish at pack-net.co.uk> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110520/08e3e852/attachment.htm>


More information about the asterisk-users mailing list