Cisco Cisco Computer Telephony Integration Option 8.5 Entwickleranleitung
Chapter 4 Building Your Application
Working with Calls
4-48
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
The following examples shows this in Java:
Integer IMask = rArgs.GetValueIntObj(CTIOS_ENABLEMENTMASK);
if (null != IMask) {
int iMask = IMask.intValue();
if (iMask & ENABLE_ANSWER) {
//Enable the AnswerCall button
}
else {
//Disable the AnswerCall button
}
}
// else do nothing
Checking Not Ready Bitmasks in OnButtonEnablementChange() Event
A client application receiving the OnButtonEnablementChange() event must
check both the ENABLE_NOTREADY and
ENABLE_NOTREADY_WITH_REASON bitmasks in the event.
check both the ENABLE_NOTREADY and
ENABLE_NOTREADY_WITH_REASON bitmasks in the event.
Caution
Failure to check both the ENABLE_NOTREADY and
ENABLE_NOTREADY_WITH_REASON bitmasks may lead to problems
properly displaying a NotReady control to the agent.
ENABLE_NOTREADY_WITH_REASON bitmasks may lead to problems
properly displaying a NotReady control to the agent.