| 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...
|