Hi,<br> i've got a quite simple question. I'm writing an agi script
(based on phpagi). My script is working just fine, i'm just unable to
pass (set) a variable from my agi script to my dialplan. I'm setting a
variable into my script, but when it ends and return to dialplan, the
variable is just empty.<br>
<br>
Here is my dialplan<br>
<br>
exten => _X., 1, DeadAGI(myscript.php)<br>
exten => _X., n, Verbose(1,${MYVAR})<br>
<br>
<br>
Here is my script<br>
<br>
bla bla bla<br>
$agi->set_var("MYVAR","1234");<br>
?><br>
<br>I tryed uper and lowercase<br>I tryed prefixing variable name with __<br><br>If you have any idea ...<br>
<br>
Thank you<br>
<br>
Mathieu