2.2.6.44 LINEMEDIACONTROLCALLSTATE

The LINEMEDIACONTROLCALLSTATE packet describes a media action to be executed when detecting transitions into one or more call states. The SetMediaControl packet uses this packet.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

dwCallStates

dwMediaControl

dwCallStates (4 bytes): An unsigned 32-bit integer. One or more call states. This member MUST use one of the LINECALLSTATE_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 LINEMEDIACONTROLCALLSTATE packet defines a tuple <call states, media-control action>. An array of these tuples is passed to the SetMediaControl packet to set the media control actions triggered by the transition to the call state of the given call. When a transition to a listed call state is detected, the corresponding action on the media stream MUST be invoked.