Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 546
 
6-35
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 6      Event Interfaces and Events
ICallEvents Interface
OnCallOriginated
The initiation of a call from the peripheral may generate an OnCallOriginated 
event. Only the connection making the call receives this event. With this event the 
connection status becomes LCS_INITIATE.
Syntax
C++:
void OnCallOriginated(Arguments& args)
COM:
void OnCallOriginated (IArguments * args)
VB:
session_OnCallOriginated (ByVal args As 
CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
Keyword
Type
Description
EnablementMask
INT
Contains the bit-mask that specifies what 
buttons can be enabled or disabled when this 
call is the current call. 
UniqueObjectID
STRING An object ID that uniquely identifies the call 
object.
CallStatus
SHORT
The current status of the call.
ICMEnterprise 
UniqueID (Optional)
STRING Required only when the call is pre-routed.