Cisco Cisco Computer Telephony Integration Option 10.5 Developer's Guide
8-17
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
Chapter 8 Session Object
Methods
Return Value
Default CTI OS return values. See
Remarks
C++ code example:
Arguments & argsStatBroadcast = Arguments::CreateInstance();
argsStatBroadcast.AddItem(CTIOS_SKILLGROUPNUMBER, intSG);
argsStatBroadcast.AddItem(CTIOS_PERIPHERALID, m_periphID);
m_pSkGrStatSession->EnableSkillGroupStatistics ( argsStatBroadcast );
argsStatBroadcast.Release();
GetAllAgents
The GetAllAgents method returns an array of object IDs. Each object ID is
associated with an Agent object stored in the CIL.
associated with an Agent object stored in the CIL.
The number of object IDs returned from this method depends on the number of
agents that the CIL has discovered through agent events. For example, a CIL used
in an agent desktop application returns one ID, which is the ID of the agent
currently logged into the desktop. A supervisor desktop returns the supervisor’s
ID as well as IDs for all agents on the supervisor’s team. A monitor mode
application filtering all agent events returns IDs for each agent known by the CTI
OS Server.
agents that the CIL has discovered through agent events. For example, a CIL used
in an agent desktop application returns one ID, which is the ID of the agent
currently logged into the desktop. A supervisor desktop returns the supervisor’s
ID as well as IDs for all agents on the supervisor’s team. A monitor mode
application filtering all agent events returns IDs for each agent known by the CTI
OS Server.
Syntax
C++:
Arguments & GetAllAgents()
COM:
HRESULT GetAllAgents(/*[out, retval]*/ VARIANT *args)
VB:
GetAllAgents (args As VARIANT)
Java:
Arguments GetAllAgents()
.NET:
Arguments GetAllAgents()
Parameters
args
COM/VB:
A pointer to a VARIANT containing a SAFEARRAY of pointers to
IAgents.