#!/usr/bin/php -q
in the first line of my script and then just calling the script by name in my dialplan using the agi command.
-f wants a filename and doesn't seem to make sense in this context.
On 8/6/06, Kristian Kielhofner <[EMAIL PROTECTED]> wrote:
Tom Lynn wrote:
> I just started learning agi scripts. I'm working with the examples in the
> TFOT O'Reilly book. The perl example needed only two modifications for
> astlinux. Changing the first line to reflect microperl and removing USE
> Strict. All then works OK.
>
> However, when I try out the php example, I find that even though I'm
> calling
> php with the -q (quiet) option, http headers are still being sent to
> asterisk.
>
> Has anybody else encountered this? If so, is there a fix?
>
> Thanks - Tom
Tom,
Did you try adding "-f" as well?
--
Kristian Kielhofner
_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED].
_______________________________________________ Astlinux-users mailing list [email protected] http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
