<div dir="ltr">thanks a lot for your advice i really appreciate it :)<br><br>
<div class="gmail_quote">2011/5/20 Mark Deneen <span dir="ltr">&lt;<a href="mailto:mdeneen@gmail.com">mdeneen@gmail.com</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"> <br><br>
<div class="gmail_quote">
<div class="im">On Fri, May 20, 2011 at 4:38 AM, Ishfaq Malik <span dir="ltr">&lt;<a href="mailto:ish@pack-net.co.uk" target="_blank">ish@pack-net.co.uk</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">If you are going to use call files don&#39;t write them directly to<br><br>/var/spool/asterisk/outgoing/<br>
<br>write them in some temp directory and then move them to<br><br>/var/spool/asterisk/outgoing/<br><br>Ish<br>
<div>
<div></div>
<div><br></div></div></blockquote>
<div> </div>
<div><br></div></div>
<div>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&#39;t get the atomic operation you were hoping for.</div>

<div><br></div><font color="#888888">
<div>-M</div></font></div><br>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>              <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>
  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>