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
The Phrase variable Item can play an audio phrase where the variable value references a phraseset or a standalone phrase or an audio URL.
Behavior
A Phrase variable can point to a phrase in phraseset, a standalone phrase or an external audio file. A Phrase variable supports collection of values. If underlying variable value is a collection, then multiple <audio> elements are generated in the VXML.
Collection values must all be same type (phraseset-phrase, audio URL or phrase ID). This feature may be useful when getting audio file information dynamically from a data source (such as database).
For more information about creating audio phrase files, see About Phrasesets.
Properties
- Type - When the Type is Phraseset:Phrase ID, you need to supply in the Variable Field a Variable name, whose format should be Phraseset:Phrase ID.
- When the Type is Phrase ID, you need to supply in the Variable Field a variable name, which refers to the standalone phrase name.
- When the Type is Audio URL, you need to supply in the Variable Field a variable name which contains the external audio file URL.
- When the Type is DTMF Tones, then the prompt will generate DTMF tone pulses to match the value of the variable (convert the string value of a variable into a list of DTMF recordings that will be played). For example, if the variable value is "#1234", then the prompt will pulse in-band 5 DTMF tones for "#", "1", "2", "3", "4".
- Also see the General Tab for enabling DTMF variables. If not enabled, then the Prompt Editor will mark errors if DTMF Tone Phrase Variables are used. There also may be runtime errors because the audio files for the DTMF recordings will not be part of the project.
- Variable - A variable name which points to a phrase in phraseset, a standalone phrase or an external URL.
- Variable Field - A field contained by a Variable. If you use simple Variable, leave this field empty.
- Backup Text - The alternative text played if Dialog Designer cannot find the audio file in the phrase or phraseset.
- Backup Variable - The Variable which contains the alternative text played if Dialog Designer cannot find the audio file in the phrase or phraseset.
- Backup Field - A field contained by a Backup Variable. If you use simple Variable, leave this field empty.