Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide
4-51
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
Chapter 4 Building Your Application
Working with Agent Statistics
If an application calls a COM CIL API method from a COM CIL event callback
routine it must ensure that the method call is made on the same thread as the CIL
event callback. This rule applies to the following methods:
routine it must ensure that the method call is made on the same thread as the CIL
event callback. This rule applies to the following methods:
•
CComSession::SetCurrentCall
•
CComSession::SetAgent
This rule must be followed in order to guarantee that events are fired from the
COM CIL to the application in the proper sequence.
COM CIL to the application in the proper sequence.
When handling events in the browser using JavaScript, event processing time
should be kept to a minimum since all other JavaScript execution (e.g., handling
of button clicks) may be blocked during handling of the event.
should be kept to a minimum since all other JavaScript execution (e.g., handling
of button clicks) may be blocked during handling of the event.
Monitoring the OnCallEnd() Event
A Monitor Mode application that monitors any Call-related events must also
monitor the OnCallEnd() event.
monitor the OnCallEnd() event.
Warning
The Call object in the CTI OS CIL is only deleted when the OnCallEnd() event
is received; therefore if the OnCallEnd() event is not monitored, Call objects
will accumulate and cause a memory leak.
is received; therefore if the OnCallEnd() event is not monitored, Call objects
will accumulate and cause a memory leak.
Working with Agent Statistics
Overview
This section describes how to work with agent statistics and contains the
following subsections:
following subsections:
•
•
•