PreviousNextIndex
Nodes and Palette Options > Detailed Palette Option Descriptions > Text Variable
 
Text Variable

Type

Prompt Segment item

Available from

Any level tab in the Prompt File Editor. For more information about the Prompt File Editor, see Using the Prompt File Editor.

Purpose

Text Variable item is used for:

Behavior

When you place a Text Variable item in a prompt, it takes the value of the designated variable (or variable field, if it is a complex variable). If the variable or variable field contains text, the text variable renders the text as spoken output using TTS.

Note:

Instead of using the text variable with a URL to an audio file, we recommend you to use the Phrase Variable type because it includes additional functionality for playing recorded audio files. (The audio file must be of a supported format: G.711 or *.wav formats only.)

For more information about how to use text variables effectively in applications, see Using the Prompt File Editor to Employ Variables.

Properties

Note:

If you have selected a simple variable in the Variable field, this field is inactive.

Note:

If your system supports SSML, Avaya recommends that you use the SSML Say As option, as it gives you greater control over the TTS output. For more information, see Say As.

Format

Description/Comments

text

Reads the contents of the variable or variable field as normal text. If the contents include numbers, it reads them as numbers. The exact interpretation of numbers depends on the TTS engine.

filename

Renders the contents of the file. If the file is:

  • A text file, the system renders it to audible speech using TTS. The text file must have a .txt extension.
  • An audio file, the system plays the file. The audio file must have a .wav extension.

Note that these are the only two file formats supported for this option. Also the file must reside in the /data/temp directory for the application.

digits

Reads the contents of the variable or variable field as separate digits. For example, if the value of the variable is H14295, the system reads the value as "H one four two nine five."

url

Retrieves the file specified in the URL and plays it back. If the file is:

  • A text file with a .txt extension, the system renders it to audible speech using TTS.
  • Any other file type, the system assumes it is an audio file and attempts to play it as such.

This format requires that the value of the variable or variable field be a valid URL.



PreviousNextIndex

©2009, Avaya Inc. All rights reserved.