The Unsuccessful Output Branch

If the Get Digit String step does not receive valid input, the script executes the Unsuccessful output branch.

Configure the Unsuccessful output branch of the Get Digit String step to provide a prompt that informs the caller that the call was unsuccessful, and the script moves to the final steps that terminate the contact.

Figure shows the scripting under the Unsuccessful output branch of the Get Digit String step.

Get Digit String Step—Unsuccessful Output Branch

Use the Create Container Prompt step to specify that the prompt finalPrompt contains the system prompt, SP[SNU\error_try_later.wav], which informs the caller that an error has occurred and asks the caller to call back later.

Next, a Goto step sends the script to the Label named Bye, located above the closing steps of the script (see The Closing Steps of the SNU.aef Script below), where a Play Prompt step plays finalPrompt before the script terminates the contact.

The functionality in this branch of the Get Digit String step is the same as the Create Container Prompt step and the Goto step under the False output branch of the If step. (SeeThe False Output Branch.)