RecordedPrompts (Managed Code Sample)
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.
The RecordedPrompts sample illustrates how to play prompts from a prompt database. The sample uses recorded prompts to play the following text:
"Welcome to Speech Server. Don't forget to check www.microsoft.com/speech for the latest news and announcements. Goodbye."
Featured Highlights
- Using a prompt database
- Using a StatementActivity
Running the Sample
To run the sample
In the Samples\Workflow\RecordedPrompts\ directory of the Speech Server installation directory, open the sample solution file.
To start debugging, press F5.
In the Voice Response Debugging Window dialog box, click the SIP Phone tab, enter any numbers in the Called Party and Calling Party boxes, and then click Call.
The application plays a series of recorded prompts.
Remarks
This code sample is intended to demonstrate specific Speech Server features. It does not necessarily reflect best practices with respect to security and privacy. You should carefully review any code that you deploy in production for potential security risks and privacy issues.