2.2.3.1.10 LINEAGENTSTATE_Constants
The LINEAGENTSTATE_Constants are bit-flag constants that describe the state of an agent on an address.
The following constants are present in TAPI versions 2.0, 2.1, 2.2, 3.0, and 3.1.
Constant/value |
Description |
---|---|
LINEAGENTSTATE_LOGGEDOFF 0x00000001 |
No agent must be logged onto the address. |
LINEAGENTSTATE_NOTREADY 0x00000002 |
The agent must be logged in but occupied with a task other than serving a call (such as on a break). No additional calls are routed to the agent. |
LINEAGENTSTATE_READY 0x00000004 |
The agent is ready to accept calls. |
LINEAGENTSTATE_BUSYACD 0x00000008 |
The agent must be busy handling a call that is routed from an ACD queue. |
LINEAGENTSTATE_BUSYINCOMING 0x00000010 |
The agent must be busy handling an incoming call that was not transferred to the agent from an ACD queue to which the agent is logged in. |
LINEAGENTSTATE_BUSYOUTBOUND 0x00000020 |
The agent must be busy handling an outgoing call, such as one routed from a predictive dialing queue. |
LINEAGENTSTATE_BUSYOTHER 0x00000040 |
The agent must be busy handling another type of call, such as an outgoing personal call that must not be transferred to the agent by a predictive dialer. This value can also be used when the agent is known to be busy on a call but the type of call is unknown. |
LINEAGENTSTATE_WORKINGAFTERCALL 0x00000080 |
The agent must have completed the preceding call but must still be occupied with work that is related to that call. The agent is not to receive additional calls. |
LINEAGENTSTATE_UNKNOWN 0x00000100 |
The agent state must be currently unknown but can become known later. This state can be a transitional state when a line or address is first opened. |
LINEAGENTSTATE_UNAVAIL 0x00000200 |
The agent state must be unknown and must never become known. In LINEAGENTSTATUS, this condition can also be represented by the dwState member being set to 0. |