<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi,<br>&nbsp;&nbsp; I'm using lumenvox with AsteriskAGI, everything goes well but when it's time to get_variable it dosen't return anything. Here's a piece of code I'm using <br>#play the welcome message<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $AGI-&gt;stream_file('tts/'.basename($sec,".wav"));<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $AGI-&gt;exec('SpeechCreate');<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $AGI-&gt;exec('SpeechLoadGrammar /var/lib/asterisk/agi-bin/lumen_gram.gram');<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $AGI-&gt;exec('SpeechActivateGrammar');<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $AGI-&gt;exec('SpeechStart');<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $AGI-&gt;exec('SpeechBackground beep|10');<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my %text =
 $AGI-&gt;get_variable('SPEECH_TEXT(0)');<br>what am I doing wrong? I would appreciate any help or pointers in the right direction.<br>Thanks in advance.<br>Jazzy<br><br></div></div><br>

<hr size=1><a href="
http://us.rd.yahoo.com/evt=49981/*http://advision.webevents.yahoo.com/mailbeta/features_spam.html">Sucker-punch spam</a> with award-winning protection.<br> Try the <a href="
http://us.rd.yahoo.com/evt=49981/*http://advision.webevents.yahoo.com/mailbeta/features_spam.html">free Yahoo! Mail Beta.</a></body></html>