Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 546
C H A P T E R
 
6-1
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
6
Event Interfaces and Events
This chapter describes the CTI OS Client Interface Library’s event publications 
mechanism. Programs written to take advantage of CTI interfaces are generally 
event driven, meaning that the application will have a code module executed when 
an external event arrives. The CIL interface provides a rich set of event interfaces 
and events for use by client programmers.
Events are generated asynchronously, either by the telephony equipment (e.g. 
phone, PBX, ACD, etc.) or by the CTI environment (ICM, CTI Server, or CTI OS 
Server). Each event passes an Arguments structure of key-value pairs that 
contains all of the event parameters. These parameters are discussed in greater 
detail in this chapter.
Event Publication Model
Note
The CIL event interfaces discussed in this section and the following sections 
apply only to the C++, COM, and VB interfaces. See the section 
 at the end of this chapter for a discussion of Java CIL counterpart events and 
event handling in the Java CIL.
The Client Interface Library provides a publisher-subscriber model for notifying 
clients of events. Client applications using the CIL can subscribe to one or more 
of the CIL event interfaces. For detailed information and examples for how to 
subscribe and unsubscribe for events, see