Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 500
   
6-33
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 6      Event Interfaces and Events
ICallEvents Interface
OnCallEstablished
The OnCallEstablished event may be generated when the call is answered at the agent’s teleset. Both 
parties (call connections) receive this event when the call is answered. With this event, the call status of 
both parties becomes LCS_CONNECT.
Note
With certain switches, when a call is made outside of the ACD, this event may not be received. See 
OnCallReachedNetwork for more detail.
Syntax
C++:
void OnCallEstablished(Arguments& args)
COM:
void OnCallEstablished (IArguments * args)
VB:
session_OnCallEstablished (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
Keyword
Type
Description
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 ICM ServiceID of the service that the call is attributed to. 
May contain the special value NULL_SERVICE when not 
applicable or not available.
SkillGroupNumber 
(Optional)
INT
The number of the agent SkillGroup the call is attributed to, as 
known to the peripheral. May contain the special value 
NULL_SKILL_GROUP when not applicable or not available.
SkillGroupID (Optional)
INT
The ICM SkillGroupID of the agent SkillGroup the call is 
attributed to. May contain the special value 
NULL_SKILL_GROUP when not applicable or not available.
SkillGroupPriority 
(Optional)
SHORT
The priority of the skill group, or 0 when skill group priority 
is not applicable or not available.
LineType
SHORT
Indicates the type of the teleset line.
EnablementMask
INT
Contains the bit-mask that specifies what buttons can be 
enabled or disabled when this call is the current call. See 
.
UniqueObjectID
STRING
An object ID that uniquely identifies the call object.
CallStatus
SHORT
The current status of the call.
ICMEnterpriseUniqueID 
(Optional)
STRING
Required only when the call is pre-routed.