Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Step 2: Generating Audible Prompts

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 Unified Communications Managed API call distributor application using Microsoft Visual Studio 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 Toolbox, 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

    Hh347479.51bc5bca-3a72-4ade-81db-cc68d9c40527(en-us,office.14).jpg
Show:
© 2015 Microsoft