On 1/10/07, <b class="gmail_sendername">Yuan LIU</b> &lt;<a href="mailto:yliu11@hotmail.com">yliu11@hotmail.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;">
&gt;From: &quot;Ralph Liebessohn&quot; &lt;<a href="mailto:ralphliebessohn@gmail.com">ralphliebessohn@gmail.com</a>&gt;<br>I did a quick test and it seems that everything passed to AGI is by value,<br>and there is no apparent relationship between variable named used in two
<br>different AGI commands.<br><br>However, a small adaption of dial plan could accomplish what you wanted,<br>that is, to read the variable in dial plan, then pass its value to AGI.<br>Hope this helps.<br><br>Yuan Liu<br>
</blockquote></div><br>Hello people,<br><br><br>next step.<br>With many other tests I may conclude that AGI is not saving my password, it is giving it to asterisk temporaly and the next step executed by asterisk doesn &#39;t know the variable.
<br>If I run SAYDIGITS after READ inside extensions it works fine. What I cannot say running it on AGI.<br>The architecture of Yuan or Anton can work, but how pass the value from dialplan to AGI or wich AGI librarie give me the function of READ in dialplan?
<br>I tried to pass value from dialplan using:<br><br>AGI(myagi.php|${var})<br><br>But AGI didn&#39;t see $var value. And using GET/SET VARIABLE and STREAM FILE into AGI is passing through the commands, nothing is being done or waiting to dial digits.
<br>Is that the correct way to go?<br clear="all"><br>-- <br>Ralph Liebessohn<br>ICQ: 74835911<br>Skype: liebessohn