Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 546
 
Chapter 6      Event Interfaces and Events
ICallEvents Interface
6-32
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
OnCallHeld
Placing a call on hold at the agent’s teleset may generate an OnCallHeld event. 
With this event the connection status becomes LCS_HELD.
Syntax
C++:
void OnCallHeld(Arguments& args)
COM:
void OnCallHeld (IArguments * args)
VB:
session_OnCallHeld (ByVal args As CtiosCLIENTLib.IArguments)
Parameters
args
Arguments array containing the following fields.
TrunkNumber (optional)
INT
The number representing a trunk.
TrunkGroup Number 
(optional)
INT
The number representing a trunk group.
Keyword
Type
Description
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.
ICMEnterpriseUniqueID 
(Optional)
STRING
Required only when the call is 
pre-routed.