TAPIEx.NET Component Documentation

MonitorSilence Method

Description

The MonitorSilence method monitor the silence signal on a call.

[Visual Basic]
Function MonitorSilence( Duration As Long) As Boolean
[C#]
Public Function MonitorSilence(
ByVal Duration As Integer) As Boolean

Parameters

Duration
in milliseconds, during which the tone should be present before a detection is made.
The OnSilence event will be fired when the device detects silence equal to the number of milliseconds defined in this property. 1000 milliseconds is equavalent to 1 second.

Return values

If the method succeeds, return TRUE, otherwise return FALSE.

Remarks

Use this method to begin monitoring for silence. The call must be in the connected state.

See Also

OnSilence

Support editions