Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 490
   
2-4
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Chapter 2      CTI OS Client Interface Library Architecture
CIL Object Model
Figure 2-3
The CIL Object Model Object Interfaces
Session Object
The Session object is the main object in the CIL. It controls the logical session between the client 
application and the CTI OS server. The Session object provides the interface to the lower layers of the 
CIL architecture (the Service and Connection layers), and also encapsulates the functions required to 
dispatch messages to all the other objects in the CIL.
The Session object provides object management (creation, collection management, and deletion), and is 
the publisher for all CIL events. In addition, the Session object provides automatic fault tolerance and 
failover recovery.
Session Modes
You can set a Session object to work in one of two modes: Agent Mode or Monitor Mode. The Session 
object maintains the state of the Session mode, and recovers the session mode during failover. The client 
application must set the session mode after it connects to the CTI OS Server; the Session mode remains 
active until the connection to the CTI OS Server is closed. 
Agent Mode
A client connects to CTI OS Server in Agent Mode when it wants to receive events for a specific agent 
or supervisor. Once agent mode is set, the CIL receives the events for the specified agent, as well as all 
call events for that agent’s calls. If the agent is also configured as a Supervisor in Unified ICM, the CIL 
receives events for all agents in the Supervisor’s team. 
Monitor Mode 
A client connects to the CTI OS Server in Monitor Mode when it wants to receive a 
programmer-specified set of events, such as all agent state events. For details of setting up a monitor 
mode connection, refer to the section in 
For the complete interface specification of the Session object, see