Type
Template (composite) node
Purpose
The purpose of this node is to prompt the caller for a spoken reply and then to record the response by the caller. The node then saves the recording in the data/temp folder.
Behavior
When you place this node in the workspace, Dialog Designer automatically creates a variable with the same name. This variable contains the following fields, which are populated on completion of the node:
- duration - The length of the recording in milliseconds.
- size - The size of the recording in bytes.
- termchar - The value of the DTMF key the caller pressed to terminate the recording. If the caller did not press a DTMF key to terminate the recording, this field is undefined.
- maxtime - Boolean value that indicates whether the recording was terminated because the caller exceeded the maximum allowable time for the recording (true) or not (false).
- utterance - A text summary of what the caller said or keyed in to terminate the recording.
- confidence - A number in the range 0.0 to 1.0 that indicates the degree to which the ASR server is confident that it has correctly recognized the termination key word or phrase. 0.0 indicates minimum confidence and 1.0 indicates maximum confidence.
- value - The URL to the audio (*.wav) file that contains the recording of the response of the caller.
The return values in these variable fields can be used or manipulated later in the
application. For example, if you want to play the recording back for the caller to
approve, you can create a prompt that uses a phrase variable with a format of url.
You can then assign the Record variable's value field to that phrase variable. Or,
if you want to assess the general confidence levels of the ASR server, you can
record the return from the confidence field to a database for later report
processing and analysis.
Properties
- Name - Enter a name that reflects the central purpose of the node. Use naming conventions for Java components. See Naming Java Components.
- Comments - Enter any comment you want to add as a reminder or description of the purpose or content of the node. You can leave this field blank.
Dialog Designer uses the text you enter in this property field for the pop-up hint
that appears when your mouse hovers over the node icon in the workspace. If
you leave this blank, Dialog Designer uses the name of the node for the pop-up
hint.
- Location - (Read-only) Displays the location of the node graphic in the workspace.
Default Node Structure (Node Detail Editor Flow)
- Record item - Use this to set options for recording a spoken response. This item uses sub-items to indicate:
- What prompt the application uses to obtain a spoken response from the caller (Prompt item).
- What node the application uses to handle the recording and finish the call transaction if the caller ends the recording by hanging up (On Disconnect item).
- How the system functions if the caller does not respond (No Input item, which has its own associated Prompt item).
- Note that this setting overrides any global, or application-level, settings you might have assigned in the AppRoot node. If you prefer to use the global settings, you can delete this item. For more information about global settings, see AppRoot Node Event Handlers.
- Next item - Indicates which node comes next in the call flow.