Specify grammars for confirmation

For projects meant to support a VoiceXML application, Mix lets you specify GrXML grammars, for speech and DTMF confirmation interactions. An external DTMF grammar is required if you want your VoiceXML application to support sequences of digits, or dynamic DTMF options. Confirmation grammars must return either nuance_BOOLEAN='true' (for an affirmative user response), or nuance_BOOLEAN='false' (for a negative user response).

  Speech confirmation GrXML grammar example  
  DTMF confirmation GrXML grammar example  
  1. In the Project Settings panel, expand All channels, and click Confirmation settings.
  2. Scroll down to the Grammars section.
  3. Turn on the desired options: Reference speech grammar, or Reference DTMF grammar.
  4. If the VoiceXML application will support DTMF confirmation, choose the desired DTMF keys for Yes and for No.

    Alternatively, use the the grammar filename field to either specify a filename or choose a variable, as needed:
    • Enter the name of the desired grammar file, including the extension (for example, my-confirmation-grammar.grxml).
    • Choose the variable that is meant to hold a dynamic grammar reference at runtime.
      Tip: Use the search field to narrow down the list if needed. If the variable you want to use is missing, you can create it on the fly, and then use it immediately.