Provider
Asynchronous
No Custom Parameters
DetectNonSilence monitors a connection for an incidence of non-silence.
DetectNonSilence will fire DetectNonSilence_Complete if non-silence is detected for a continuous amount of time as specified in NonSilenceTime.
A DetectNonSilence to a connection results in a voice resource being utilized until the action results in the DetectNonSilence_Complete event.
| Parameter Name | .NET Type | Default | Description |
|---|---|---|---|
| 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. | |
| ConnectionId * | System.String | Indicates the connection to detect silence on. | |
| NonSilenceTime * | System.UInt32 | The amount of continuous non-silence to observe (in milliseconds) before firing the DetectNonSilence_Complete event. | |
| CommandTimeout | System.UInt32 | Indicates a command timeout value (in milliseconds).
If this condition is met, the DetectNonSilence command will result in the DetectNonSilence_Complete event with a
TerminationCondition of timeout. |
| Parameter Name | .NET Type | Description |
|---|---|---|
| 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. |
| OperationId | System.String | A unique identifier to this DetectNonSilence 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. |
Branch Conditions
No description.
No description.
No description.