[Asterisk-Dev] PHP AGI - seems to ignore anything but EXEC
Duane
digium at aus-biz.com
Sun May 9 20:34:06 MST 2004
Paul Cadach wrote:
> Don't forget to add fflush($stdout) after issuing each command because PHP uses
> buffering for its output.
It's not the buffering that holds up php scripts, it's the fact you were
reading the return values...
For example the scripts I coded up to better handle enum parsing/dialing
( http://www.e164.org/enum.php ) does no flushing yet there is a read
line after every command...
--
Best regards,
Duane
http://www.cacert.org - Free Security Certificates
http://www.nodedb.com - Think globally, network locally
http://www.sydneywireless.com - Telecommunications Freedom
http://happysnapper.com.au - Sell your photos over the net!
http://e164.org - Using Enum.164 to interconnect asterisk servers
More information about the asterisk-dev
mailing list