Hi
The error message is generated by PHP... If your PHP version is higher
that v4.3.0
line 5: $stdout = fopen('php://stdout', 'w');
should be
$stdout = fopen(STDOUT, 'w');
Wrong... STDOUT is already open within php cli (4.3.0 and above)
so just do
fwrite(STDOUT,blah);
and you're
Hi
firiends,
Sorry for a basic
question here.
I am trying to write
an agi script using php. Nothing fancy just simple script
first.
I call the php
script from the extensions.conf
exten =
91234/1001,1,Wait,1exten = 91234/1001,2,AGI,test.agiexten =
91234/1001,3,Hangup
php script is
;
On Sat, 6 Mar 2004, Doug Harris wrote:
* telles me Error in Argument 1, char 3, option not found. .
script can be run from command line.
Appreciate some help to get going here.
I can't find any error like this in the asterisk source code, perhaps your
error is coming from php?
James
t =
fopen('php://stdout', 'w');
should
be
$stdout =
fopen(STDOUT, 'w');
I suspect that is
the problem, as everything else looks file.
- Original Message -
From:
Doug
Harris
To: [EMAIL PROTECTED] Digium.
Com
Sent: Saturday, March 06, 2004 11:07
AM
Subject: [Aste
Hi,
-Original Message-
I am trying to write an agi script using php. Nothing fancy
just simple script first.
I call the php script from the extensions.conf
exten = 91234/1001,1,Wait,1
exten = 91234/1001,2,AGI,test.agi
exten = 91234/1001,3,Hangup
Hmm, sure you don't need to