SendDigits

Metreos.MediaControl.SendDigits

Summary

SendDigits inserts DTMF digits into the digit buffer for a given connection.

Usage

SendDigits allows one to simulate the occurrence of digits on a connection. Note that using this action does not cause any signaling to occur on the media stream; it is meant to indicate to the Media Engine that a digit has occurred on a particular connection.

Remarks

The Call Control API uses SendDigits whenever a digit is detected in the signaling of a call to fill the buffer of the media engine connection associated with that call. It is not expected that the developer will have much use for the SendDigits action.

Action Parameters
Parameter Name.NET TypeDefaultDescription
ConnectionId *System.StringIndicates the connection to SendDigits to.
Digits *System.StringThe digit(s) to send on the connection.
TimeoutSystem.Int32The 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.
Result Data
Parameter Name.NET TypeDescription
ResultCodeSystem.StringA 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.

Branch Conditions 

Success

No description.

Failure

No description.

Timeout

No description.