Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 500
   
6-74
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Chapter 6      Event Interfaces and Events
IButtonEnablementEvents
COM:
void OnButtonEnablementChange (IArguments * args)
VB:
session_ OnButtonEnablementChange (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. See 
.
UniqueObjectID
STRING
ID of the object (e.g., agent, call) that the 
event is meant for.
MessageID
INT
The event that triggered the button 
enablement change.
Note
 represents the C++/COM/VB enumerations. Enumerations for Java can be found in the 
description of CtiOs_Enums.ButtonEnablement in the Javadoc. It is strongly recommended that bits be 
referenced by the enumeration rather than the actual number in the bit mask.
Table 6-3
Table of Enablement Bits
Button
Bit Mask
DISABLE_ALL   
0x00400000
ENABLE_ANSWER    
0X00000001
ENABLE_RELEASE   
0X00000002
ENABLE_HOLD    
0X00000004
ENABLE_RETRIEVE   
0X00000008
ENABLE_MAKECALL    
0X00000010
ENABLE_TRANSFER_INIT   
0X00000020
ENABLE_TRANSFER_COMPLETE 
0X00000040
ENABLE_SINGLE_STEP_TRANSFER 
0X00000080
ENABLE_CONFERENCE_INIT   
0X00000100
ENABLE_CONFERENCE_COMPLETE 
0X00000200
ENABLE_SINGLE_STEP_ 
CONFERENCE
0X00000400
ENABLE_ALTERNATE    
0X00000800
ENABLE_RECONNECT   
0X00001000
ENABLE_WRAPUP     
0X00002000
ENABLE_INSIDE_MAKECALL   
0X00004000