Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 640
 
4-55
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
 
Chapter 4      Building Your Application
Working with Calls
CTIOS_WRAPUPOKENABLED indicates whether wrapup data is required for 
the recently ended call. A value of false indicates that wrapup data is not required. 
A value of true indicates that wrapup data is required. (In the Combo Desktop 
sample, this value is used as a boolean to determines whether the "Ok" button on 
the wrapup dialog is enabled when no wrapup information has been selected.) 
This value may be obtained using the GetValueBool method on the Agent object.
The wrapup strings that are configured on CTI OS server are sent to the client 
during the login procedure and are stored under the keyword 
CTIOS_INCOMINGWRAPUPSTRINGS as an Arguments array within the 
Agent object. They can be obtained using the GetValueArray method on the Agent 
object. For information on how to configure wrapup strings on CTI OS server see 
Chapter 4 of the CTIOS System Manager's Guide.
Logout and NotReady Reason Codes
Depending upon the configuration of IPCC or the configuration of CTIOS server, 
the agent/supervisor desktop may be required to supply a reason code when 
requesting an agent state change to Logout or NotReady state. The CTI Toolkit 
Combo Desktop .NET sample provides examples of how to implement reason 
codes in an agent/supervisor desktop. (See the btnLogout_Click and 
btnNotReady_Click methods in SoftphoneForm.cs)
CTI OS server informs the CTI OS client of this configuration during the login 
process and the information is stored in the following properties on the Agent 
object:
CTIOS_LOGOUTREASONREQUIRED - This boolean value indicates 
whether a reason code is required for logout. A value of true indicates that a 
reason code is required. A value of false indicates that a reason code is not 
required. This value can be obtained using the GetValueBool method on the Agent 
object.
CTIOS_LOGOUTREASONCODES - This Arguments array provides a list of 
the logout reason codes configured on CTIOS server. They can be obtained using 
the GetValueArray method on the Agent object. 
CTIOS_NOTREADYREASONREQUIRED - This boolean value indicates 
whether a reason code is required when setting an agent to NotReady state. A 
value of true indicates that a reason code is required. A value of false indicates 
that a reason code is not required. This value can be obtained using the 
GetValueBool method on the Agent object.