I was just looking at AGI with PHP myself. I just have a real dumb question. How does Linux know to send $stdout(or echo) to *? What if there are other apps open as well waiting for input. WOn't they get the output?Costas,
Also, how does the AGI know to read from $stdin is * input?
Costas
Take a look at http://www.voip-info.org/wiki-Asterisk+AGI+php
You need to open stdin and stdout to the PHP script..
$stdin = fopen('php://stdin', 'r');
$stdout = fopen('php://stdout', 'w');also make sure you start the script with
ob_implicit_flush(false); set_time_limit(5);
later..
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
