Provider
Asynchronous
No Custom Parameters
DetectSilence monitors a connection for an incidence of silence.
DetectSilence will fire DetectSilence_Complete if silence is detected for a continuous amount of time as specified in SilenceTime.
A DetectSilence to a connection or a conference results in a voice resource being utilized until the action results in the DetectSilence_Complete event.
| Parameter Name | .NET Type | Default | Description |
|---|---|---|---|
| ConnectionId * | System.String | Indicates the connection to detect silence on. | |
| SilenceTime * | System.UInt32 | The amount of continuous silence to observe (in milliseconds) before firing the DetectSilence_Complete event. | |
| CommandTimeout | System.UInt32 | Indicates a command timeout value (in milliseconds).
If this condition is met, the DetectSilence command will result in the DetectSilence_Complete event with a
TerminationCondition of timeout. | |
| Timeout | System.Int32 | The Timeout property specifies to the Application Runtime Environment how long
to wait for a response from the provider for the current action.
The ReturnValue returned in this case is Timeout. The value must be a literal value in milliseconds. |
| Parameter Name | .NET Type | Description |
|---|---|---|
| OperationId | System.String | A unique identifier to this DetectSilence operation. This identifier can later be used by the
StopMediaOperation
action to stop just this particular operation on a connection, even if multiple media operations are concurrently executing on that connection. |
| ResultCode | System.String | A numeric code indicating the result status of the operation. A '0' indicates success; a positive number indicates an error. Please reference the Media Control Error Codes table for descriptions on specific error codes. |
| ConnectionId | System.String | The value of the ConnectionId result data is the same as that specified as an action parameter.
This ConnectionId is what one would later specify in
StopMediaOperation if one were to abort the command programmatically. |
Branch Conditions
No description.
No description.
No description.