[asterisk-speech-rec] Spawn extension (dial-by-name, s, 2) exited non-zero

Jared Smith jsmith at sokol-associates.com
Mon Oct 22 16:16:00 CDT 2007


On 10/22/07, Trevor Benson <tbenson at a-1networks.com> wrote:
> > I am using the default examples from http://www.voip-
> > info.org/wiki/index.php?page=Asterisk%20Generic%20Speech%20API and I
> > keep getting an non-zero exit from SpeechLoadGrammar.  I have tried
> > specifying SpeechLoadGrammar(company-directory) and
> > SpeechLoadGrammar(/etc/asterisk/grammars/company-directory.gram).  In
> > either case it seems to fail and produce the non-zero status.
>
> Sorry should have read SpeechActivateGrammar, not SpeechLoadGrammar.

Usually if the dialplan just ends at that point, it's a sign that your
grammar isn't being loaded.  Try turning up the verbosity and
reloading the res_speech_lumenvox.so module.  It'll try to warn you if
there's a syntax error or other problem with your grammar.

-Jared



More information about the asterisk-speech-rec mailing list