Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide
8-33
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(1)
Chapter 8 Session Object
Notes On Message Filters
After the filter is set, the client application needs to invoke the EnableSkillGroupStatistics(...) method
for each skill group that it is expecting to receive statistics. To stop receiving statistics for a given skill
group, the application must invoke the DisableSkillGroupStatistics method.
for each skill group that it is expecting to receive statistics. To stop receiving statistics for a given skill
group, the application must invoke the DisableSkillGroupStatistics method.
'register to receive skill group statistics
sFilterExpression=”FilterTarget=SkillGroupStats"
'call SetMessageFilter
m_session.SetMessageFilter sFilterExpression
'Enable statistics for skills 78,89 and 90 in peripheral 5004
Private Sub m_Session_OnMonitorModeEstablished(ByVal pArguments As Arguments)
Dim m_Args = new Arguments
'For Skill 78
m_Args.AddItem "SkillGroupNumber",78
m_Args.AddItem "PeripheralID",5004
m_session.EnableSkillGroupStatistics m_Args
'For Skill 89
m_Args.Clear
m_Args.AddItem "SkillGroupNumber",89
m_Args.AddItem "PeripheralID",5004
m_session.EnableSkillGroupStatistics m_Args
'For Skill 90
m_Args.Clear
m_Args.AddItem "SkillGroupNumber",90
m_Args.AddItem "PeripheralID",5004
m_session.EnableSkillGroupStatistics m_Args
'Don't need arguments any more
Set m_Arg = Nothing
End Sub
Private Sub MyObjectClass_OnCleanupApplication()
Dim m_Args = new Arguments
'For Skill 78
m_Args.AddItem "SkillGroupNumber",78
m_Args.AddItem "PeripheralID",5004
m_session.DisableSkillGroupStatistics m_Args
'For Skill 89
m_Args.Clear
m_Args.AddItem "SkillGroupNumber",89
m_Args.AddItem "PeripheralID",5004
m_session.DisableSkillGroupStatistics m_Args
'For Skill 90
m_Args.Clear
m_Args.AddItem "SkillGroupNumber",90
m_Args.AddItem "PeripheralID",5004
m_session.DisableSkillGroupStatistics m_Args
'Don't need arguments any more
Set m_Arg = Nothing
End Sub
Filtering CCM Based Silent Monitor Calls
If a monitor mode application does not wish to receive events for silent monitor calls, it can include the
"HideSilentMonitorCalls" keyword in the filter given to CtiOsSession.SetMessageFilter() to tell CTI OS
Server to hide events for silent monitor calls. Please see All Calls Sample.NET for an example of the use
of this filter.
"HideSilentMonitorCalls" keyword in the filter given to CtiOsSession.SetMessageFilter() to tell CTI OS
Server to hide events for silent monitor calls. Please see All Calls Sample.NET for an example of the use
of this filter.