DetectAnsweringMachineActivity Class

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)

Syntax

'Declaration
<GlobalizedDescriptionAttribute("DetectAnsweringMachineActivity")> _
<GlobalizedCategoryAttribute("MSSCategory")> _
<ActivityValidatorAttribute(GetType(DetectAnsweringMachineActivityValidator))> _
<ToolboxBitmapAttribute(GetType(DetectAnsweringMachineActivity))> _
Public NotInheritable Class DetectAnsweringMachineActivity
    Inherits SpeechCompositeActivity
[GlobalizedDescriptionAttribute("DetectAnsweringMachineActivity")] 
[GlobalizedCategoryAttribute("MSSCategory")] 
[ActivityValidatorAttribute(typeof(DetectAnsweringMachineActivityValidator))] 
[ToolboxBitmapAttribute(typeof(DetectAnsweringMachineActivity))] 
public sealed class DetectAnsweringMachineActivity : SpeechCompositeActivity

Remarks

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.

Inheritance Hierarchy

System.Object
???? System.Workflow.ComponentModel.DependencyObject
???????? System.Workflow.ComponentModel.Activity
???????????? System.Workflow.ComponentModel.CompositeActivity
???????????????? Microsoft.SpeechServer.Dialog.SpeechCompositeActivity
????????????????????Microsoft.SpeechServer.Dialog.DetectAnsweringMachineActivity

Thread Safety

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

Platforms

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

See Also

Reference

DetectAnsweringMachineActivity Members
Microsoft.SpeechServer.Dialog Namespace
MakeCallActivity
MaximumUtteranceDurationToAssumePerson
MinimumUtteranceDurationToAssumeAnsweringMachine