Step 2: Generating Audible Prompts

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:

  • promptHours

  • promptSupport

  • promptStatus

To add prompts responding to menu choices

  1. In the Visual Studio 2008Toolbox, expand Unified Communications Workflow, and then drag and drop a SpeechStatement activity onto ifElseHours where Drop Activities Here appears.

  2. Rename the statement activity to promptHours, and set the MainPrompt property to We're open twenty four seven.

  3. 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.

  4. 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.

  5. Debug your application by answering alternately with the following words and verify that the appropriate audible prompt is included in the reply:

    • Hours

    • Support

    • Status

    Dd146448.51bc5bca-3a72-4ade-81db-cc68d9c40527(en-us,office.13).jpg
Show:
© 2016 Microsoft