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

DetectAnsweringMachineActivity Class

Speech Server 2007

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.

Allows a voice response application to determine whether a call is answered by a person or by an answering machine. If the call is answered by an answering machine, this activity can leave a message.

Namespace: Microsoft.SpeechServer.Dialog
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)

public sealed class DetectAnsweringMachineActivity : SpeechCompositeActivity

A DetectAnsweringMachineActivity can be placed in the Workflow Designer immediately following the MakeCallActivity.

The principal criterion for distinguishing between a human answerer and a machine is that the human's response ("Hello," "Speaking," and so on) tends to be shorter than that of an answering machine. If the response duration from a called telephone number is shorter than MaximumUtteranceDurationToAssumePerson, the response is assumed to come from a human. Similarly, if the response duration is longer than MinimumUtteranceDurationToAssumeAnsweringMachine, the response is assumed to come from an answering machine or similar device. For response durations that fall between these two values, the semantic results provided by the grammar are used. For more information, see Grammar.

For information about how to use this class, see Walkthrough: Detect an Answering Machine.

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

Windows Server 2003

Community Additions

© 2015 Microsoft