I've got a simple valid inline grammar in my voicexml script:
<grammar mode="voice">
<rule id="ready">ready</rule>
</grammar>
The page with this grammar passes validation with your VoiceXML validator; it passes your grammar validation tool; and works as expecte with your grammar teser. It also works correctly in another company's hosted service.
However, each time I try this grammar, I get an error.grammar.inlined.
The Last Call Log shows
<?xml version='1.0'?>
<grammar xml:lang="en-US" mode="voice">
<rule id="ready" scope="private">ready</rule>
</grammar>
and the pre-pended <?xml?> statement isn't loved by your grammar validator, which make me wonder what's going on.
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
Valid Grammar, but Fails Inline
Link for IVR grammars
Hi,
When you don't specify the type, it defaults to "application/x-jsgf". This explains why it didn't work for you when you tried:
For more information on our IVR grammars, you can go to this link:
http://www.plumvoice.com/docs/dev/devel ... ce:grammar
Also, the VoiceXML validator detects syntax errors, not IVR grammar errors. This is why the VoiceXML page validator didn't pick this up.
Regards,
Plum Support
When you don't specify the type, it defaults to "application/x-jsgf". This explains why it didn't work for you when you tried:
Code: Select all
<grammar mode="voice">
<rule id="ready">ready</rule>
</grammar>
http://www.plumvoice.com/docs/dev/devel ... ce:grammar
Also, the VoiceXML validator detects syntax errors, not IVR grammar errors. This is why the VoiceXML page validator didn't pick this up.
Regards,
Plum Support
Last edited by support on Fri Feb 19, 2010 5:00 pm, edited 3 times in total.
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com