Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 508
   
6-34
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 6      Event Interfaces and Events
ICallEvents Interface
OnCallEnd
The OnCallEnd event is generated when the association between a call and the CTI Client is dissolved. 
The OnCallEnd event is the last event received for a Call.
Syntax
C++:
void OnCallEnd(Arguments& args)
COM:
void OnCallEnd (IArguments * args)
VB:
session_OnCallEnd (ByVal args As CtiosCLIENTLib.IArguments)
Connection 
DeviceID
INT
The device identifier of the connection between the call and the 
device.
ConnectionCallID
UINT
The Call ID value assigned to this call by the peripheral or the 
Unified ICM.
ServiceNumber 
INT
The service that the call is attributed to, as known to the 
peripheral. May contain the special value NULL_SERVICE 
when not applicable or not available.
ServiceID
INT
The Unified ICM ServiceID of the service that the call is 
attributed to. May contain the special value NULL_SERVICE 
when not applicable or not available.
DivertingDevice 
Type
SHORT
Indicates the type of the device identifier supplied in the 
DivertingDeviceID field.
CalledDeviceType
SHORT
Indicates the type of the device identifier supplied in the 
CalledDeviceID field.
LocalConnection 
State
SHORT
The state of the local end of the connection.
EventCause
SHORT
Indicates a reason or explanation for the occurrence of the event.
DivertingDeviceID 
(Optional)
STRING
The device identifier of the device from which the call was 
diverted. 
CalledDeviceID 
(Optional)
STRING
The device identifier of the device to which the call was diverted. 
Keyword
Type
Description