User Scenario 2: An unsuccessful call attempt followed by a successful call
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.
Running the Scenario
- 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?"
- Reply by saying, Mike Nash. The application initiates the Confirm Name QA and asks, "Am I right with Mike Nash?"
- Reply by saying, Yes. The application finds more than one entry for a contact named Mike Nash, initiates the DataTableNavigator Application Control, and prompts, "There is more than one Mike Nash. Please say select when you hear the correct office number." The application begins reading the office number for each Mike Nash in the Contacts Data Table.
- Wait until the application says, "25," and then say, Select. The application initiates the Get Service QA and prompts, "Please select postal address, e-mail, office number, or phone."
- Reply by saying, Phone. The application finds no telephone data for Mike Nash, initiates the DataTableNavigator Application Control, and prompts, "I'm sorry, but I have no phone numbers for Mike Nash. Can I help you with anything else?"
- Remain silent. The application initiates the Get Service QA and prompts, "I'm sorry, I didn't hear you. Please select postal address, e-mail, office number, or phone. Or say, another contact."
- Reply by saying, Another contact. The application initiates the Get Name QA and asks, "Who would you like to contact?"
- Reply by saying, Call Jay Adams. The application initiates the Confirm Name QA and asks, "Am I right with Jay Adams?"
- Reply by saying, Yes. Because there is more than one phone number listed in the data table for Jay Adams, the application initiates the Get Phone QA and prompts, "Please select home, office, or cell."
- Reply by saying, Cell. The application initiates the Informational Prompt Control and says, "Calling the cell phone for Jay Adams," ending the demonstration.
Note If data is missing for the requested service or information (such as an e-mail address or office room number), the application responds with "I'm sorry, but I do not have data for contact name," where data represents the requested data, and contact name represents the contact for whom the data was requested.
See Also
Running the Contacts Reference Application
User Scenario 1: Specifying contact names and receiving contact information
User Scenario 3: Sending an e-mail message to a contact