VoiceXML 2.1 Development Guide Home  |  Frameset Home

  GSL Hints  |  TOC  |  GSL Grammar Slots  

Universal Grammars

The Universal Grammar feature allows developers to take advantage of predefined grammars and responses to catch and handle common voice commands within the VoiceXML application. These grammars will need to be specifically enabled in order for the developer to include them into the application, by way of the W3C 'universals' property, (see below),otherwise, the grammars will be ignored.The included utterances  for Universal events are:


To enable all Universal Grammars in an application, place the following at the <vxml> level of your root document:

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

Or, you can simply define your own universal grammar using the <link> element to handle these user utterances. To customize your event processing for these occurrences, keep in mind that you must assign <catch> elements in your script to handle the event, else the default handlers and audio files will be executed.




  ANNOTATIONS: EXISTING POSTS
0 posts - click the button below to add a note to this page

login

  GSL Hints  |  TOC  |  GSL Grammar Slots  

© 2003-2008 Voxeo Corporation  |  Voxeo IVR  |  VoiceXML & CCXML IVR Developer Site