We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Error creating grammar

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
ifbyphone
Posts: 3
Joined: Thu May 05, 2005 2:54 pm

Error creating grammar

Post 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

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR grammar needs to be specified for proper loading

Post 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

Post Reply