Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 640
C H A P T E R
6-1
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.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 a code module in the application is 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 (for 
example, phone, PBX, and ACD) 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 
 for a 
discussion of Java CIL counterpart events and event handling in the Java CIL See 
, for a discussion of .NET CIL event handling. 
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