XML grammar and DTMF
Posted: Sat Oct 02, 2010 5:50 pm
Hello,
I am trying to run this grammar but get an "error.grammar.inlined" error;
what I am trying to do is this:
I have a word-based grammar and want to add a digit-based grammar.
I want to be able to get a match using either a word, or a series of digits. I then need to extract the semantic result for further processing.
Works fine with word based. DTMF is failing:
<grammar type="application/srgs+xml" maxage="300" mode="dtmf">
<rule id="ROOT2">
<one-of>
<item>11<tag>foo="bar";</tag>
</item>
</rule>
</grammar>
I am trying to run this grammar but get an "error.grammar.inlined" error;
what I am trying to do is this:
I have a word-based grammar and want to add a digit-based grammar.
I want to be able to get a match using either a word, or a series of digits. I then need to extract the semantic result for further processing.
Works fine with word based. DTMF is failing:
<grammar type="application/srgs+xml" maxage="300" mode="dtmf">
<rule id="ROOT2">
<one-of>
<item>11<tag>foo="bar";</tag>
</item>
</rule>
</grammar>