- Contents
Interaction Designer Help
Play Prompt Phrase
This Telephony tool allows you to specify a sequence of strings that define the structure of a prompt you want to play, and then substitute values at run-time to play the actual prompt. This eliminates the need to use multiple Play Prompt tools in order to play a sequence of prompts.
Inputs
Call Identifier
The unique identifier for the interaction.
Language
The language code of the prompt phrase to be played. If no language is specified, the language attribute of the call will be used. If no language is specified for the call either, the default language will be used.
Singular if true
This Boolean permits simple handler-based control over the common case of generating different prompt sequences for plural arguments than for singular ones (e.g., "one car" vs. "two cars"). Set to True to select the Singular Prompt Sequence. Set to False to select the Plural Prompt Sequence.
Prompt Strings
This tab allows the specification of zero or more Prompt Strings that may need to be substituted dynamically into the phrase. Typically, the entries on this tab are string literals or the names of string variables. A Prompt String consists of one or more prompt identifiers separated by white space. A prompt identifier can be scoped by a handler name or unscoped. A scoped prompt identifier consists of the handler name, a colon and the prompt ID (e.g., <HandlerName:PromptName>). All identifiers are case insensitive.
Variables
List of String Variables in the current handler.
Note: The string variables must be either a </tts:....>, </file:......> or a prompt in the form <PROMPT_NAME> for prompts contained within the handler, or <HANDLER:PROMPT_NAME> for prompts contained in another handler.
Parameters
The run-time substitution strings that are passed in at run-time to the sequence string.
Sequence Strings
A sequence string is a mechanism by which you arrange multiple prompts to be played at one time.
In the simplest Case, the Sequence String would be <%1>. This means there will be one substitution string from the Prompt Strings dialog below. The Prompt Strings dialog will either pass in a prompt, or a string variable which represents a prompt. However, the Prompt Sequence could be much more complex than that, so here's a more detailed example:
<Prompt_IVR:IVR_REMOTE_VM_MENU> <%1> <IVR_REMOTE_VM_EXIT> </file=thankyou.wav> </tts=mister smith>
This will play the following items in the order shown:
-
Prompt IVR_REMOTE_VM_MENU from the Prompt_IVR handler
-
%1 - substitution string
-
Prompt IVR_REMOTE_VM_EXIT from the current handler
-
A .WAV file: "thankyou.wav"
-
Text to Speech saying, "Mister Smith."
Single Sequence and Plural Sequence show what the sequence will be based on the Singular? parameter from the Inputs page.
This dialog lets you choose which sequence string to use for this phrase. The Handlers dialog lists the handlers you currently have open. Sequence Strings are resources just like prompts - they are resources of a handler. Simply highlight which handler you want to use and check the box of the sequence string you want to use.
Exit Paths
Next
This tool always takes the Next exit path.