Platform SDK: TAPI

AGENT_SESSION_STATE

This AGENT_SESSION_STATE enum defines the agent session indicators used by the ITAgentSession::get_State and the ITAgentSession::put_State methods.

typedef enum AGENT_SESSION_STATE
{
  ASST_NOT_READY,
  ASST_READY,
  ASST_BUSY_ON_CALL,
  ASST_BUSY_WRAPUP,
  ASST_SESSION_ENDED
}  AGENT_SESSION_STATE;

Members

ASST_NOT_READY
The agent is unable to handle calls for this session.
ASST_READY
The agent is able to handle calls for this session.
ASST_BUSY_ON_CALL
The agent is active in this session handling an ACD call.
ASST_BUSY_WRAPUP
The agent is active in this session handling the wrap-up of an ACD call.
ASST_SESSION_ENDED
The session has completed.

Following is a table of all valid AgentSession state transitions.

From state: To state:
ASST_NOT_READY ASST_READY
ASST_SESSION_ENDED
ASST_READY ASST_BUSY_ON_CALL
ASST_NOT_READY
ASST_SESSION_ENDED
ASST_BUSY_ON_CALL ASST_BUSY_WRAPUP
ASST_READY
ASST_NOT_READY
ASST_SESSION_ENDED
ASST_BUSY_WRAPUP ASST_READY
ASST_NOT_READY
ASST_SESSION_ENDED

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tapi3.h.

See Also

ITAgentSession::get_State, ITAgentSession::put_State