2.2.6.8 LINEAGENTSTATUS

The LINEAGENTSTATUS packet describes the current status of an ACD agent. LINEAGENTSTATUS is supplied by the server in the field VarData of the completion packet of the GetAgentStatus request.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

dwTotalSize

dwNeededSize

dwUsedSize

dwNumEntries

dwGroupListSize

dwGroupListOffset

dwState

dwNextState

dwActivityID

dwActivitySize

dwActivityOffset

dwAgentFeatures

dwValidStates

dwValidNextStates

dwTotalSize (4 bytes): An unsigned 32-bit integer. The total size, in bytes, allocated to this data packet.

dwNeededSize (4 bytes): An unsigned 32-bit integer. The size, in bytes, needed to hold all the information requested.

dwUsedSize (4 bytes): An unsigned 32-bit integer. The size, in bytes, of the portion of this packet that contains useful information.

dwNumEntries (4 bytes): An unsigned 32-bit integer. The number of LINEAGENTGROUPENTRY packets that appear in the array specified by dwGroupListOffset. The value MUST be 0 if no agent is associated with (logged in) the address.

dwGroupListSize (4 bytes): An unsigned 32-bit integer. The size, in bytes, of the group list array.

dwGroupListOffset (4 bytes): An unsigned 32-bit integer. Offset from the beginning of this packet to an array of LINEAGENTGROUPENTRY packets. The size is dwNumEntries times SIZEOF(LINEAGENTGROUPENTRY). The array contains ACD groups into which the agent is currently associated with (logged in) the address. The size of the field MUST be specified by dwGroupListSize.

dwState (4 bytes): An unsigned 32-bit integer. The current state of the agent. MUST be one of the LINEAGENTSTATE_Constants.

dwNextState (4 bytes): An unsigned 32-bit integer. The state into which the agent is automatically placed when the current call completes. MUST be one of the LINEAGENTSTATE_Constants.

dwActivityID (4 bytes): An unsigned 32-bit integer. The identifier of the current agent activity.

dwActivitySize (4 bytes): An unsigned 32-bit integer. The size, in bytes, of the agent activity string.

dwActivityOffset (4 bytes): An unsigned 32-bit integer. The offset from the beginning of the packet to a null-terminated string specifying the current agent activity. The size of the string MUST be specified by dwActivitySize. This string MUST be part of the VarData field of the packet containing this packet.

dwAgentFeatures (4 bytes): An unsigned 32-bit integer. The agent-related features available at the time the status was obtained, using the LINEAGENTFEATURE_Constants.

dwValidStates (4 bytes): An unsigned 32-bit integer. The agent states that could be selected, at this point in time, using the SetAgentState packet. MUST consist of one or more of the LINEAGENTSTATE_Constants.

dwValidNextStates (4 bytes): An unsigned 32-bit integer. The next agent states that could be selected, at this point in time, by calling the SetAgentState packet. MUST consist of one or more of the LINEAGENTSTATE_Constants.