Speech Roecognization in Asterisk

I have to acheive recognization in asterisk. MY dial plan look like the below:

exten => s,1,SpeechCreate()
exten => s,2,SpeechActivateGrammar(company-directory)
exten => s,2,SpeechStart()
exten => s,3,SpeechBackground(who-would-you-like-to-dial)
exten => s,4,SpeechDeactivateGrammar(company-directory)
exten => s,5,Goto(internal-extensions-${SPEECH_TEXT(0)})

i am confused , that how to activategrammer and i dont have grammer yet. is there anybody to help me. when the speechstart call hangs up. no response yet. kindly help me out thanks.


You do have lumenvox speech rec app installed ?


i dont have that, i dont buy that. Does the asterisk res_speech work?
kindly let me know thanks.