Interaction mode

An interaction mode specifies the type of interaction the speech port is to having 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 get used to decode speech, and only the DTMF grammars get 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?
Copyright (C) 2001-2024, Ai Software, LLC d/b/a LumenVox