• Idefisk
  • Tools
  • Tutorials
  • Reviews
  • VoIP Providers
  • Archives
ZOIPER softphone
AsteriskGuru Archives
Mailing List Archives
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[asterisk-speech-rec] need help with asterisk lumenvox agi

 
   AsteriskGuru Archives Forum Index -> Asterisk-Speech-Rec
View previous topic :: View next topic  
Author Message
jazzy_gill at yahoo.com
Guest





PostPosted: Thu Jul 05, 2007 9:50 pm    Post subject: [asterisk-speech-rec] need help with asterisk lumenvox agi

Hi,
   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
#play the welcome message
        $AGI->stream_file('tts/'.basename($sec,".wav"));
        $AGI->exec('SpeechCreate');
        $AGI->exec('SpeechLoadGrammar /var/lib/asterisk/agi-bin/lumen_gram.gram');
        $AGI->exec('SpeechActivateGrammar');
        $AGI->exec('SpeechStart');
        $AGI->exec('SpeechBackground beep|10');
        my %text = $AGI->get_variable('SPEECH_TEXT(0)');
what am I doing wrong? I would appreciate any help or pointers in the right direction.
Thanks in advance.
Jazzy




[url= http://us.rd.yahoo.com/evt=49981/*http://advision.webevents.yahoo.com/mailbeta/features_spam.html]Sucker-punch spam[/url] with award-winning protection.
Try the [url= http://us.rd.yahoo.com/evt=49981/*http://advision.webevents.yahoo.com/mailbeta/features_spam.html]free Yahoo! Mail Beta.[/url]
Back to top
Display posts from previous:   
   AsteriskGuru Archives Forum Index -> Asterisk-Speech-Rec All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™