<div>Asterisk runs as root but what about the bash script or the php file that creates the file? Maybe comment the &quot;mv&quot; command and check the file permissions by <b>&quot;ls -la call-filename.call&quot;</b> to be sure.</div>

<div><br></div><b>chown root.root call-filename</b> (if root is really the user running Asterisk) and then the &quot;mv&quot; command line should do the trick.<div><br></div><div>If you are sure that permissions are not the problem and you have archive set to yes then you can browse the <b>/var/spoo/asterisk/outgoing_done</b> folder to see if the call file is transferred there or not. The file should contain some info to help you and it&#39;s existence also means that somehow you are not seeing the call through your CLI as it&#39;s processed. However I doubt this is happening.</div>

<div><br></div><div>-Bruce</div><br><div class="gmail_quote">On Mon, Feb 7, 2011 at 11:46 AM, Gilles <span dir="ltr">&lt;<a href="mailto:codecomplete@free.fr">codecomplete@free.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

On Mon, 7 Feb 2011 07:57:07 -0800 (PST), Steve Edwards<br>
&lt;<a href="http://asterisk.org" target="_blank">asterisk.org</a>@<a href="http://sedwards.com" target="_blank">sedwards.com</a>&gt; wrote:<br>
&gt;&gt;      sudo /usr/sbin/asterisk -d -d -d -n -v -v -v<br>
&gt;<br>
&gt;Oops. A &#39;-c&#39; should be in there :)<br>
<br>
Thanks Steve for the help.<br>
<br>
I launched * with &quot;asterisk -d -d -d -n -v -v -v -c&quot;, and ran &quot;module<br>
show&quot; to check that pbx_spool.so is loaded:<br>
=============<br>
*CLI&gt; module show like pbx_spool.so<br>
Module                         Description Use Count<br>
pbx_spool.so                   Outgoing Spool Support 0<br>
1 modules loaded<br>
=============<br>
<br>
Next, I moved the following callfile to /var/spool/asterisk/outgoing:<br>
=============<br>
#callfileSIP.call<br>
Channel: SIP/xlite<br>
Context: callback-dialtone-auth<br>
Extension: s<br>
Priority: 1<br>
MaxRetries: 2<br>
RetryTime: 60<br>
WaitTime: 30<br>
=============<br>
<br>
Asterisk runs as root, and owns this file as well.<br>
<br>
Unfortunately, nothing shows up in the console, the xlite extension<br>
isn&#39;t called, even after waiting for a few minutes.<br>
<br>
Could it be that pbx_spool.so isn&#39;t really loaded, or is Asterisk<br>
somehow configured to ignore callfiles?<br>
<br>
Thank you.<br><br></blockquote></div>