2.2.4.2.1.20 LINE_MONITORTONE
The LINE_MONITORTONE packet is sent when a tone is detected. The sending of this packet is controlled with the MonitorTones packet. The LINE_MONITORTONE packet is sent if client has requested the tone be monitored.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
TotalSize |
|||||||||||||||||||||||||||||||
|
InitContext |
|||||||||||||||||||||||||||||||
|
fnPostProcessProcHandle |
|||||||||||||||||||||||||||||||
|
hCall |
|||||||||||||||||||||||||||||||
|
Msg |
|||||||||||||||||||||||||||||||
|
OpenContext |
|||||||||||||||||||||||||||||||
|
Param1 |
|||||||||||||||||||||||||||||||
|
Param2 |
|||||||||||||||||||||||||||||||
|
Param3 |
|||||||||||||||||||||||||||||||
|
hRemoteLine |
|||||||||||||||||||||||||||||||
TotalSize (4 bytes): An unsigned 32-bit integer. The total size of the asynchronous event packet.
InitContext (4 bytes): 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 Initialize request.
fnPostProcessProcHandle (4 bytes): An unsigned 32-bit integer. MUST be set to zero when sent and MUST be ignored on receipt.
hCall (4 bytes): An HCALL. An unsigned 32-bit integer. The handle to the call or line device that is associated with the asynchronous event.
Msg (4 bytes): An unsigned 32-bit integer. The packet type; MUST be set to 0x0000000B (LINE_MONITORTONE).
OpenContext (4 bytes): 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 Open request.
-
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.
Param1 (4 bytes): An unsigned 32-bit integer. The dwAppSpecific member of the LINEMONITORTONE packet for the tone that was detected.
Param2 (4 bytes): An unsigned 32-bit integer. This MUST be ignored on receipt and can be any value.
Param3 (4 bytes): An unsigned 32-bit integer. The "tick count" at which the tone was detected. For TAPI versions earlier than 2.0, this parameter is unused.
hRemoteLine (4 bytes): An unsigned 32-bit integer. The handle of the client for the line value.