On 1/11/07, <b class="gmail_sendername">Mike D&#39;Ambrogia</b> &lt;<a href="mailto:miked@jamagination.com">miked@jamagination.com</a>&gt; 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&#39;s&nbsp;$argv[1] array element</font></span></div>
<div><span><font size="2"></font></span>&nbsp;</div>
<div><span><font size="2"><font color="#0000ff" face="Arial">fwrite(STDOUT,&quot;exec saydigits 
$argv[1]\n&quot;);</font></font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"><font size="2"></font></font></span>&nbsp;</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>&nbsp;</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>&nbsp;</div>
<div><span><font color="#0000ff" face="Arial" size="2">Mike</font></span></div></span></div></blockquote></div><br>Mike,<br><br>it didn&#39;t help.<br>I just SOLVED the problem! You&#39;re a genius.<br>Now I can get information from dialplan.
<br>Do you know why the other ways didn&#39;t work?<br><br>-- <br>Ralph Liebessohn<br>ICQ: 74835911<br>Skype: liebessohn