Skip to main content

SignalWire.Relay.Calling.CallDetect.MachineParams

This object represents the parameters specific to machine detection.

Constructor​

The only constructor is the default constructor, properties should all be assigned by initializer or after construction.

Parameters

None

Examples

Basic Example

CallDetect detect = new CallDetect
{
Type = CallDetect.DetectType.machine,
Parameters = new CallDetect.MachineParams
{
// No required parameters
}
};

Properties​

PropertyTypeDescription
EndSilenceTimeoutdouble?The length of time in seconds to wait for the voice to finish.
Default: 1.0
InitialTimeoutdouble?The length of time in seconds to wait for the initial voice before giving up.
Default: 4.5
MachineVoiceThresholddouble?The length of time in seconds for the voice to trigger a machine detection.
Default: 1.25
MachineWordsThresholdint?The quantity of words to trigger a machine detection.
Default: 6

Methods​

None

Events​

None