Step 2: Generating Audible Prompts
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
This is the second of four topics describing the steps to create the Create an Automated Call Distributor walkthrough application. This sequence of topics demonstrates how the various capabilities of communications workflow activities can be combined to implement a basic Microsoft Unified Communications Managed API call distributor application using Microsoft Visual Studio 2008 development system. The procedures for creating the walkthrough application build sequentially. Completing the procedures in sequence is important.
In the next procedure, three SpeechStatement activities that generate audible prompts are added to the workflow:
To add prompts responding to menu choices
In the Visual Studio 2008Toolbox, expand Unified Communications Workflow, and then drag and drop a SpeechStatement activity onto ifElseHours where Drop Activities Here appears.
Rename the statement activity to promptHours, and set the MainPrompt property to We're open twenty four seven.
Following the instructions in step 1 and 2, add a SpeechStatement activity to ifElseSupport. Rename the statement activity to promptSupport. Set the MainPrompt property to Transferring your call to the Support Department.
Following the instructions in step 1 and 2, add a SpeechStatement activity to ifElseOrderStatus. Rename the statement activity to promptStatus. Set the MainPrompt property to Your order will arrive tomorrow. Verify that your workflow activities are arranged as shown in the following illustration.
Debug your application by answering alternately with the following words and verify that the appropriate audible prompt is included in the reply: