Interaction Mode

An interaction mode specifies the type of interaction the speech port will have with a user. An interaction mode can be voice or DTMF.

In a grammar, you specify whether the grammar will be used in a DTMF interaction or a voice interaction. When grammars are activated in a speech port, only the voice grammars are used to decode speech, and only the DTMF grammars are used to process a DTMF string.

To specify the interaction mode in a grammar, use the following syntax:

ABNF

mode voice;

or

mode dtmf;

XML

<grammar mode="voice" ...>

or

<grammar mode="dtmf" ...>

Was this article helpful?