2.2.4.2.1.3 LINE_AGENTSPECIFIC
The LINE_AGENTSPECIFIC packet is sent when the status of an ACD agent changes on a line that the application currently has open. An ACD agent can be established using CreateAgent packet. The application can send the GetAgentStatus packet to determine the current status of the agent.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
TotalSize |
|||||||||||||||||||||||||||||||
|
InitContext |
|||||||||||||||||||||||||||||||
|
fnPostProcessProcHandle |
|||||||||||||||||||||||||||||||
|
hDevice |
|||||||||||||||||||||||||||||||
|
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. MUST be set to zero when sent and MUST be ignored on receipt.
hDevice (4 bytes): 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 0x00000015 (LINE_AGENTSPECIFIC).
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 index into the array of handler extension identifiers in the LINEAGENTCAPS packet of the handler extension with which the asynchronous event is associated.
Param2 (4 bytes): An unsigned 32-bit integer. Specific to the handler extension. This value MUST be used to cause the application to send an AgentSpecific packet to obtain further details about the asynchronous event.
Param3 (4 bytes): An unsigned 32-bit integer. Specific to the handler extension.
Param4 (4 bytes): An unsigned 32-bit integer. The remote handle to the line device.
-
If there is a valid call handle that is associated with the packet, the server MUST set the hDevice field to the hCall value and the Param4 field to the hRemoteLine value.
-
If there is no valid call handle that is associated with the packet, the server MUST set the hDevice field to the hRemoteLine value and the Param4 field to 0.