error.grammar.option - how come?
Posted: Wed Jun 16, 2010 1:02 pm
I have a simple form with one field:
It's generating this error:
So what's wrong with those option tags? The page validates correctly, and it works when run at BeVocal. Is there some difference in platforms here that I'm missing?
Code: Select all
<field name="membershipIdField">
<prompt><audio src="/voiceaudio/chooseaccount.wav">
Which account would you like to use?
</audio>
<enumerate/></prompt>
<option accept="approximate" value="912323"> Fleet CCS Internal </option>
<option accept="approximate" value="1123456"> Staff Discount Plan </option>
<filled>
<assign name="membershipId" expr="parseInt(membershipIdField)"/>
</filled>
</field>
Code: Select all
GrammarManager::CreateGrammarFromString(application/x-jsgf):
---------
<?xml version='1.0'?>
<grammar xml:lang="en-US" mode="voice">
(Fleet|CCS|Internal)+ {912323} | (Staff|Discount|Plan)+ {1123456}
</grammar>
---------
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>
A serious error of type </speak>
---------
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>error.grammar.option</speak>
---------
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak> has occurred. Exiting. </speak>
---------
VXI::exit_element()