Prompts

Prompts are used in state tables to define what a caller hears. A prompt not only identifies the words the caller hears, but also defines the logic of when and how the words are played.

A prompt can be simple or complex, depending on whether the prompt always plays the same words or whether the prompt logic defines conditions for playing different phrases. For example, you may want an application to repeat the items that the caller has ordered, so the prompt would construct the utterance with phrases representing those items: “you ordered a bagel with sour cream and lox, and a croissant with Canadian ham and salad ”.

Prompts are constructed using the prompt statements described in the Blueworx Voice Response for AIX: Application Development using State Tables. The variables used by prompt statements work exactly the same way as state table variables. Generally, a state table passes input parameters to a prompt which it then uses to select the voice segments to play to the caller.

The set of prompts that are used by a particular state table are grouped in a prompt directory. All prompts used by a state table must be in the same prompt directory. Multiple state tables can use the same prompt directory.