<div class="content" name="LINE_MONITORTONE" uuid="504a5ee3-c8af-41dc-b0ca-726e66d836d5"><p>The LINE_MONITORTONE packet is sent when a tone is detected.
The sending of this packet is controlled with the <a href="7c865cf1-5d68-41cc-bd61-928603d34d94" data-linktype="relative-path">MonitorTones</a> packet. The
LINE_MONITORTONE packet is sent if client has requested the tone be monitored.</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">TotalSize</td>
 </tr>
 <tr>
  <td colspan="32">InitContext</td>
 </tr>
 <tr>
  <td colspan="32">fnPostProcessProcHandle</td>
 </tr>
 <tr>
  <td colspan="32">hCall</td>
 </tr>
 <tr>
  <td colspan="32">Msg</td>
 </tr>
 <tr>
  <td colspan="32">OpenContext</td>
 </tr>
 <tr>
  <td colspan="32">Param1</td>
 </tr>
 <tr>
  <td colspan="32">Param2</td>
 </tr>
 <tr>
  <td colspan="32">Param3</td>
 </tr>
 <tr>
  <td colspan="32">hRemoteLine</td>
 </tr>
</tbody></table><p><b>TotalSize (4 bytes): </b>An unsigned 32-bit
integer. The total size of the asynchronous event packet. </p><p><b>InitContext (4 bytes): </b>An unsigned 32-bit
integer. The opaque, client-specified session value that MUST be equal to the
InitContext value that is specified in the original scoping of the line <a href="9d8eb7cd-3245-4e44-97e0-42f7b89c9424" data-linktype="relative-path">Initialize</a> request.</p><p><b>fnPostProcessProcHandle (4 bytes): </b>An unsigned
32-bit integer. MUST be set to zero when sent and MUST be ignored on receipt. </p><p><b>hCall (4 bytes): </b>An <a href="7f4089a0-7432-4ef0-8eeb-5aafe407c07e" data-linktype="relative-path">HCALL</a>. An unsigned 32-bit
integer. The handle to the call or line device that is associated with the
asynchronous event. </p><p><b>Msg (4 bytes): </b>An unsigned 32-bit integer. The
packet type; MUST be set to 0x0000000B (LINE_MONITORTONE).</p><p><b>OpenContext (4 bytes): </b>An unsigned 32-bit
integer. The opaque, client-specified context value that MUST be equal to the
OpenContext value that is specified in the original scoping of the line <a href="2759c744-e040-4c5d-b4b5-215d391f0490" data-linktype="relative-path">Open</a> request.</p><dl>
<dd>
<p>This information MUST be passed back to the
application with each completion and event that is associated with the handle
of the line or call on the line. This field is not interpreted by TAPI.</p>
</dd></dl><p><b>Param1 (4 bytes): </b>An unsigned 32-bit integer.
The dwAppSpecific member of the <a href="dede2fb1-700c-4047-8a00-f1ccb5bee73b" data-linktype="relative-path">LINEMONITORTONE</a> packet for
the tone that was detected. </p><p><b>Param2 (4 bytes): </b>An unsigned 32-bit integer.
This MUST be ignored on receipt and can be any value.  </p><p><b>Param3 (4 bytes): </b>An unsigned 32-bit integer.
The &#34;tick count&#34; at which the tone was detected. For TAPI versions
earlier than 2.0, this parameter is unused.</p><p><b>hRemoteLine (4 bytes): </b>An unsigned 32-bit
integer. The handle of the <a href="489de77f-16d8-4c4f-939a-f795e8b42893#gt_60e0e1fa-66fe-41e1-b5e3-ceab97e53506" data-linktype="relative-path">client</a>
for the line value.</p></div>