VoiceXML 2.1 Development Guide Home  |  Frameset Home

  Fetchhint Settings  |  TOC  |  Subdialog Modifications  

Universal Grammar Modifications

The Prophecy VoiceXML browser is configured with the universal grammars of 'help, cancel, exit' and 'repeat' turned off by default, meaning that these grammars are inactive unless specifically enabled via the <property> invocation. In some older browsers that are still in use today, these grammars are turned on by default, and as such, will not be available on the Prophecy platform unless enabled by the developer. This being the case, any developer porting content that was originally designed for use on other VoiceXML platforms should check and make sure that the default platform settings will not conflict in any existing dialogs, as this can certainly cause some unexpected behavior.

Note that if the grammar for it is not enabled, then any handlers designed to trap these events will become 'null' handlers, which will never get hit from a user's utterance. To enable all of these grammars in your application, you simply need to set the 'universals' property:


<property name="universals" value="all"/>


Alternately, you can activate some, or all of these grammars by specifying the values in a space-delimited list:

<property name="universals" value="help cancel exit"/>


For more information on this <property> setting, please review the Voxeo Documentation Appendices, and the W3C specification.




  ANNOTATIONS: EXISTING POSTS
Deke
10/6/2008 11:29 AM (EDT)
This statement is a little confusing:

<snip>
The Prophecy VoiceXML browser is configured with the universal grammars of 'help, cancel, exit' and 'repeat' turned off by default, meaning that these grammars are active unless specifically disabled
</snip>

...So it's turned off by default, and that means they're active unless you disable them? Aroo?

Brian M.
MattHenry
10/6/2008 11:42 AM (EDT)


Hi Brian,


I recently updated the docs here, and had a goof there, it appears. These grammars are turned OFF by default, and the text in our docs really should read:

"INactive unless specifically ENabled "

This is a 180 degree change between how voice center 5.5 and the prophecy platform behaves; I'll see that this is corrected in our docs ASAP.


~Matt

login
  Fetchhint Settings  |  TOC  |  Subdialog Modifications  

© 2010 Voxeo Corporation  |  Voxeo IVR  |  VoiceXML & CCXML IVR Developer Site