Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 668
 
Chapter 6      Event Interfaces and Events
ICallEvents Interface
6-48
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1) 
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)
Parameters
args
Arguments array containing the following fields.
ServiceID
INT
The 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