PreviousNextIndex
Nodes and Palette Options > Detailed Palette Option Descriptions > Input
 
Input

Type

Form item

Available from

Note:

The Input item cannot be used in the same node as the Blind Transfer item, the Bridged Transfer item, or the Record item. So, although the Input item appears on palettes for other nodes, such as the Blind Transfer node, the Bridged Transfer node, and the Record node, it is not actually available for use in those nodes without destroying their intended functionality. It is intended primarily for use in the Prompt and Collect node.

Purpose

The Input item is used to collect and process responses from callers. The responses can be in the form either of DTMF key presses or of spoken responses. Usually, the collected input is then used in some way to direct the flow of the call. The collected input can also be used as data that can be used by the application in a variety of ways.

Note:

The Input item in Dialog Designer corresponds with the field within a form in the VoiceXML Version 2.0 W3C Recommendation. See the W3C VoiceXML 2.0 Recommendation.

Behavior

In Dialog Designer, the primary means of collecting and using inputs from callers is through the Prompt and Collect node. In a typical scenario, the system plays a prompt to prompt the caller what type of response is expected, and then it waits for the caller to respond. The Input item is the node element that is responsible for accepting and processing the caller response. When it receives an input from a caller, it submits that input to the ASR engine and then waits for a return result from the ASR engine.

The one essential sub-item of the Input item is the Grammar item. Grammars determine what type of response the system is listening for and can recognize. DTMF grammars determine what touchtone key press or combination of key presses can be recognized and processed. Voice grammars determine what words or phrases can be recognized and processed. You can use both DTMF grammars and voice grammars with a single Input item. For more information about creating and using grammars, see Working with Grammars.

In addition to the Grammar sub-item, the Input item can also take any of the standard event handlers. The Prompt and Collect node automatically includes the No Input and No Match event handlers, but you can add any others you want.

When you place an Input item in the call flow, Dialog Designer automatically creates a complex variable with the same name.

Note:

Because the Prompt and Collect node, by design, includes an Input item, when you place a Prompt and Collect node in the call flow, Dialog Designer automatically creates a complex variable with the same name as the Input item.

This complex variable contains the following fields, which are populated upon completion of the node:

Once the ASR engine returns a recognition result and populates these Input variable fields, you can use the outcome to further direct the call.

Properties

Note:

This name must follow conventions for naming Java components as described in Naming Java Components.


PreviousNextIndex

©2009, Avaya Inc. All rights reserved.