[Voiceglue] Grammars not working after install

Doug Campbell voiceglue at campbellcastle.com
Wed Jul 14 15:51:00 UTC 2010


> I am trying to determine if a 1 or a 9 was imputed and I have tried the
> following ways:
>
> <grammar>1|9</grammar>
> <grammar mode="dtmf">1|9</grammar>
> <grammar type="application/srgs">1|9</grammar>
> <grammar type="application/srgs+xml">1|9</grammar>
>
> I read srgs is supported... is it enabled by default or am I just using
> it wrong.

srgs+xml is supported.  It is the only grammar format required by the
VXML 2.0 spec.

However, you are attempting to use srgs which uses ABNF-form grammars,
and that is not supported by voiceglue.

See http://www.w3.org/TR/speech-grammar/ for details.

Doug Campbell


More information about the Voiceglue mailing list