UCCX CTI
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
CTI.Consts.AgentStates Class Reference

An agent is a person who has a phone on his desktop and receives calls, transfers calls, ends calls, and so on. The state of this agent and his phone are represented within the Unified CCX system by agent states and agent state events. The agent state is what is described by the last received agent state event. Actions performed by the agent and his phone eventually translate into updated agent states. For example, when an agent hangs up his phone after working on a call, his state changes from talking to ready. The change in the state of this agent is communicated with the system through the AGENT_STATE_EVENT message. CCX maintains all agent states and may change an agent state based on various conditions such as the state of an agent phone. Unified CCX CTI clients are also allowed to change agent states by a client using the SET_AGENT_STATE_REQ message.When Unified CCX receives this request, it processes the request based on the current state of the system. As a result, the SET_AGENT_STATE_REQ message may or may not actually change the agent state. For example, the client might request that an agent’s state be changed from not ready to ready, but Unified CCX may not be able to change the agent’s state if the agent has not yet logged in. A Unified CCX CTI client must always monitor the AGENT_STATE_EVENT message or use the QUERY_AGENT_STATE_REQ message to obtain the current agent state. More...

Public Types

enum  State {
  Login = AgentStates.AGENT_STATE_LOGIN , Logout = AgentStates.AGENT_STATE_LOGOUT , NotReady = AgentStates.AGENT_STATE_NOT_READY , Ready = AgentStates.AGENT_STATE_READY ,
  Talking = AgentStates.AGENT_STATE_TALKING , WorkNotReady = AgentStates.AGENT_STATE_WORK , WorkReady = AgentStates.AGENT_STATE_WORK_READY , BusyOther = AgentStates.BUSY_OTHER ,
  Reserved = AgentStates.AGENT_STATE_RESERVED , Unknown = AgentStates.AGENT_STATE_UNKNOWN , Active = AgentStates.AGENT_STATE_ACTIVE , Paused = AgentStates.AGENT_STATE_PAUSED
}
 

Static Public Member Functions

static State Decode (ushort agentState)
 

Static Public Attributes

const ushort AGENT_STATE_LOGIN = 0
 There is no specific Agent Login state in Unified CCX. However, this is a request value specified while trying to login an agent.
 
const ushort AGENT_STATE_LOGOUT = 1
 The agent has logged out of the ACD and cannot accept any additional calls.
 
const ushort AGENT_STATE_NOT_READY = 2
 The agent is not available to accept a routed call.
 
const ushort AGENT_STATE_READY = 3
 The agent is available to accept a routed call.
 
const ushort AGENT_STATE_TALKING = 4
 The agent is currently talking on a call with a customer or another agent (inbound, outbound, or inside). This state is automatically set for the agent by the ACD.
 
const ushort AGENT_STATE_WORK = 5
 The agent is completing work from a previous call and is unavailable to receive routed calls. There are two(mutually exclusive) ways to put an agent into AGENT_STATE_WORK:
  • Automatically, through CSQ configuration settings selected in the Unified CCX Administration web page.
  • Through the SET_AGENT_STATE_REQ message. In this case, when the agent is in the AGENT_STATE_TALKING state, the client can select the work state (by setting the AgentState field to AGENT_STATE_WORK). Then when the call ends, the agent will be moved by the Unified CCX server to the Work state.

 
const ushort AGENT_STATE_WORK_READY = 6
 The agent is performing after call work, and will be ready to receive a call when completed.
 
const ushort BUSY_OTHER = 7
 This state signifies the agent state for a particular CSQ. This state is notified in the CSQ State field of QUERY_AGENT_STATE_CONF message only. The state of an agent for a CSQ will be BUSY_OTHER if that agent is handling calls from other CSQs.
 
const ushort AGENT_STATE_RESERVED = 8
 The agent is reserved for a call that will arrive at the ACD shortly. The agent is temporarily set aside to receive a specific call.The agent’s state is changed to the Talking state when the agent answers the call. If the agent fails to answer the call within a time limit specified by the system administrator, the ACD places the agent in a Not Ready state. The Reserved state is automatically set for the agent by the ACD.The agent can be in this state without the phone ringing (if the agent is waiting for it to ring).
 
const ushort AGENT_STATE_UNKNOWN = 9
 The associated agent state is unknown.
 
const ushort AGENT_STATE_ACTIVE = 11
 The agent state is currently active.
 
const ushort AGENT_STATE_PAUSED = 12
 The agent state is currently paused.
 

Detailed Description

An agent is a person who has a phone on his desktop and receives calls, transfers calls, ends calls, and so on. The state of this agent and his phone are represented within the Unified CCX system by agent states and agent state events.

The agent state is what is described by the last received agent state event. Actions performed by the agent and his phone eventually translate into updated agent states. For example, when an agent hangs up his phone after working on a call, his state changes from talking to ready. The change in the state of this agent is communicated with the system through the AGENT_STATE_EVENT message.

CCX maintains all agent states and may change an agent state based on various conditions such as the state of an agent phone.

Unified CCX CTI clients are also allowed to change agent states by a client using the SET_AGENT_STATE_REQ message.When Unified CCX receives this request, it processes the request based on the current state of the system. As a result, the SET_AGENT_STATE_REQ message may or may not actually change the agent state. For example, the client might request that an agent’s state be changed from not ready to ready, but Unified CCX may not be able to change the agent’s state if the agent has not yet logged in.

A Unified CCX CTI client must always monitor the AGENT_STATE_EVENT message or use the QUERY_AGENT_STATE_REQ message to obtain the current agent state.


The documentation for this class was generated from the following file: