<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> 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> $AGI->stream_file('tts/'.basename($sec,".wav"));<br> $AGI->exec('SpeechCreate');<br> $AGI->exec('SpeechLoadGrammar /var/lib/asterisk/agi-bin/lumen_gram.gram');<br> $AGI->exec('SpeechActivateGrammar');<br> $AGI->exec('SpeechStart');<br> $AGI->exec('SpeechBackground beep|10');<br> my %text =
$AGI->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>