The Second Create Conditional Prompt Step
Continue to build the aa.aef script by dragging the second of three Create Conditional Prompt steps from the Prompt palette to the Design pane, and dropping it over the first Create Conditional Prompt step.
Configure the second Create Conditional Prompt step to play back one of two prompts, according to whether or not ASR is enabled for this call. The first prompt offers the caller the option to either press or say an extension; the second prompt offers the caller only the choice of pressing the extension.
-
True Prompt—SP[AA\AAEnterExtn_ASR]
The script plays back this .wav file if the condition evaluates to true; that is, if ASR is enabled for this call.
-
False Prompt—SP[AA\AAEnterExtn]
The script plays back this .wav file if the condition evaluates to false; that is, if ASR is not enabled for this call.
Note | The third Create Conditional Prompt step appears just after the next step, the first Create Container Prompt step. |