PlayTone_Complete

Metreos.MediaControl.PlayTone_Complete

Summary

The PlayTone action is completely and successfully finished upon receiving the PlayTone_Complete event.

Event Parameters
Parameter Name.NET TypeDescription
ConnectionIdSystem.StringThe same value as the ConnectionId passed in as an action parameter, if it was specified.
TerminationConditionSystem.StringThe condition which caused the PlayTone to stop. Possible values for termination condition are as follows:
eod

The tone was played in its entirety; the amount of time specified by Duration has elapsed (in milliseconds).

maxtime

The amount of time specified by TermCondMaxTime has elapsed (in milliseconds).

digit

The digit specified by TermCondDigit has occurred.

silence

The amount of continuous silence specified by TermCondSilence has elapsed (in milliseconds).

nonsilence

The amount of continuous non-silence specified by TermCondNonSilence has elapsed (in milliseconds).

userstop

The StopMediaOperation was used on operation to abort it.

autostop

The Call Control API ended the operation due to the call ending that was associated with the connection. The normal reasons a call may end are Hangup or BlindTransfer.

timeout

The amount of time specified by in the media engine configuration file for default command timeout has elapsed (in milliseconds).