<div class="content"><p>The LINEMEDIACONTROLCALLSTATE packet describes a media
action to be executed when detecting transitions into one or more call states.
The <a href="b3f7fcb1-4451-4179-ab85-a10ea0f7fa06" data-linktype="relative-path">SetMediaControl</a>
packet uses this packet. </p><table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td colspan="32">
  <p>dwCallStates</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>dwMediaControl</p>
  </td>
 </tr>
</tbody></table><p><b>dwCallStates (4 bytes): </b>An unsigned 32-bit
integer. One or more call states. This member MUST use one of the <a href="90b1b6c3-d544-49f4-b868-38aa7ccb7b09" data-linktype="relative-path">LINECALLSTATE_Constants</a>. </p><p><b>dwMediaControl (4 bytes): </b>An unsigned 32-bit
integer. The media control action. This member MUST use one of the <a href="3e050929-c418-49ee-b0d9-45e33e6c6f0f" data-linktype="relative-path">LINEMEDIACONTROL_Constants</a>.
</p><p>This packet cannot be extended.</p><p>The LINEMEDIACONTROLCALLSTATE packet defines a tuple
&lt;call states, media-control action&gt;. 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.</p></div>