2.2.6.38 LINEMEDIACONTROLDIGIT
The LINEMEDIACONTROLDIGIT packet describes a media action to be executed when detecting a digit. It is used as an entry in an array. The SetMediaControl packet uses this packet.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dwDigit |
|||||||||||||||||||||||||||||||
dwDigitModes |
|||||||||||||||||||||||||||||||
dwMediaControl |
dwDigit (4 bytes): An unsigned 32-bit integer. Low-order byte is the digit in whose detection is to trigger a media action.Valid digits depend on the media type.
dwDigitModes (4 bytes): An unsigned 32-bit integer. The digit modes to monitor. This member MUST use one or more of the LINEDIGITMODE_Constants.
dwMediaControl (4 bytes): An unsigned 32-bit integer. The media control action. This member MUST use one of the LINEMEDIACONTROL_Constants.
This packet cannot be extended.
The LINEMEDIACONTROLDIGIT packet defines a triple <digit, digit modes, media-control action>. An array of these triples is passed to the SetMediaControl packet to set the media control actions triggered by digits detected on a given call. When a listed digit is detected, then the corresponding action on the media stream is invoked.