Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 490
   
6-15
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Chapter 6      Event Interfaces and Events
ISessionEvents Interface
The format of the SoundPreferences Arguments array is shown in 
.
Figure 6-7
 SoundPreferences Arguments Array
This configuration is stored in the Windows System Registry database and many of the values 
are set when the CTI OS Server Setup is run. You can set custom configuration at a later time 
by using the Windows Registry Editor. 
OnHeartbeat
The OnHeartbeat event is generated when a heartbeat response is received from a CTI OS server. It 
returns the time of day.
Syntax
C++:
void OnHeartbeat(Arguments& args)
COM:
void Onheartbeat (IArguments * args)
VB:
session_OnHeartbeat (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
Table 6-13
Heartbeat Parameters
OnMissingHeartbeat
The OnMissingHeartbeat event is generated when an expected heartbeat is not received. It returns the 
number of consecutive heartbeats missed and time of day. When the number of heartbeats missed equals 
or exceeds the maximum number of heartbeats allowed (set in the MaxHeartbeats property), an 
“All”,<Arguments array>
“Mute”, 0
“DTMF”,<Arguments array>
“Mute”, 0
“CustomerName”,<Arguments array>
“CustomeName”, CustomValue
...
“SoundPreferences”,<Arguments array>
“CustomName”, CustomValue
“CustomName”, CustomValue
Keyword
Type
Description
EventTime
INT
Integer value with time of day expressed in milliseconds.