Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide
Chapter 4 Building Your Application
Working with Calls
4-54
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
How to Set the Current Call for the Session
To set the current call you use the SetCurrentCall() method for the Session. The
following code fragment, which assumes you retrieved the Call object as
described in the previous section, shows how to set the current call.
following code fragment, which assumes you retrieved the Call object as
described in the previous section, shows how to set the current call.
The following line shows this in Java:
m_Session.SetCurrentCall(ThisCall);
Call Wrapup
The agent/supervisor desktop will need to behave differently at the end of a call
depending on factors including:
depending on factors including:
•
the direction of the call (inbound or outbound)
•
configuration of IPCC or the ACD (whether wrapup data is required,
optional, or not allowed)
optional, or not allowed)
•
configuration of CTIOS server
The CTI Toolkit Combo Desktop .NET sample shows how to use this information
to display a wrapup dialog that allows the agent to select from a set of
pre-configured wrapup strings after an inbound call goes into wrapup state. (See
ProcessOnAgentStateEvent in SoftphoneForm.cs) On an agent state change
event, if the state changes to WorkReady or WorkNotready state, this indicates
that the agent has transitioned to call wrapup state. The CTI OS server will
provide the following key/value pairs in the event arguments to aid in determining
whether wrapup data may be associated with the call and whether that data is
required or optional.
to display a wrapup dialog that allows the agent to select from a set of
pre-configured wrapup strings after an inbound call goes into wrapup state. (See
ProcessOnAgentStateEvent in SoftphoneForm.cs) On an agent state change
event, if the state changes to WorkReady or WorkNotready state, this indicates
that the agent has transitioned to call wrapup state. The CTI OS server will
provide the following key/value pairs in the event arguments to aid in determining
whether wrapup data may be associated with the call and whether that data is
required or optional.
CTIOS_INCOMINGOROUTGOING indicates the direction of the call. The
defined values are
defined values are
0 = the direction of the call is unknown
1 = the call is an incoming call and the agent may enter wrapup data
2 = the call is an outgoing call and the agent may not enter wrapup data
This value may be obtained using the GetValueInt method on the Agent object.