Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide
Chapter 4 Building Your Application
Connecting to the CTI OS Server
4-40
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
•
With IPCC only, OnQueryAgentStateConf() for each team and each agent
logged in
logged in
•
OnSnapshotDeviceConf() for each device
•
OnSnapshotCallConf
()
•
OnMonitorModeEstablished()
How to Deal with Failover In Monitor Mode
The CTI OS CIL does not support failover for Monitor mode. Agents in monitor
mode cannot recover their state after a failover. Furthermore, after a failover, the
CTI OS CIL may leak Call objects.
mode cannot recover their state after a failover. Furthermore, after a failover, the
CTI OS CIL may leak Call objects.
To deal with failover in Monitor mode:
Step 1
When the application detects a failover, for example, in a CTIOSFailure() event
indicating a connection failure or an offline component, wait until the CIL has
failed over and everything is back online and the CIL is connected to CTI OS.
indicating a connection failure or an offline component, wait until the CIL has
failed over and everything is back online and the CIL is connected to CTI OS.
The Monitor mode application is responsible for determining when all required
servers are online. You can do this by monitoring OnCtiosFailure() events and
keeping track of system status changes as they occur.
servers are online. You can do this by monitoring OnCtiosFailure() events and
keeping track of system status changes as they occur.
Step 2
Use the Disconnect() method to disconnect the session from CTI OS.
Step 3
Follow the steps starting at the beginning of the section
to:
a.
Create a session instance.
b.
Set the event listener.
c.
Set connection parameters.
d.
Call the Connect() method.
e.
Set the connection mode in the OnConnection() event handler.
Settings Download
One of the many useful features of CTI OS is the ability to configure settings for
the Agent Desktop once on the server and have them be available to all agent
desktops via the RequestDesktopSettings() method. Any changes can be
the Agent Desktop once on the server and have them be available to all agent
desktops via the RequestDesktopSettings() method. Any changes can be