[Asterisk-Users] AGI/php script not working
Philipp von Klitzing
klitzing at pool.informatik.rwth-aachen.de
Thu May 20 06:00:22 MST 2004
Hi!
> I am just getting started with AGI
>
> so I wrote the following script as a simple test
> but all that happens is silence before it times out and hangs up
> can someone help to get me started?
Look here:
http://www.voip-info.org/wiki-Asterisk+AGI+php
> php -q
> <?php
> fputs(STDOUT 'SAY NUMBER 123 "#*"\n');
> $lin = fgets(STDIN);
> ?>
Is that really your entire script, or did you cut out most of the lines?
If not, then I am afraid that you need to do quite some reading on both
AGI and PHP first.
Cheers, Philipp
More information about the asterisk-users
mailing list