Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide
8-33
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Chapter 8 Session Object
Notes On Message Filters
Table 8-6
Special Filter Keywords
Keyword
Description
FilterTarget=SkillGroupStats (see
When set, this filter indicates that the CTI OS server should forward
skill group statistics to the client application, whether or not any agents
are logged in.
skill group statistics to the client application, whether or not any agents
are logged in.
HideSilentMonitorCallEvents (see
)
This keyword is used to block call events for silent monitor calls in
monitor mode applications.
monitor mode applications.
Filtering Skillgroup Statistics
One of the most common applications for a filter mode application is the processing of only skill group
statistics. For this purpose, the specialized filter FilterTarget=SkillGroupStats is defined. When set, this
filter indicates that the CTI OS server should forward skill group statistics to the client application,
whether or not any agents are logged in.
statistics. For this purpose, the specialized filter FilterTarget=SkillGroupStats is defined. When set, this
filter indicates that the CTI OS server should forward skill group statistics to the client application,
whether or not any agents are logged in.
After the filter is set, the client application needs to invoke the EnableSkillGroupStatistics(...) method
for each skill group that it is expecting to receive statistic. To stop receiving statistics for a given skill
group, the application must invoke DisableSkillGroupStatistics
for each skill group that it is expecting to receive statistic. To stop receiving statistics for a given skill
group, the application must invoke DisableSkillGroupStatistics
'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