[asterisk-speech-rec] SpeechDeactivateGrammar call after the caller hangs up

Joshua Colp jcolp at digium.com
Wed Sep 26 15:21:31 CDT 2007


> Hello,
> I am using Asterisk 1.4, Lumenvox 8, on Fedora Core 7
> 
> I am having a problem where the SpeechDeactivateGrammar gets an error after
> the hangup and causes Asterisk to quit execution of the script.  If I don't
> hang up or do something that Lumenvox has to execute on, the
> SpeechDeactivateGrammar works ok.  Only on the hangup does the error appear.

The speech applications do not expect to run on channels that have been hung up, and shouldn't need to be.
 
> This is a real problem because my script needs to do post processing after
> the call, even if the person hangs up during speech recognition.

Is it doing stuff specific to the speech recognition?
 
> Is there something I am supposed to do differently on the speech engine
> after a hangup, like not try to deactivate the grammar?

Basically like I said, you shouldn't need to. Cleanup happens automagically.

Joshua Colp
Software Developer
Digium, Inc.



More information about the asterisk-speech-rec mailing list