Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide
8-18
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Chapter 8 Session Object
Methods
An output parameter (return value in VB, C++, Java, and .NET) containing a pointer to a pointer to
an IAgent that is the currently selected agent.
an IAgent that is the currently selected agent.
Return Values
COM: Default CTI OS return values. See
Others: A pointer or reference to an Agent that is the current agent. This method returns NULL if the
value requested is not found or if there is an error.
value requested is not found or if there is an error.
The C++, Java, and .NET versions of this method return NULL if the value requested is not found or if
there is an error.
there is an error.
GetCurrentCall
The GetCurrentCall method returns the call that is currently selected. You can use this method as a way
for controls to communicate between each other which call is selected and acted on. Use this method
rather than GetValue(“CurrentCall”).
for controls to communicate between each other which call is selected and acted on. Use this method
rather than GetValue(“CurrentCall”).
Syntax
C++:
CCall * GetCurrentCall()
COM:
HRESULT GetCurrentCall(/*[out, retval]*/ ICall ** call)
VB:
GetCurrentCall () As CTIOSCLIENTLib.ICall
Java/.NET:
Call GetCurrentCall()
Parameters
call
An output parameter (return value in VB, C++, Java, and .NET) containing a pointer to a pointer to
an ICall that is the currently selected call.
an ICall that is the currently selected call.
Return Values
COM: Default CTI OS return values. See
Others: A pointer or reference to a Call that is the current call. This method returns NULL if the value
requested is not found or if there is an error.
requested is not found or if there is an error.
The C++, Java, and .NET versions of this method return NULL if the value requested is not found or if
there is an error.
there is an error.
GetCurrentSilentMonitor
The GetCurrentSilentMonitor method returns a pointer to the SilentMonitorManager object instance that
is set as the current manager in the session object.
is set as the current manager in the session object.
Syntax
C++:
CSilentMonitorManager * GetCurrentSilentMonitor();