hi folks,<br><br>I&#39;ve built a simple PHP-script utilizing the AGI-interface. in extensions.conf I trigger the script and pass a single value as first argument:<br><br>exten =&gt; h,1,DeadAGI(process.php|${Enter})<br><br>
On the Asterisk-console, I can actually see that the script is called correctly (something like &quot;DeadAGI(process.php|1234)&quot;). However, when I read stdin in the PHP script, I receive all AGI-environment variables (agi_request, agi_callerid etc.) correctly, but I&#39;m missing the actual passed value (which should be in agi_arg_1 etc.). the last thing I get from stdin is the environment-variable agi_accountcode, after this it seems to stop.
<br><br>what&#39;s really strange is, that the exact same script has been working correctly on a different machine...<br><br>any suggestions highly appreciated, thx!<br><br>regards,<br>michael<br>