Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide
9-16
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Chapter 9 Agent Object
Methods
Parameters
call
Output parameter (return parameter in VB) that contains a pointer to a pointer to a Call object
containing the currently monitored call.
containing the currently monitored call.
Return Value
This method returns the current monitored call. The C++, Java, and .NET versions return null if no call
is currently being monitored.
is currently being monitored.
Remarks
Supported for use with IPCC only.
GetNumProperties
See
for a description of the GetNumProperties method.
GetPropertyName
See
for a description of the GetNumProperties method.
GetPropertyType
See
for a description of the GetNumProperties method.
GetSkillGroups
If skillgroupstats is enabled, the GetSkillGroups method allows a client to retrieve a list that contains
references to all the skill group objects to which the agent belongs. To retrieve skill groups without enabling
skill group statistics, turn off agent event minimization by setting its value to 0 on the CTIOS server in the
registry key, for example:
references to all the skill group objects to which the agent belongs. To retrieve skill groups without enabling
skill group statistics, turn off agent event minimization by setting its value to 0 on the CTIOS server in the
registry key, for example:
HKLM\SOFTWARE\Cisco
Systems,Inc.\Ctios\<Customer-Instancename>\CTIOS1\Server\Agent\MinimizeAgentStateEvents
Systems,Inc.\Ctios\<Customer-Instancename>\CTIOS1\Server\Agent\MinimizeAgentStateEvents
Turning off even minimization makes skill group information available on the agent state change event.
The following code example shows how to access the skill group properties of the agent object:
The following code example shows how to access the skill group properties of the agent object:
Log m_Agent.DumpProperties
Dim i As Integer
For i = 1 To 20
If m_Agent.IsValid("SkillGroup[" & i & "]") Then
Set argskills = m_Agent.GetValueArray("SkillGroup[" & i & "]")
Log "SkillGroup[" & i & "]:" & argskills.DumpArgs
Else
Log "SkillGroup[" & i & "] args doesnt exist"