These voice elements define menus that support from 2 to 10
options. The Menu voice elements are similar to the Form voice element, however
the number of choices is fixed and all grammars are defined in the voice
element itself. Additionally, there is an exit state for each option, therefore
the captured value does not have to be analyzed afterwards to determine the
next dialog in the call flow. Use Menu elements when the situation defines a
fixed number of choices where each choice does something different in the call
Because the number of exit states is fixed for a voice element,
there are separate voice elements for Menu voice elements with 2 to10 options.
For each additional option, three additional settings are added to handle the
spoken keyword, DTMF entry, and interpretation value for each option. The audio
groups and element data saved are the same for all Menu voice elements.
Each option must be assigned an interpretation value that the
element will return as element data named
value when any of the keywords or DTMF key presses
assigned to that option are captured. The element variable
(value) will contain the same value regardless of the input
mode (speech or DTMF).
The audio groups are identical to those of the Form voice element.
done_audio_group group may be used for a message
that is to be played regardless of what option is chosen. If an option specific
message is desired, it is recommended that the
done_audio_group not be configured and an Audio
voice element be used after the particular choice is made.