2.2.4.2.1.1 LINE_ADDRESSSTATE
The LINE_ADDRESSSTATE packet is sent when the status of an address changes on a line that is currently open by the application. The line can be opened by the client by sending Open packet to the server. The application can invoke the GetAddressStatus packet to determine the current status of the address.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TotalSize |
|||||||||||||||||||||||||||||||
InitContext |
|||||||||||||||||||||||||||||||
fnPostProcessProcHandle |
|||||||||||||||||||||||||||||||
hRemoteLine |
|||||||||||||||||||||||||||||||
Msg |
|||||||||||||||||||||||||||||||
OpenContext |
|||||||||||||||||||||||||||||||
Param1 |
|||||||||||||||||||||||||||||||
Param2 |
|||||||||||||||||||||||||||||||
Param3 |
|||||||||||||||||||||||||||||||
Param4 |
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. This MUST be 0x00000000 and ignored on receipt.
hRemoteLine (4 bytes): An unsigned 32-bit integer. The handle of the client for the line value.
Msg (4 bytes): An unsigned 32-bit integer. The packet type, which MUST be set to 0x00000000 (LINE_ADDRESSSTATE).
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 address identifier of the address that changed status.
Param2 (4 bytes): An unsigned 32-bit integer. The address state that changed. MUST be one or more of the LINEADDRESSSTATE_Constants.
Param3 (4 bytes): An unsigned 32-bit integer. This MUST be ignored on receipt and can be any value.
Param4 (4 bytes): An unsigned 32-bit integer. This MUST be ignored on receipt and can be any value.