On 1/11/07, <b class="gmail_sendername">Mike D'Ambrogia</b> <<a href="mailto:miked@jamagination.com">miked@jamagination.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><span><font color="#0000ff" face="Arial" size="2">on the
php AGI side the ${var} parameter passed in from your dialplan will be exposed
in PHP's $argv[1] array element</font></span></div>
<div><span><font size="2"></font></span> </div>
<div><span><font size="2"><font color="#0000ff" face="Arial">fwrite(STDOUT,"exec saydigits
$argv[1]\n");</font></font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"><font size="2"></font></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2"><font size="2">as a side note $argv[0] contains the full path including filename to the
script</font></font></span></div>
<div><span></span> </div>
<div><span></span><span><font color="#0000ff" face="Arial" size="2">Hope this helps</font></span></div><span class="sg">
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">Mike</font></span></div></span></div></blockquote></div><br>Mike,<br><br>it didn't help.<br>I just SOLVED the problem! You're a genius.<br>Now I can get information from dialplan.
<br>Do you know why the other ways didn't work?<br><br>-- <br>Ralph Liebessohn<br>ICQ: 74835911<br>Skype: liebessohn