<div>Asterisk runs as root but what about the bash script or the php file that creates the file? Maybe comment the "mv" command and check the file permissions by <b>"ls -la call-filename.call"</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 "mv" 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's existence also means that somehow you are not seeing the call through your CLI as it'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"><<a href="mailto:codecomplete@free.fr">codecomplete@free.fr</a>></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>
<<a href="http://asterisk.org" target="_blank">asterisk.org</a>@<a href="http://sedwards.com" target="_blank">sedwards.com</a>> wrote:<br>
>> sudo /usr/sbin/asterisk -d -d -d -n -v -v -v<br>
><br>
>Oops. A '-c' should be in there :)<br>
<br>
Thanks Steve for the help.<br>
<br>
I launched * with "asterisk -d -d -d -n -v -v -v -c", and ran "module<br>
show" to check that pbx_spool.so is loaded:<br>
=============<br>
*CLI> 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't called, even after waiting for a few minutes.<br>
<br>
Could it be that pbx_spool.so isn't really loaded, or is Asterisk<br>
somehow configured to ignore callfiles?<br>
<br>
Thank you.<br><br></blockquote></div>