Page 1 of 1

Error creating grammar

Posted: Sun May 15, 2005 5:45 pm
by ifbyphone
The following grammar:

http://ifbyphone.com/grammar/game050515195913.grxml

Validates correctly with both the SRGS/XML and Grammar Tester tool. And it works correctly with the grammar tester tool. But when referenced in a script as:

<field name="yousaid">
<grammar type="application/srgs+xml" src="http://ifbyphone.com/grammar/game050515195913.grxml"/>

It produces an "Error creating grammar" error and the script aborts.

Thank you in advance for any assistance.

Irv

IVR grammar needs to be specified for proper loading

Posted: Thu May 19, 2005 8:12 am
by support
Hello,

Unfortunately that link appears to be no longer available. Quite often the cause for IVR grammar errors is that the mode attribute is not specified. If you attempt to load a grammar that uses * or # but do not specify it as mode="dtmf" then the IVR platform attempts to load it as both voice and dtmf. When it does the final pass over the voice grammar with * or # it will throw an error.grammar.inlined because those are illegal characters in voice grammars.

Hope This Helps!
Plum Support