[asterisk-users] DeadAgi
Geraint Lee
geraint at gmail.com
Thu Sep 17 15:06:28 CDT 2009
1) does the file exist
2) is it chmod'd to 755 (not sure if this matters though)
3) do you have something like #!/usr/bin/php at the start of the php file?
Cheers
Geraint
2009/9/17 Anahi Ludueña <a_luduena at hotmail.com>
> Hi people, I have the following dialplan:
>
> [context]
> exten => s,1,Noop(Start)
> ...
> exten => h,1,Noop(Ending)
> exten => h,n,DEADAGI(finconf.php,${ARG1},${ARG2})
>
>
> When it is running, the asterisk gives the following error:
>
> -- Launched AGI Script /var/lib/asterisk/agi-bin/finconf.php
> == finconf.php|800|: Failed to execute
> '/var/lib/asterisk/agi-bin/finconf.php': No such file or directory
>
> But the file is there. The command ls -l returns:
>
> *-rwxrwxrwx 1 root root 140 Sep 17 15:42 finconf.php*
>
> Why does it return the error?
>
> Thanks,
>
> *
> ------------------------------
> *
>
> *Anahi Ludueña*
>
>
>
>
>
> ------------------------------
> Disfruta antes que nadie del nuevo Windows Live Messenger<http://download.live.com>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2009 - October 13 - 15 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090917/82e74cd1/attachment.htm
More information about the asterisk-users
mailing list