Partilhar via


User Scenario 3: Sending an e-mail message to a contact

  Microsoft Speech Technologies Homepage

This document provides instructions for a demonstration scenario using the Contacts reference application included in the Microsoft Speech Application SDK Version 1.1 (SASDK).

The names of ASP.NET Speech Controls that the application uses in the following procedure are linked to tables. Each table describes all the possible user inputs and application responses for the Speech Control named in the link.

Before running this scenario, ensure that the Contacts application points to a valid SMTP server.

To set the SMTP server name for Contacts

  1. Open the Contacts application Web.config file located at:

    C:\Program Files\Microsoft Speech Application SDK 1.1\Applications\Contacts

  2. Locate the smtpServer element, and set the value of the name attribute to the name of a valid SMTP server.

  3. Save Web.config.

Running the Scenario

  1. Open the main page of the Contacts application (https://localhost/speech/contacts/default.aspx). The application initiates the Get Name QA and asks, "Who would you like to contact?"
  2. In Speech Debugging Console, click Use Audio.
  3. In Speech Debugging Console, look at the message in the text box labeled Status. When the message "Audio Recording Started" appears, say E-mail Keith Harris. The application initiates the Confirm Name QA and asks, "Am I right with Keith Harris?"
  4. Click Use Audio, wait for the application status to change to "Audio Recording Started," and then say, Yes. The application initiates the Record Message Statement control and prompts, "Please record your message after the beep. Press any key when you are done."
  5. The bottom portion of Speech Debugging Console displays several panels. Click the DTMF tab to display the DTMF panel.
  6. Click Use Audio, wait for the application status to change to "Audio Recording Started," record a short voice message, and then press a number on the DTMF keypad that is displayed in the DTMF panel of Speech Debugging Console. The application initiates the Select Command QA and prompts, "Please select send, review, start over, or cancel."
  7. Click the Speech Debugging Console window. Click Use Audio, wait for the application status to change to "Audio Recording Started," and then say Send. The application sends the voice message, and then initiates the Anything Else QA and asks, "Can I help you with anything else?"
  8. Reply by saying, No. The application responds by saying, "Goodbye," and then the application stops running.

See Also

Running the Contacts Reference Application
User Scenario 1: Specifying contact names and receiving contact information
User Scenario 2: An unsuccessful call attempt followed by a successful call