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 *"ls -la call-filename.call"* to be sure.

*chown root.root call-filename* (if root is really the user running
Asterisk) and then the "mv" command line should do the trick.

If you are sure that permissions are not the problem and you have archive
set to yes then you can browse the */var/spoo/asterisk/outgoing_done* 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.

-Bruce

On Mon, Feb 7, 2011 at 11:46 AM, Gilles <codecompl...@free.fr> wrote:

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