On 1/10/07, <b class="gmail_sendername">Yuan LIU</b> <<a href="mailto:yliu11@hotmail.com">yliu11@hotmail.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;">
>From: "Ralph Liebessohn" <<a href="mailto:ralphliebessohn@gmail.com">ralphliebessohn@gmail.com</a>><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 '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'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