81fr Us Statserver
81fr Us Statserver
81fr Us Statserver
Stat Server
Users Guide
The information contained herein is proprietary and confidential and cannot be disclosed or duplicated
without the prior written consent of Genesys Telecommunications Laboratories, Inc.
Copyright 20092013 Genesys Telecommunications Laboratories, Inc. All rights reserved.
About Genesys
Genesys is the world's leading provider of customer service and contact center softwarewith more than 4,000
customers in 80 countries. Drawing on its more than 20 years of customer service innovation and experience,
Genesys is uniquely positioned to help companies bring their people, insights and customer channels together to
effectively drive todays customer conversation. Genesys software directs more than 100 million interactions every
day, maximizing the value of customer engagement and differentiating the experience by driving personalization and
multi-channel customer serviceand extending customer service across the enterprise to optimize processes and the
performance of customer-facing employees. Go to www.genesyslab.com for more information.
Each product has its own documentation for online viewing at the Genesys Documentation website or on the
Documentation Library DVD, which is available from Genesys upon request. For more information, contact your sales
representative.
Notice
Although reasonable effort is made to ensure that the information in this document is complete and accurate at the
time of release, Genesys Telecommunications Laboratories, Inc., cannot assume responsibility for any existing errors.
Changes and/or corrections to the information contained in this document may be incorporated in future versions.
Trademarks
Genesys and the Genesys logo are registered trademarks of Genesys Telecommunications Laboratories, Inc. All other
company names and logos may be trademarks or registered trademarks of their respective holders.
The Crystal monospace font is used by permission of Software Renovation Corporation,
www.SoftwareRenovation.com.
Released by
Genesys Telecommunications Laboratories, Inc. www.genesyslab.com
Chapter 1 Introduction........................................................................................... 11
What Is Stat Server? ............................................................................... 11
Monitoring Contact Centers ................................................................ 11
Multimedia Support............................................................................. 12
Stat Server Features........................................................................... 12
Stat Server Architecture in Regular Mode ............................................... 14
Persistent Statistics ............................................................................ 16
Stat Server Architecture in Cluster Mode ................................................ 17
SIP Cluster Solution............................................................................ 18
New in This Release................................................................................ 18
Changes Introduced in Release 8.1.2 ................................................ 18
Changes Introduced in Release 8.1.0 ................................................ 19
Object Hierarchy...................................................................................... 55
Associations Between Agents and DNs/Media Channels .................. 57
DN Association with Queues .............................................................. 57
General Notes About Objects.................................................................. 60
Queue DNs and Routing Points.......................................................... 60
Groups of Queues and Routing Points ............................................... 60
4 Framework 8.1
Table of Contents
6 Framework 8.1
Preface
Welcome to the Framework 8.1 Stat Server Users Guide. This document
introduces you to the concepts, terminology, and procedures that are relevant
to this Genesys server.
Note: For versions of this document that have been created for other releases
of this product, please visit the Genesys Customer Care website, or
request the Documentation Library DVD, which you can order by
e-mail from Genesys Order Management at [email protected].
Intended Audience
This guide, which is primarily intended for system administrators and
developers, assumes that you have a basic understanding of:
Computer-telephony integration (CTI) concepts, processes, terminology,
and applications.
Network design and operation.
Your own network configurations.
Basic Microsoft Windows and/or UNIX concepts.
You should also be familiar with:
Genesys Framework architecture and functions.
Tasks and functions of the Genesys solution with which you are using Stat
Server.
The Genesys T-Server model, the Genesys Interaction Model, and the
specific T-Server/Interaction Server that you use in your environment.
Chapter Summaries
In addition to this preface, this guide contains the following chapters and two
appendixes:
Chapter 1, Introduction, on page 11, explains the main Stat Server
functions and describes Stat Server architecture.
Chapter 2, Statistic Configuration Options, on page 21, contains
descriptions of configuration options for statistics.
Chapter 3, Stat Server Object Types, on page 53, describes the
Configuration Server objects that Stat Server monitors.
Chapter 4, Stat Server Actions, on page 61, explains what an action is in
Stat Server terms, and how actions are classified and defined.
Chapter 5, Object Statuses, on page 129, explains what a status is in Stat
Server terms, and how statuses are classified, defined, and determined.
Chapter 6, Statistical Categories, on page 141, introduces statistical
categories and explains how statistics in each category are calculated.
Chapter 7, Statistical Subjects, on page 171, describes the perspectives
from which Stat Server can view an interaction.
Chapter 8, Stat Server Timestamps, on page 175, describes the algorithm
Stat Server uses to compute the durations of actions using timestamps
provided by an event-supplying server.
Chapter 9, Campaign Statistics, on page 181, introduces statistics that
can be calculated for the Outbound Contact Solution.
Chapter 10, Custom Formulas, on page 189, explains how custom-value
statistics are defined and calculated.
Chapter 11, Virtual Agent Groups, on page 193, describes the types of
virtual agent group definitions that Stat Server supports and how to
configure them in Configuration Server.
Appendix, Predefined Statistical Types on page 199, lists the predefined
statistical types in the Stat Server configuration.
8 Framework 8.1
Preface Contacting Genesys Customer Care
Please limit your comments to the scope of this document only and to the way
in which the information is presented. Contact your Genesys Account
Representative or Genesys Customer Care if you have suggestions about the
product itself.
When you send us comments, you grant Genesys a nonexclusive right to use or
distribute your comments in any way it believes appropriate, without incurring
any obligation to you.
10 Framework 8.1
Chapter
1 Introduction
In the following sections, this chapter explains Stat Servers primary functions,
describes its architecture, and highlights the features introduced in the 8.1
release.
What Is Stat Server?, page 11
Stat Server Architecture in Regular Mode, page 14
Stat Server Architecture in Cluster Mode, page 17
New in This Release, page 18
For example, for each DN, Stat Server tracks DN activity, call activity on a
DN, and other relevant derived states, such as how long a phone is not in use,
how long a call is on hold, how long it takes to dial a call, how long a DN is
busy with an inbound call, and so forth.
From the gathered information, Stat Server performs a variety of statistical
calculations to provide its clients:
Duration in current state
Total number of times each state occurs
Cumulative time for each state
Percentage of time for each state
Average time for each state
Maximum and minimum times for each state
For a queue or routing point, Stat Server can track the following data:
Number of currently waiting calls
Cumulative waiting time of queued calls
Average waiting time of queued calls
Maximum and minimum waiting time of queued calls
Information on the outcome of calls after they have been distributed from
the queue
Multimedia Support
To support the distribution strategies provided in the Genesys eServices,
beginning with the 7.0 release, Stat Server architecture was improved to
include two new statistical object types: StagingArea and Strategy. (See
page 53 for a description of these object types.) Another feature introduced
during the 7.x release was the Genesys Resource Capacity Model, which
reflects an agents ability to handle multiple, simultaneous interactions of
differing media types on both single-media and multimedia DNs. You can
configure agent ability in Configuration Manager using the Resource Capacity
Wizard to create capacity rule scripts. The Genesys 8.0 Resource Capacity
Planning Guide describes this model and how to use it.
12 Framework 8.1
Chapter 1: Introduction What Is Stat Server?
Multi-Site Monitoring
Stat Server can monitor more than one T-Server and, therefore, more than one
PBX switch. Even if you use different kinds of switches, Stat Server tracks
what happens with all calls delivered to these switches, providing statistical
information for different sites simultaneously.
Java Functionality
Starting with release 7.0, Stat Server architecture was extended to include
support for pluggable statistical modules written in Java. This added flexibility
enables you to dynamically extend Stat Server functionality with new
statistical types (residing in Stat Servers Java Extensions [SSJE]) and to have
Stat Server supply them to Genesys applications. The Framework 8.1 Stat
Server Deployment Guide describes how to enable Java functionality in your
Stat Server applications.
14 Framework 8.1
Chapter 1: Introduction Stat Server Architecture in Regular Mode
When a call comes into the PBX, it may be sent to any of the following:
An internal PBX point for queuing or routing
An Interactive Voice Response (IVR)
An agents DN
This distribution decision may result from the PBXs own algorithms, which
distribute calls based on agent availability and other parameters.
Regarding Stat Server 7.0.2 and forward releases, when an Internet interaction
enters an e-mail, chat, or Web callback server, the interaction is routed through
Interaction Server for processing, before it is sent on to Stat Server. Stat Server
monitors these various interactionstracking their status at any given
moment, as well as historically over time.
Regarding Stat Server 7.0.1 and prior releases, when an Internet interaction
enters an e-mail, chat, or Web callback server, MS T-Server emulates
telephony events, so that Stat Server behavior can be described in PBX terms.
Interaction
Server
Inte
ra
Ev ction
ent
s
Stat Server
Database
Stat. Requests
T-ServerN Configuration
Server
T-Server1
For example, a small contact center may create two different types of agent
groups. One group handles calls in the main office and is defined by that
location. Another group provides technical support; agents of this group work
in different locations. In addition, a free-floating agent works at different
stations; s/he can receive calls at any DN/media that s/he logs in to.
Note: Statistical tools that switch vendors provide may take other approaches
to statistical calculations than the approach implemented in Stat Server.
Those tools may use different object types, different call definitions,
and so forth. As a result, statistics that these tools generate may differ
significantly from Stat Server statistics.
Persistent Statistics
The term persistence means that a statistic, once requested by a client,
continues to be calculated even after the client disconnects. Stat Server treats
all requested statistics as persistent. When a statistic that is not already
available on the server side is requested, it is automatically added to the
Persistent Statistic Pool. Stat Server continues to calculate the statistic
even after the requesting client closes it. When the client reopens the request
for this statistic, the Persistent Statistic Pool resends it with accurate values
to the client. By default, a statistic becomes obsolete and is removed from this
pool three days after a client last requested it.
You can configure Stat Server to save statistics periodically to disk using the
auto-backup-interval configuration option. If Stat Server terminates for any
reason, it initializes statistics in the Persistent Statistic Pool when restarted,
but it does not restore their previous values. The backup files, generated by one
instance of Stat Server, can be used by any other instance of Stat Server
(possibly, on a different platform).
16 Framework 8.1
Chapter 1: Introduction Stat Server Architecture in Cluster Mode
Stat Server instances within the Stat Server cluster run on the same host and
communicate to each other via shared memory.
Stat Server 8.1.2 uses a proprietary hybrid publish-subscribe system, which
scales with the number of Stat Server instances in a cluster.
18 Framework 8.1
Chapter 1: Introduction New in This Release
20 Framework 8.1
Chapter
2 Statistic Configuration
Options
In the Genesys Statistical Model, you configure the metrics that Stat Server
should collect for its clients within the Stat Server application itself on the
Options tab. This chapter describes those options. To learn about the options
that you can use to configure other aspects of the Stat Server application apart
from metric definitions, refer to the Fine-Tuning Stat Server Configuration
and the Common Log Options chapters in the Framework 8.1 Stat Server
Deployment Guide. These chapters describe the options that are available in
the [statserver], [log...], [common], [sml], and [java...] sections.
A metric is defined by the values of configuration options, which are described
in the following sections:
TimeProfiles Section, page 21
Filters Section, page 28
TimeRanges Section, page 39
Statistical Type Sections, page 40
The Genesys Statistical Model is described in the Overview book of the
Reporting Technical Reference series.
Note: The checkbox at the end of option descriptions throughout this chapter
indicates whether the options apply to Stat Server applications that
operate in restricted cluster mode. If so, C appears in the checkbox.
TimeProfiles Section
The TimeProfiles section defines the time intervals that Stat Server references
for calculating historical, aggregate values for statistics. This section must be
named TimeProfiles within the Stat Server Application object. Stat Server
clients, such as CCPulse+, specify which defined time profile to use when they
Option Description
C
<TimeProfileName>,<Type>
Defines the time interval over which a historical aggregate value is
calculated. The option name must consist of two entries separated by a
comma: <TimeProfileName> represents any string that names the time
profile, and <Type> represents the time interval type, which includes one
of the following:
Sliding
Growing
Selection (for Stat Server applications that operate in regular mode
only)
SinceLogin
With the exception of SinceLogin, you must specify values for each
interval type. The following subsections describe permissible values.
Stat Server uses a special time profile, called Default, when Stat
Servers client does not specify a time profile when requesting statistics.
Default uses a Growing interval type and resets statistics to zero (0)
every night at midnight. To override the reset time of this inherent time
profile, you must add a Default time profile to the TimeProfiles section
and redefine it as desired. See an example of this on page 24.
Default Value: No default value
Valid Values: Dependent on interval type. (See the following
subsections.)
Changes Take Effect: When Stat Server restarts
Stat Server projects actions and statuses onto time intervals (except for the
TotalAdjustedTime and TotalAdjustedNumber statistical categories [described in
Chapter 6]) on any time profile, as follows:
Status duration time for a status in progress is included in a statistic, even if
the status is not completed.
Action duration time for an action in progress is not included in a statistic
until the action is completed.
22 Framework 8.1
Chapter 2: Statistic Configuration Options TimeProfiles Section
Sample Current
Time
(2 sec.)
Note: Stat Server 7.0 and subsequent releases use the specified notification
frequency instead of the sampling length configured for the Sliding
time profile when a statistic is requested with the TimeBased
notification mode. As a result, the statistic is calculated using the value
of the notification frequency as a value of the sampling length. The
TimeBased and other notification modes are described on page 26.
Note: To specify more than one set of values, separate the sets with commas.
Example Suppose that you want to set up a time profile (named Shifts) that resets
statistics to zero when shifts change at 3:00 AM, 7:00 AM, 11:00 AM, 1:00
PM, 7:00 PM, and 1:00 AM. To do so, enter Shifts,Growing in the Name field
and 3:00 +4:00, 13:00 +6:00 in the Value field.
In this example, 3:00 +4:00 is translated as reset to zero at 3:00 AM, reset to
zero at 3:00 AM plus 4 hours (7:00 AM), and then reset to zero again at 7:00
AM plus 4 hours (11:00 AM). The setting 13:00 +6:00 is translated as reset to
zero at 1:00 PM (or 13:00 on the 24-hour clock), reset to zero at 1:00 PM plus
6 hours (7:00 PM, or 19:00 on the 24-hour clock), and then reset to zero again
at 7:00 PM plus 6 hours (1:00 AM).
Figure 6 illustrates this example.
.. 0:00
1:00
.
3:00
.
19:00
7:00
..
13:00 11:00
12:00
24 Framework 8.1
Chapter 2: Statistic Configuration Options TimeProfiles Section
Note: You can specify a relative mask in a statistical type for the purpose of
Selection intervals, even if the statistical category on which the type is
based does not require a relative mask.
Example Suppose that you want to set up a time profile (named Last5Calls) that tracks
the last five calls. To do so, enter Last5Calls with an interval type of
Selection, and 5 in the Value field.
Figure 7 on page 26 illustrates this example. In it, Total Interval 5 is calculated
from the end of Action 4 until Current Time. Because no action is in progress at
Current Time, the interval only includes durations of four actions (5 through 8).
Actions
3 5 7
1 2 4 6 8
t1
t2
t3
t4
Total Interval 1 Length
Statistic Current
Start Time
Time
Notification Modes
When requesting statistics, clients also specify how often they expect updates
on the statistical values. Stat Server, in both regular and restricted cluster
mode, sends updates using one of the following notification modes:
ChangesBasedStat Server reports the current value whenever a statistical
value changes. For time-related statistics, Stat Server reports the current
value whenever a statistical value changes and with the specified
notification frequency.
TimeBasedStat Server reports the current value at the specified
notification frequency (for example, every two seconds).
ResetBasedStat Server reports the current value right before setting the
statistical value to zero (0).
26 Framework 8.1
Chapter 2: Statistic Configuration Options TimeProfiles Section
Note that you can also request Current statistics with any of the three
notification modes. These statistics do not require any time profile unless
requested with ResetBased notification mode, in which case, you must use the
Growing time profile. CurrentState statistics cannot be requested with
ResetBased notification mode.
Insensitivity
Some Stat Server client applications, such as CCPulse+, specify an
insensitivity value to further control the network chatter between agent PCs
and Stat Server. Insensitivity describes a condition for Stat Server to send
updates of statistical values to its clients. An increase in the value of this
parameter usually decreases network traffic, but it also reduces reporting
accuracy, because values are not updated as frequently. This setting is not
visible in Stat Server configuration, but rather, clients pass its value to Stat
Server along with each statistic request.
Insensitivity plays no role for reset-based statistics. For time-based or
change-based notification mode, Stat Server only reports the recalculated value
if the absolute value of the difference between the previous value and the
recalculated value or its percentage ratio to recalculated value is at least equal
to the number specified by insensitivity.
In addition, Stat Server uses a different algorithm of comparison with
insensitivity depending on the data type of the result Stat Server calculates.
If the result is a floating-point decimalas is the case for statistics
providing custom values, ratios, or averagesStat Server uses percentages
as the measure of comparison of insensitivity between a previous and a
recalculated value. Given an Insensitivity setting of 5 for a floating-point
statistic, for instance, Stat Server sends the recalculated result to its client
only when the absolute value of the difference between the new and the old
result is more than 4 percent of the absolute value previously sent. In the
Note: This algorithm has changed throughout the releases. In 6.1 and prior
releases, Stat Server did not use percentages to measure insensitivity.
Filters Section
The Filters section of the Stat Server application defines conditions for
excluding call- and non-call-related activity based on certain criteria specified
in a logical condition. If used, this section must be named Filters. Filters
allow you to restrict Stat Server actions taken into account during the
computation of aggregate values. In a filtered statistic, Stat Server only
considers those actions that satisfy a filter condition on certain attributes of
TEvents, such as DNIS, ANI, CustomerID (or TenantID), MediaType, ThisQueue,
TreatmentType, UserData, Reasons, and ExtensionReasonCode. Stat Server also
allows filtering by Interaction Server-driven events via the UserData and
Reasons attributes.
Stat Server also considers the type of action in its analysis of a filter condition:
For durable actions and statuses, Stat Server uses the number of times that
a filter condition was true on an action (or status) and the duration of time
for which the filter was true.
For retrospective (instantaneous) actions, Stat Server evaluates a filter at
the moment of action completion. If the filter condition is true, the statistic
uses the entire duration of the action (and the number is 1).
This implementation does not change how Stat Server calculates Current
statistics, but it does alter the calculation of historical statistics. Now, for
example, instead of Stat Server returning the entire duration when an agent is
NotReady with a particular reason only at the end of the NotReady state, Stat
Server more accurately returns only that duration of time within the NotReady
state for which the filter condition was true. The following example and
Figure 8 both illustrate this point.
Example Assume that an agent has placed himself in the NotReady state for 50 minutes.
During that state, he selected four reason codes for the following durations,
respectively, on the phone set:
28 Framework 8.1
Chapter 2: Statistic Configuration Options Filters Section
ReasonCode 15 minutes
ReasonCode 215 minutes
ReasonCode 35 minutes
ReasonCode 125 minutes
Using filter=Reason Code 1, the current Stat Server implementation returns 2
as the number of times that filter=ReasonCode 1 or 30 minutes as the duration
for which the filter condition was true during the NotReady state.
Previous implementations returned 1 as the number of times that the filter
condition was trueonly if filter = ReasonCode 1 was true at the moment that
the agent left the NotReady state. Stat Server also returned 50 minutes, in this
example, as the duration of time for which filter=ReasonCode 1.
The filters that you configure in Stat Server appear under the Statistical
Parameters folder in Data Modeling Assistant (DMA), and among a particular
statistics properties within CCPulse+. (You can use DMA also to configure
new filters.) If a Stat Server client requests a particular statistic with a filter,
and that filter has been deleted from the configuration environment, Stat Server
continues to calculate the statistic and sends the client an unfiltered value.
Client applications can submit a statistic request that has no more than one
filter applied.
Each opened statistic can have its own specific filter represented as a text
string that contains a logical condition. The logical condition has to be proven
for each call or device property. The result is either true, which includes the
considered activity in the calculation, or false, which excludes the considered
activity from the calculation. The logical condition has references to call or
device properties, as well as to numeric and string constants, all of which are
combined by operators.
Options in the Filters section consist of the following:
option name Any character string that represents the name of the filter.
option value A logical condition that contains call or device properties
(see Tables 4 and 5) and numeric or string constants that are
combined by an operator (see Table 6). You can use the ?
and/or * wild-card characters in the designation of the
options value. Stat Server matches ? in a wild-card string to
any single character. Stat Server matches * to zero or more
characters. The default value uses the PairExists function
(see Table 3).
Option Description
C
<FilterName>
Defines a filter for filtering out call- and non-call-related activity, based
on certain criteria that are specified in a logical condition. The logical
expression is composed of:
Call or device properties (see Tables 4 and 5)
Operators (see to Table 6).
Values that consist of numerics, character string constants, or empty
strings, depending on the call or device property.
Notes:
The names of filters are unique only to the Stat Server application in
which they are defined; they do not inherently reveal the tenant who
created them. In multi-tenant environments that share the same Stat
Server application, consider implementing a naming convention,
such as TenantName-FilterName, to help users readily identify those
filters that are pertinent to their branch of the business.
In addition, you must specify a value for this option; otherwise, Stat
Server uses its default.
Example Suppose that you want to set up a filter (DNISFilter2222) that considers calls
whose Dialed Number Identification Service (DNIS) is 2222. To do so, enter
DNISFilter2222 in the Name field and DNIS=2222 in the Value field, as shown in
Figure 9. In this example, the call property is DNIS, the operator is the equal
sign (=), and the constant is 2222.
30 Framework 8.1
Chapter 2: Statistic Configuration Options Filters Section
DNIS string DNIS is the Dialed Number Identification Service. The DNIS is all or part
of the telephone number that was dialed to make a call.
ANI string ANI is the Automated Number Identification. The ANI is all or part of the
callers telephone number.
MediaType integer MediaType identifies the media of interaction. For example, the media
type of a call is voice. The predefined, case-sensitive media types are as
follows:
0 (voice) 11 (workitem)
1 (voip) 12 (callback)
2 (email) 13 (fax)
3 (vmail) 14 (imchat)
4 (smail) 15 (busevent)
5 (chat) 16 (alert)
6 (video) 17 (sms)
9 (cobrowsing) 18 (any)
8 (whiteboard) 19 (auxwork)
9 (appsharing) 100+ (custom)
10 (webform)
TreatmentType string Treatment is the type of the treatment applied to a call, such as Silence,
Music, Busy, and so forth.
32 Framework 8.1
Chapter 2: Statistic Configuration Options Filters Section
UserData string UserData refers to the data that is attached to an interaction. An IVR
(TKVList) might attach data to a call, for example, by collecting the numbers that
callers press on their telephone keypads in response to a prompt. Or, an
agent might attach data to a call from a desktop application. The TKVList
refers to a set of functions that perform actions on UserData properties. K
stands for Key and V stands for Value.
T-Server sends attached data in key-value pairs; that is, one pair element
specifies the key that describes the value, and the second element
specifies the keys actual value. For example, AfterCall could be the
name of a key, and the text Processed the call for 10 minutes could be
the keys value.
Extensions string This property enables Stat Server to filter switch-specific and other
(TKVList) features on any specified key-value pair recorded in the Attribute
Extensions attribute of select TEvents. A filter using this property must
be specified in the following format:
PairExists( Extensions, <key>, <value> )
where:
Extensions is the hard-coded name of the TKVList function.
<key> is a string representing the key of a key-value pair.
<value> is an integer or string representing the <key>s values.
For example:
PairExists(Extensions,"Sales",10000) (if the value is numeric)
PairExists(Extensions,"Color","Green") (if the value is string)
Stat Server applies a filter having this definition to a statistic for the
following noncall-related TEvents that Stat Server receives from an
agents DN:
EventAgentLogin EventDNDOn
EventAgentLogout EventDNDOff
EventAgentReady EventRegistered
EventAgentNotReady EventAddressInfo
Stat Server also applies a filter with this definition to the following call-
related TEvents that Stat Server receives from regular DNs:
EventAbandoned EventPartyChanged
EventAttachedData EventPartyDeleted
Changed EventPartyInfo (handled as
EventDialing EventEstablished)
EventEstablished EventQueued (handled as
EventHeld EventRinging)
EventNetworkCallStatus EventReleased
EventPartyAdded EventRetrieved
EventRinging
For call-related TEvents, filters using this property apply toward any
associated actions. For noncall-related TEvents, only the following
actions can be impacted by Extensions filtering:
AfterCallWork NotReadyForNextCall
LoggedIn WaitForNextCall
34 Framework 8.1
Chapter 2: Statistic Configuration Options Filters Section
Reasons string Refers to additional data that is included in the TEvent to provide
(TKVList) reasons for and results of actions taken by an agent. These reasons can
originate from software- or hardware-related reasonsStat Server does
not differentiate between the two. Stat Server uses the value of the
Reasons attribute in combination with the values of the UserData
attribute when processing filters:
PairExists( UserData, key, value ) and PairExists( key, value )
Stat Server uses the value of the Reasons attribute only in filters:
PairExists( Reasons, key, value )
When specified as such, Stat Server ignores any attached data that has
UserData defined as the key in order to avoid consuming additional
memory for its storage.
Note: Do not confuse this Reasons property with Reason, which serves
as an alias for the ExtensionReasonCode property described in the next
row.
Extension Refers to the reason code that T-Server propagates in its Attribute
ReasonCode Extensions attribute of a TEvent. T-Server uses this key-value pair to
gather switch-specific hardware reason codes that mostly accompany
Ready and NotReady TEvents. Despite the fact that Stat Server does not
restrict use of such variables in filters, Genesys recommends that you
use filters with this variable only for accessing switch-related reason
codes in non-call-related agent or DN states. Values of hardware reasons
are switch-specific and must be configured on the customer side.
In the event that T-Server propagates no reason code, Stat Server reports
the value of this condition as Unknown and any filters using this property
evaluate as False.
Stat Server packs Reason attached data into the values of CurrentState
statistics. Stat Server recognizes Reason as an alias of ExtensionReason
Code. This should not be confused with the Reasons property described
in the row above.
Operators
Table 6 shows the operators that you can use for a logical condition in a filter.
Operators Description
| Logical OR
~ Logical NOT
36 Framework 8.1
Chapter 2: Statistic Configuration Options Filters Section
UserData
The key-value list UserData cannot be an operand of any operator. Instead, it
can be listed as the first parameter of any one of the TKVList family of
functions shown in Table 7, or it can be left out. For example,
PairExists(UserData,key,value) and PairExists(key,value) are
equivalent.
These filter function names can be preceded with TKVList, as was the case in
previous versions of Stat Server. TKVListPairExists and PairExists are both
valid names, for example.
Use the wildcard character * (asterisk) in place of the value in filter functions.
PairExists(Key,*) would return 1 for true if any key-value pair exists
where the key equals Key, regardless of the value of that pair.
Property Description
PairExists( Key, Value ) Performs search for the specified pair. Returns a number:
1 (true) or 0 (false).
GetNumber( Key, Index ) Returns the numeric value of the occurrence of the given key as
specified by Index:
If Index is -1, the last occurrence is used.
If Index is a positive integer n, the nth occurrence is used.
When Index exceeds the total number of occurrences of the given key
in the list, or the key does not occur in the list at all, the returned value
is NULL.
Index is an optional attribute for this property. If not specified, Stat
Server substitutes -1 for its value; hence, GetNumber(Key) is
equivalent to GetNumber(Key, -1).
GetString( Key, Index ) Returns the string of the value of the given key as specified by Index:
If Index is -1, the string of the last value is used.
If Index is a positive integer n, the string of the nth value is used.
When Index exceeds the total number of occurrences of the given key
in the list or the key does not occur in the list at all, the returned value is
NULL.
Index is an optional attribute for this property. If not specified, Stat
Server substitutes -1 for its value; hence, GetString(Key) is
equivalent to GetString(Key, -1).
GetMax( Key ) Returns the maximum value among all pairs with this Key. A value of
NULL means that there are no pairs with the Key.
GetMin( Key ) Returns the minimum value among all pairs with this Key. A value of
NULL means that there are no pairs with the Key.
GetSum( Key ) Returns the sum of all values with this Key. A value of 0 means that
there are no pairs with the Key.
GetAver( Key ) Returns the average of all values with this Key. A value of 0 means
that there are no pairs with the Key.
For all functions dealing with numbers, the value of the key-value pair is
evaluated as either an integer or a floating point. If the key type is an integer,
the value is evaluated as an integer with no modifications. If the key type is a
string, the value is a floating point. Constants for a logical condition can be
either strings in double quotation marks (English,3333) or numbers (100,
3.14). Numbers (constants and function return values) are floating-point
values.
38 Framework 8.1
Chapter 2: Statistic Configuration Options TimeRanges Section
Starting with release 7.0, Stat Server ignores any attached data if no
corresponding filter or custom-value formula has been defined within Stat
Server that uses the specific key. This is done for performance and security
reasons. Stat Server, furthermore, does not output attached data to the Stat
Server log under this circumstance.
Example Suppose that you want to filter calls based on language. If the enterprise set up
the key Language to identify language and the value Spanish for callers
who speak Spanish, you could use the PairExists UserData function to search
for calls with attached data in the key-value pair form of Language/Spanish.
On the Options tab of the Stat Server Properties dialog box, you could add a
SpanishLanguage option in the Filters section and specify filtering for calls
with attached data containing the key Language and the value Spanish. The
example would have SpanishLanguage in the Name field and
PairExists(Language,Spanish) in the Value field.
Now, when an agent attaches the Spanish/Language key-value pair to calls
from a desktop application, the calls are filtered out of statistical calculcations.
TimeRanges Section
The TimeRanges section of the Stat Server application defines the time ranges
that Stat Server uses for collecting data. If used, this section must be named
TimeRanges. Time ranges can only be used for the following statistical
categories:
CurrentNumberInTimeRange
CurrentNumberInTimeRangePercentage
TotalNumberInTimeRange
TotalNumberInTimeRangePercentage
TotalTimeInTimeRange
ServiceFactor1
RelativeNumberPercentage
For more information about statistical categories, see Chapter 6 on page 141.
The TimeRanges section contains one or more <TimeRangeName> configuration
options. Table 8 describes the one configuration option applicable for this
section.
Option Description
C
<TimeRangeName>
Defines a time range for collecting data. The time range name is any
character string that represents the time range. The time range value is
composed of two digits separated by a hyphen (-): the starting point and
the end of the range in seconds, such as 0-20.
Default Value: No default value
Valid Value: Any value specified in the described format above
Changes Take Effect: When Stat Server restarts
Notes:
Specifying a time range of 0-20 results in Stat Server collecting data
from 0.00 seconds to 19.99999... seconds.
Specifying a time range of 20-50 results in Stat Server collecting data
from 20.00 seconds to 49.99999... seconds.
Thus, if you configure two time ranges (0-20 and 20-50), Stat Server
attributes the call that lasts exactly 20 seconds to the second time range
only.
When you have configured no options in the TimeRanges section, but a
statistic that requires a time range is requested, Stat Server calculates this
statistic with the predefined time range of 0-20.
Stat Server truncates milliseconds from timestamps before determining
duration. So, according to Stat Server, the duration of a call that is
queued with a timestamp of 05:40:56.949, for example, and answered
at 05:41:07.542 is 11 seconds, and not 10.593 seconds. This difference
of a much as one second can affect which time range the duration of an
interaction falls.
Example Suppose that you want to calculate the total number of calls answered within
30 seconds based on a specified time range. To do so, enter Range0-30 in the
Name field and 0-30 in the Value field.
In this example, a statistic that calculates the total number of calls would be
based on the time range Range0-30 if configured so in CCPulse+. If one call
is answered after being in a queue for 25 seconds, a second call after 40
seconds, and a third call after 10 seconds, Stat Server counts only the first and
third calls.
40 Framework 8.1
Chapter 2: Statistic Configuration Options Statistical Type Sections
Option Description
J,C,R
Objects
Specifies a list of comma-separated Stat Server object types to which statistics
apply. The list must consist of objects of the same compatibility group. (This
term is defined on page 55). You must include this option in a stat type
definition and specify a value.
Default Value: No default value
Valid Values: Refer to Table 13, Stat Server Object Types and Descriptions,
on page 54 and Campaign Objects on page 181.
Changes Take Effect: When Stat Server restarts.
Option Description
C,R
MainMask
Specifies a list of comma-separated actions (or statuses) that indicate which
contact center events that will be measured. This list comprises members from
the following groups:
For Stat Server operating in regular mode: regular DN actions, mediation
DN actions, media-channel actions, campaign actions, or statuses.
For Stat Server operating in restricted cluster mode: regular DN actions,
mediation DN actions, or statuses.
This option is mandatory for core stat types and you must specify one or more
values.
Use the wild-card (*) character to specify all actions; use the logical NOT (~)
character to exclude the action it precedes. Use parentheses around each action
(or status) that you want Stat Server to exclude from consideration of being
filtered. You cannot, however, use parentheses in conjunction with * or ~. For
example:
MainMask=CallInbound,(CallOutbound)
If a filter were applied to a statistic having this MainMask designation, Stat
Server would only apply the filter to CallInbound actions. CallOutbound
actions would continue to contribute to the tally of this statistic unfiltered. It is
also possible to use the * and ~ characters in selective filtering.
Default Value: No default value
Valid Values: Refer to Stat Server Actions on page 61, Object Statuses on
page 129, and Campaign Operational Actions on page 184 for a listing and
description of these actions and statuses.
Changes Take Effect: When Stat Server restarts.
42 Framework 8.1
Chapter 2: Statistic Configuration Options Statistical Type Sections
Option Description
C,R
RelMask
Specifies a list of comma-separated actions (or statuses) that indicate the
superset of contact center events against which the listing of actions (or
statuses) provided in the main mask will be measured. This list comprises
members from one of the following groups:
For Stat Server operating in regular mode: regular DN actions, mediation
DN actions, media-channel actions, campaign actions, or statuses.
For Stat Server operating in restricted cluster mode: regular DN actions,
mediation DN actions, or statuses.
Specifying this option is not mandatory, but if you do use it, you must supply
one or more values.
Use the wild-card (*) character to specify all actions; use the logical NOT (~)
character to exclude the action it precedes; and, use parentheses around each
mask that you want Stat Server to exclude from consideration of being filtered.
You cannot, however, use parentheses in conjunction with * or ~.
Default Value: No default value
Valid Values: Refer to Stat Server Actions on page 61, Object Statuses on
page 129, and Campaign Operational Actions on page 184 for a listing and
description of these actions and statuses.
Changes Take Effect: When Stat Server restarts.
J,C,R
Category
Informs Stat Server how to calculate statistics. This section is mandatory for
both core and Java stat types; and, you must supply one and only one value.
Default Value: No default value
Valid Values:
For Stat Server operating in regular or restricted cluster mode, refer to
Statistical Categories on page 141.
For Java stat types, this value must be: JavaCategory
Changes Take Effect: When Stat Server restarts.
J
JavaSubCategory
The name of the Java subclass that implements statistic calculation.
Default Value: no default value
Valid Values: string specified in the following format: jarfile:subclass
Changes Take Effect: When Stat Server restarts.
Option Description
C,R
Subject
Specifies the object type for statistics calculation that, when changed, affects
the statistical value. This section is mandatory for core stat types and you must
supply one and only one value.
Default Value: No default value
Valid Values:
DNAction, DNStatus, AgentStatus, GroupStatus (for Stat Server operation
in either regular or restricted cluster mode)
PlaceStatus, CampaignAction in addition to mentioned above (for
operation in regular mode only)
Refer to Statistical Subjects on page 171 for a description of these values.
Changes Take Effect: When Stat Server restarts.
Note: The AgentStatus and PlaceStatus objects were synonymous in releases
5.1, 6.0, and 6.1. However, they are independent in 6.5 and later releases.
J,C,R
<business attribute>
Specifies one, and only one, business attribute that Stat Server applies as a filter
during its computation of statistics. Starting with release 7.1, Stat Server
supports only the MediaType business attribute. Specifying this option is not
mandatory.
Default Value: No default value
Valid Values: Non-empty string
Changes Take Effect: When Stat Server restarts.
The name of the business attribute must be a valid business attribute that is
already defined to a particular tenant before Stat Server starts. This name
cannot coincide with the reserved names for other Stat Server configuration
options, such as Subject, Category, and Filter. Furthermore, the name must
not contain special symbols (such as |, =, or ;) or spaces.
C,R
ReasonStartOverrides
Determines how Stat Server computes current-state statistics. If this option is
StatusStart
set to no, Stat Server uses the timestamp that is affiliated with the agents
current status, as in prior releases, to determine statistical values. If this option
is set to yes, Stat Server also considers the timestamp that is affiliated with
changes in reason code.
Default Value: no
Valid Values: yes, no
Changes Take Effect: When Stat Server restarts.
Setting this option to yes enables Stat Server to provide more refined results for
those circumstances in which agents designate different reasons for being in the
same state. This option is applicable only to the CurrentStateReasons
statistical category.
44 Framework 8.1
Chapter 2: Statistic Configuration Options Statistical Type Sections
Option Description
R
UseSourceTimeStamps
For those metrics that qualify, this option specifies whether Stat Server uses the
actual time that events were transmitted to Stat Server (source timestamp) or
the time that Stat Server acknowledges receipt of the events (the default
behavior) when calculating metric duration. Setting this option to yes enables
better consistency with the metrics provided by Interaction Concentrator
(ICON) and other downstream Genesys applications of ICON.
Qualifying metrics have both of the following characteristics:
[TimeProfileName]=Selection or Growing
[StatTypeDef]
Subject=DNAction or CampaignAction
MainMask=one or more durable and/or retrospective actions (including
instantaneous actions that carry an associated duration, like
AgentLogin).
Category=one that is historical, cumulative, and measures duration,
such as TotalTime and LoadBalance.
Stat Server ignores a yes value for this option if the metric fails the
qualification test.
Default Value: no
Valid Values: no, yes
Changes Take Effect: When Stat Server restarts.
Note: For Stat Server applications that operate in restricted cluster mode, Stat
Server inherently behaves as if this option were set to yes.
Refer to Stat Server Timestamps on page 175 for an extended discussion of
Stat Servers use of source timestamps.
Option Description
C,R
Formula
Enables Stat Server to compute user-specific quantities that are based on
attached data communicated by TEvents. Chapter 10, Custom Formulas is
dedicated to an extended discussion of this subject. You can define a custom
formula as described in Custom Formulas on page 49.
A special specifierDistByConnIDaffects Stat Servers mechanism of
aggregating statistics for the call-related actions that are listed in the main
mask. This specifier will be ignored for Stat Server operating in restricted
cluster mode.
DistByConnID is applicable only to the limited number of statistical categories:
TotalNumber
TotalAdjustedNumber
CurrentNumber
TotalTime
When the DistByConnID specifier is used in a stat types definition, Stat Server
groups the statistics actions by connection ID (ConnID). In general, the
contribution of a group of actions differs from that of the sum of contributions
of the individual actions in that groupas is the case when DistByConnID is not
specified for a statistic.
Stat Servers procedure of grouping actions by connection ID applies to the
actions specified in MainMask for the objects that are associated with the
statistic. The procedure differs for each statistical category and are described as
follows:
For the TotalNumber/TotalAdjustedNumber statistical categories, when any
of the following conditions are true, Stat Server increments the statistic at
the end of an action or the start of status respectively:
An action or status with particular ConnID starts.
There are no actions or statuses in progress for the same ConnID.
No such actions or statuses were in progress for less than one minute
ago (1 minute is hard-coded).
If the action or status is unrelated to a call, then aggregation functions in the
same manner as when DistByConnID is not specified.
Note: DCID is not applicable in TotalNumber/TotalAdjustedNumber statistics
where filters or time ranges are also used.
46 Framework 8.1
Chapter 2: Statistic Configuration Options Statistical Type Sections
Option Description
C,R
Formula (continued)
For the CurrentNumber statistical category, when either of the following
conditions is true, Stat Server increments the statistic:
An action or status with a particular ConnID starts.
There are no actions or statuses in progress for the same ConnID.
When the action or status with the particular ConnID ends, Stat Server
decrements the statistic only if there are no more actions or statuses in
progress for that ConnID.
If the action is either not call-related or not durable, Stat Server ignores this
action in statistic calculations.
Notes:
If you use the DistByConnID qualifier, you must list it first among the
Formula values as such:
Formula=DistByConnID,...
Stat Server recognizes the following aliases for DistByConnID:
DistinguishByConnID
DCID
Any filtering that might be used in conjunction with a statistic, such as the
designation of a MediaType, is applied prior to Stat Servers processing of
DistByConnID.
Default Value: No default value
Valid Values: DCID, <custom formula>
Changes Take Effect: When Stat Server restarts.
J,C,R
Description
Specifies a description for this stat type. Specifying this option is discretionary;
Stat Server ignores any value that you set for this option.
Default Value: No default value
Valid Values: String of fewer than 256 characters
Changes Take Effect: When Stat Server restarts.
Notes: If you want to change the definition of a stat type during runtime, you
must first delete the entire stat-type definition and then re-create it with
its new definition. Otherwise, Stat Server will recognize the change
only upon restart.
Stat Server clients may recognize other options for stat types that are
not listed in Table 9. For instance, Data Sourcer requires that the
AggregationType option be specified for statistics derived from a Stat
Server Java extension. This information is processed by the client; Stat
Server ignores such options.
48 Framework 8.1
Chapter 2: Statistic Configuration Options Statistical Type Sections
TotalCustomValue CurrentCustomValue
AverageCustomValue CurrentAverageCustomValue
MinCustomValue CurrentMinCustomValue
MaxCustomValue CurrentMaxCustomValue
[AverSalesAmountPerInboundCall]
Objects=Agent, Place, GroupAgents, GroupPlaces
Category=AverageCustomValue
MainMask=CallInbound
Subject=DNAction
Formula=GetNumber("Price", 1) * GetSum("Amount")
Custom Formulas
Custom formulas define custom values from an action or a status on the basis
of attached data. Attached data can be attached to the call by different T-Server
clients. An IVR might attach data to a call, for example, by collecting the
numbers that callers press on their telephone keypads in response to a prompt.
An agent might also attach data to a call using a desktop application.
The language used in custom formulas is similar to that used in filters. Each
formula is an arithmetic expression built from function calls and numeric
constants, consisting of:
Function calls. Custom formulas can use values from the key-value
UserData lists received with TEvents related to Stat Server actions. Access
to these values is provided by the functions listed in Table 12. This table
also shows the rules for converting the string values of key-value lists to
numbers. Note that the list can include more than one pair with the same
key.
Operators (see Table 11), as well as parentheses (for suppressing standard
precedence rules).
Table 11: Operators in Custom Formulas
Operator Description
+ Addition
Subtraction
/ Division
* Multiplication
Numeric constants.
Custom formulas always return a value of type float. The returned value is
used in statistical calculations for each category.
Note: For momentary actions, the GetGlobalMax function returns the same
value as the GetMax function.
50 Framework 8.1
Chapter 2: Statistic Configuration Options Statistical Type Sections
Function Description
GetNumber(Key, Index) Returns the numeric value of the occurrence of the given key as specified
by Index:
If Index is -1, the last occurrence is used.
If Index is a positive integer n, the nth occurrence is used.
When Index exceeds the total number of occurrences of the given key in
the list, or the key does not occur in the list at all, the returned value is 0.
Index is an optional attribute for this property. If not specified, Stat Server
substitutes -1 for its value; hence, GetNumber(Key) is equivalent to
GetNumber(Key, -1).
GetMax(Key) Returns the maximum value among all the values of pairs with the given
key. When there are no such pairs, 0 is returned.
GetMin(Key) Returns the minimum value among all the values of pairs with the given
key. When there are no such pairs, 0 is returned.
GetSum(Key) Returns the sum of all the values of pairs with the given key. When there
are no such pairs, 0 is returned.
GetAver(Key) Returns the average of all the values of pairs with the given key. When
there are no such pairs, 0 is returned.
GetGlobalNumber(Key, Returns the numeric value of the occurrence of the given key, attached at
Index) any DN, which is a member of the call, as specified by Index:
If Index is -1, the last occurrence is used.
If Index is a positive integer n, the nth occurrence is used.
When Index exceeds the total number of occurrences of the given key in
the list, or the key does not occur in the list at all, 0 is the returned value.
GetGlobalMax(Key) Returns the maximum value among all the values of pairs, attached at any
DN, which is a member of the call, with the given key. When there are no
such pairs, 0 is returned.
GetGlobalMin(Key) Returns the minimum value among all the values of pairs, attached at any
DN, which is a member of the call, with the given key. When there are no
such pairs, 0 is returned.
Function Description
GetGlobalSum(Key) Returns the sum of all the values of pairs, attached at any DN, which is a
member of the call, with the given key. When there are no such pairs, 0 is
returned.
GetGlobalAver(Key) Returns the average of all the values of pairs, attached at any DN, which is
a member of the call, with the given key. When there are no such pairs, 0
is returned.
Example Suppose that you want to multiply 99.99 by the sum of all the values of key-
value pairs with key Amount. To do so, enter the following formula:
99.99 * GetSum( "Amount" )
52 Framework 8.1
Chapter
Object Descriptions
Object types provide one aspect of a statistical type (stat type). Stat types are
used to define a statistic. You specify objects within the Objects option of stat
types (described on page 41). Object-type specification identifies which
internal event model Stat Server uses in the acquisition of statistical values.
Table 13 describes all of the types of objects Stat Server monitors while
operating in regular mode.
The object types Stat Server monitors while operating in restricted cluster
mode are few in number. In Table 13, these types are indicated within the box
at the end of each description. If the object type applies to Stat Server
operating in restricted cluster mode, C (for cluster) appears in the box. If the
object type does not apply, the box remains empty.
Note that Stat Server, in either mode of operation, will ignore any object type
specified in a stat type that is invalid for Stat Servers mode of operation. This
disregard enables you to use the same stat-type configuration in either mode.
Place
Stat Server tracks the activity of a place by using a unique PlaceID. Even if various
agents move in and out of a place, Stat Server can record the total activity for the
place.
C
Queue
For the regular mode of operation, Stat Server tracks the activity occurring at:
Automatic Call Distribution (ACD)-associated points at which calls wait for agent
availability.
Virtual queue DNs, a special type of DN that is maintained by a CTI installation
and whose behavior is identical to that of a routing point.
For the restricted cluster mode of operation, Stat Server tracks the activity occurring
at virtual queue DNs only.
C
RoutePoint
Stat Server tracks the activity occurring at:
Regular routing point DNs, where calls wait for routing. These points might have
different names on different switching platforms (for example, CDN, VDN, and so
forth).
Virtual routing point DNs, which designate a special type of DN that is not
associated with any particular target and where customer interactions wait while
Universal Routing Server (URS) makes routing decisions.
C
GroupAgents
This object type designates a collection of agents that is identified by a GroupID. An
agent can be a member of more than one in agent group. No matter where agents log
in, their activity can be monitored as part of the group.
Stat Server also attributes the activity of virtual agent groups to this object type.
Virtual agent groups are dynamically generated within Configuration Server. Refer to
Supported Virtual Agent Group Definitions on page 193 for more information.
GroupPlaces
This object type designates a group of places. Each place that is part of the group has
a unique PlaceID, which is associated with the GroupID.
54 Framework 8.1
Chapter 3: Stat Server Object Types Object Hierarchy
RoutingStrategy
This object type designates a routing strategy that is deployed by the Interaction
Routing Designer Genesys tool and is manifested in Configuration Server as a Script
object of subtype CFGSimpleRouting or CFGEnhancedRouting.
StagingArea
This object type corresponds to the Script Configuration Server type,
CFGInteractionQueue or CFGInteractionWorkBin subtypes. It is analogous to the
concept of queues for the eServices (formerly known as Multimedia) solution in
which customer interactions may reside while they are being processed.
Switch
This object type names a switch. You can collect only one piece of information for
objects having this object type; namely, the total number of hardware errors that
occurred at the switch. Refer to Appendix A, Predefined Statistical Types, on
page 199 for an example of how to define this statistic.
Tenant
An object that represents a business entity within the Configuration Server.
Workbin
A queue-like entity for storing multimedia interactions through which agents
explicitly pull interactions for further processing. In Configuration Server, workbins
are managed as Script objects of type InteractionWorkbin.
Object Hierarchy
Relationships are defined between various contact center objects within
Configuration Server. DNs are defined to a switch. Queues might be assigned
to queue groups. Agents might be affiliated with places, and so forth.
Relationships can exist only between compatible objects. The listing of objects
for which interrelationships could exist form an objects compatibility group.
Table 14 shows those groups of objects whose members Stat Server considers
to be potentially compatible.
For telephony objects, some of these relationships are illustrated in Figure 10.
Objects relationships defined within an Outbound campaign are illustrated in
Figure 24 on page 182. The Stat Server Java Extensions calculate statistics for
multimedia objects, such as Workbin, StagingArea, Tenant, and Routing
Strategy. These objects are discussed no further in this document.
56 Framework 8.1
Chapter 3: Stat Server Object Types Object Hierarchy
58 Framework 8.1
Chapter 3: Stat Server Object Types Object Hierarchy
Stat Server writes records 4 and 5 (in Table 15) to the LOGIN table, because in
T-Server 6.5, there was no notion of logout from just one queuethe Event
QueueLogout TEvent did not exist. Instead, the model, at that time, called for
the logging out of all queues (by sending the EventQueueLogout TEvent) and
then the logging back in of the remaining queue(s).
Table 15: LOGIN Entries Given T-Server 6.5 and Stat Server 7.0.2 (or prior)
The latest version of T-Server 7.0 and forward releases, however, do send the
EventQueueLogout TEventbut Stat Server versions prior to 7.0.3 did not
recognize it as noted in Table 16.
Table 16: LOGIN Entries Given T-Server 7.0+ and Stat Server 7.0.2 (or prior)
In Table 17, notice that Stat Server does add record # 4 upon receipt of the
Event QueueLogout TEvent. In doing so, Stat Server logs out neither the DN
nor the place.
Table 17: LOGIN Entries Given T-Server 7.0+ and Stat Server 7.0.3+
Stat Servers receipt of the EventAgentLogout TEvent logs out all queues and
DNs to which Ryan was logged in. Stat Server does not write a queue value to
the record upon receipt of EventAgentLogout.
60 Framework 8.1
Chapter
Overview
Actions are the information atoms of Stat Server, all statistical values are
ultimately based on:
Data about the occurrence of Stat Server actions.
Data attached to TEvents starting an action or occurring during an action.
Where applicable, an actions duration.
To make sense of any Stat Server statistic, you need to understand which
actions are mapped to it and how they exist within a telephony environment.
This chapter classifies the general subdivisions of Stat Server actions and
describes individual actions. For information about Stat Server actions related
to campaigns, see Chapter 9.
Classifying DN Actions
At the uppermost level, actions can be segmented into one of the following
three groups:
Regular DN actions (generated from TEvents that are spawned from either
T-Server or SIP Server)
Mediation DN actions (generated from TEvents that are spawned from
either T-Server or SIP Server)
Media-channel actions (exclusively generated from events that are
spawned from an Interaction Server)
Within each group, actions can be subclassified further as having the following
properties:
Durable or instantaneous
Related to an interaction or not related to an interaction
The CallRinging action, for example, can be classified as a durable,
interaction-related, regular DN action.
Regular DN actions, generated on multimedia DNs, are subdivided further into
media-dependent and media-independent actions. An action is media-
dependent if the MediaType attribute is applicable to the action and media-
independent otherwise. LoggedIn is media-independent while all call-related
actions, like CallInbound, are media-dependent.
Media-dependent actions are either media-unique or media-common. An action
is media-unique if only one action per supported media type can exist on a
multimedia device and media-common otherwise. These terms apply only
within the context of multimedia DNs and were introduced in Stat Server
release 7.6.1 to illustrate the difference between actions generated on regular
DNs and actions sharing the same name which Stat Server generates on
multimedia DNs.
The following sections describe these classifications.
62 Framework 8.1
Chapter 4: Stat Server Actions Classifying DN Actions
All actions reflecting events at mediation DNs that have been
distributed from other mediation DNs. Refer to the CallDistributedTo
Queue actions that are described on page 118.
All actions reflecting events at regular DNs receiving calls distributed
from the mediation DN (see page 110)these actions take their
duration either from the preceding CallWait durable action (see
page 106) or from a related regular-DN durable action.
Momentary actions are generally not derived from durable actions, and
their duration is always 0. An interaction-related durable action generally
has a corresponding momentary action that marks the beginning of the
durable action. For instance, the momentary CallHeld action marks the
beginning of the CallOnHold durable action.
64 Framework 8.1
Chapter 4: Stat Server Actions Classifying DN Actions
Regular DN Actions
Mediation DN Actions
Media Actions
For every cluster of logically related actions shown in Table 18 (except the
Media actions), there are five clusters of interaction-type specific actions
whose names are the same as those actions in the basic cluster, but with
Unknown, Inbound, Consult, Internal, or Outbound appended to the end. The
CallDialTransferred and CallDial Conferenced actions are specific to consult
calls, so they occur without name modification in the cluster based on
CallDialingConsult, and have no counterpart in the clusters specific to other
call-type actions. The same is true for CallRingingPartyChanged. Each of the
clusters corresponding to the CallRingingConsult, CallWaitConsult, and
OrigDNCallWaitConsult durable actions has an additional terminating
retrospective action (CallRingingParty Changed, CallWaitPartyChanged, and
OrigDNCallWaitPartyChanged, respectively). These actions account for the
possible termination of a consult call during two-step transfers. CallDial
Transferred can occur only for a consult call.
Normally, at the end of a clusters durable action, the durable action ends (and
thus can be used for historical statistics), and a retrospective action that has the
same duration occurs. However, when an interaction-related durable action
ends because of a lost connection to T-Server or between T-Server and the
switch (in either case, the NotMonitored action starts), none of the terminating
retrospective actions of the same cluster occurs.
66 Framework 8.1
Chapter 4: Stat Server Actions Classifying DN Actions
summarizes the set of actions applicable for Stat Server applications operating
in restricted cluster (SSc) mode. In this table, regular DN, SIP DN, and
media-channel objects refer to the following object types:
Agent GroupPlaces
GroupAgents RegDN
Place
Mediation DN objects refer to the following object types:
Queue Routepoint
GroupQueues
Campaign-related Stat Server actions are provided on page 183. Names in
Table 19 that are followed by [c-t] represent a group of actions that include
one or more of the following call (or interaction) types: Consult, Inbound,
Internal, Outbound, and Unknown.
68 Framework 8.1
Chapter 4: Stat Server Actions Classifying DN Actions
a. This reflects actions occurring at regular DNs that Stat Server generates to mediation DNs.
b. This reflects actions occurring at mediation DNs that Stat Server generates to another mediation DN.
c. This group action reflects actions occurring at origination DNs that Stat Server generates to regular DNs.
Note: Although the names of many actions presume the processing of a voice
interaction, these actions might also apply to other types of interactions
for example, chat sessions and e-mail.
Propagation of DN Actions
Every DN action propagates to higher-level objects. The path propagation
takes depends on the Stat Server release.
Stat Server 8.1.0- In releases prior to 8.1.2, a DN action propagates to the place to which the DN
is linked in the configuration for a regular DN. From the place, the action
propagates to:
The agent logged in at that place if there is such an agent.
Place and agent groups comprising the place or the agent.
The action is considered to occur at the DN and at all objects above it, as
illustrated in Figure 11.
A mediation DN action propagates to all groups of queues comprising the DN
where the action occurs.
Figure 11 shows the propagation scheme used by Stat Server 8.1.0 and previous
releasesit illustrates a dynamic connection between agent and place and
observes the general rule that when an agent is logged in at a place, the identical
actions that occur for the agent also occur for the place. When an agent is not
logged in anywhere, no actions are attributed to that agent.
70 Framework 8.1
Chapter 4: Stat Server Actions Propagation of DN Actions
Group of Agents
Group of Places
Agent
Place
DN
In the Stat Server 8.1.0- model, a one-to-one association between the agent and
the place is artificially enforced. Stat Server 8.1.0- uses the following rules in
tracking the agent-place association:
When an agent who is not logged in at a place logs in at a places DN, s/he
becomes logged in at that place.
When an agent logged in at a place logs in at another place, s/he is no
longer logged in at the former place.
When an agent logs in at a place where another agent is already logged in,
the latter agent is no longer logged in at the place.
When an agent is logged in at a place, and s/he logs out from the places
last DN where s/he has been logged in, the agent is no longer logged in
anywhere.
Warning! Do not configure your system to allow more than one agent to log
in at the same place or to allow the same agent to log in at more
than one place; otherwise, Stat Server might fail to collect accurate
information at the agent level.
Stat Server 8.1.2+ Beginning with Stat Server release 8.1.2, Stat Server propagates a DN action
simultaneously to both:
The place that is associated with the DN and then to the place group
comprising the place.
The agent who is logged in to the DN and then to the agent group
comprising the agent.
Figure 12 illustrates this propagation scheme.
Note: In the case of the one-to-one association between the agent and the
place ("normal" configuration), the same set of actions is propagated to
the agent / agent-groups in 8.1.0- and 8.1.2+ releases.
Validity of Statistics
Stat Server reports a statistic as invalid:
Whenever a DN propagated to that object changes its status to
NotMonitored after all DNs propagated to the object had been in Monitored
status.
Whenever a statistical request is received for an object for which the last
report was a status of invalid.
Stat Server reports a statistic as valid when the status of all DNs propagated to
the object returns to Monitored.
Validity events are not sent for statistical categories CurrentState,
CurrentStateReasons, CurrentTargetState.
72 Framework 8.1
Chapter 4: Stat Server Actions Action Descriptions
Action Descriptions
Action descriptions contain information on how T-Server events cause Stat
Server to generate actions. The actions, which start after DNs newly register,
are determined by the data received with EventRegistered and, possibly,
EventAddressInfo. This initialization, described in the next section, applies
when Stat Server connects to T-Server for the first time, and when a lost
connection is restored between Stat Server and T-Server or between T-Server
and its switch.
Regular DN Actions
Regular DN actions fall into the following categories:
Durable, noninteraction-related actions (page 74)
Durable, interaction-related actions (page 83)
Retrospective, interaction-related actions (page 91)
Momentary, interaction-related actions (page 97)
Momentary, noninteraction-related actions (page 100)
Durable group actions reflecting origination DNs (page 101)
Retrospective group actions reflecting origination DNs (page 102)
Momentary group action reflecting origination DNs (page 103)
The subsections below describe the one or more actions comprising each
category.
NotMonitored
This durable action begins whenever Stat Server is not connected to the
T-Server or SIP Server controlling the switch where the DN is located (Stat
Server receives the EventServerDisconnected TEvent in this case), or when the
74 Framework 8.1
Chapter 4: Stat Server Actions Regular DN Actions
link between the T-Server (or SIP Server) and the switch is down (T-Server
sends the EventLinkDisconnected TEvent). NotMonitored ends when both
connections are up and running. Its complementary action is Monitoredone
and only one of these actions can occur for any DN at any given moment. The
NotMonitored action terminates every other DN action; no other DN action can
start while NotMonitored is occurring.
Of special note, if Stat Server receives EventOutOfService for a particular DN
(such as might be the case if the DNs switch is being reconfigured), the Not
Monitored action occurs, and it persists until Stat Server detects EventBackIn
Service for that DN. At that point, the NotMonitored action ceases.
Monitored
This durable action starts whenever NotMonitored terminatesthat is, when
Stat Server is connected to T-Server or SIP Server and the link between
T-Server (or SIP Server) and the switch is up. This action ends when the
NotMonitored action starts.
LoggedIn
This durable action starts when Stat Server detects agent login on a DN:
The EventAgentLogin TEvent is received on a DN.
Either the EventRegistered or EventQueryAddress TEvent is received on a
DN for which the Extensions attribute contains the pair, (AgentStatus,
value), where value is greater than zero (0 signifies LoggedOut).
This action ends with EventAgentLogout or when the NotMonitored action starts.
LoggedOut
This durable action starts with EventAgentLogout and ends either with
EventAgentLogin or when the NotMonitored action starts. For multimedia DNs,
this action is classified as media-independent.
OnHook
This durable action starts when Stat Server receives EventOnHook from
T-Server or SIP Server, and ends when Stat Server receives EventOffHook or
the NotMonitored action starts. This action is specific to a limited number of
switches, and only DNs corresponding to physical telephones should be set to
generate the corresponding TEvents. For such DNs, OnHook and OffHook are
complementary while Monitored occurs. For multimedia DNs, this action is
classified as media-independent.
OffHook
This durable action starts when Stat Server receives EventOffHook from
T-Server or SIP Server, and ends when Stat Server receives EventOnHook or the
NotMonitored action starts. For DNs that generate these events, OnHook and
OffHook are complementary while Monitored occurs. For multimedia DNs, this
action is classified as media-independent.
WaitForNextCall
This durable action occurs for a particular DN, regardless of media channel, if
all of the following conditions are met:
Monitored occurs.
The last TEvent to arrive after any of the following TEvents is EventAgent
Ready:
EventAgentLogin
EventAgentNotReady
EventRegistered
EventAddressInfo reports agent status 2 (Ready)
Either EventDNDOn is never received, or the last event from the pair
EventDNDOn and EventDNDOff is EventDNDOff.
The only exceptions to this rule are the DNs of type Extension (not multimedia
DNs, see definition of multimedia DN on page 62) or Voice Treatment port, for
which the WaitForNextCall action starts as soon as the DN is registered.
76 Framework 8.1
Chapter 4: Stat Server Actions Regular DN Actions
4 (ACW)
5 (Walk_Away)
Stat Server receives EventDNDon.
Stat Server receives EventDNOutOfService.
Stat Server receives EventAgentNotReady with any work mode.
Stat Server receives EventAgentLogout.
The NotMonitored action starts.
While Monitored occurs, the actions WaitForNextCall, NotReadyForNextCall,
and AfterCallWork are complementary.
For multimedia DNs, this action is classified as media-dependent,
media-unique.
NotReadyForNextCall
This durable action is complementary to WaitForNextCall while the Monitored
action occurs at the DN in question. Thus, NotReadyForNextCall occurs when
Monitored occurs and one of the following conditions is met:
Stat Server receives EventRegistered or EventAddressInfo with reports of
agent status equal to either of the following:
1 (LOGGED_IN)
3 (NOT_READY)
Stat Server receives EventAgentLogin.
Stat Server receives EventAgentNotReady with Workmode!=ACW while the
agent is logged in.
Stat Server receives EventDNDon.
The NotReadyForNextCall action ends when any of the following occur:
Stat Server receives EventAgentReady (the WaitForNextCall action begins).
Stat Server receives EventAgentNotReady with WorkMode=ACW (after-call
work begins).
Stat Server receives EventDNDoff while the agent is logged out, ready, or
not ready with Workmode=ACW.
The NotMonitored action starts.
For multimedia DNs, this action is classified as media-dependent,
media-unique.
AfterCallWork
This durable action is specific to particular switches and T-Server or
SIP Server applications. For multimedia DNs, this action is classified as
media-dependent, media-unique. While an agent is not involved in calls, this
action starts when Stat Server receives EventAgentNotReady with a WorkMode
attribute of AfterCallWork on any of the enabled media channels of a DN. Stat
Server cancels generation of an AfterCallWork action (where it was previously
postponed) if any of the following occur:
Stat Server receives the EventAgentNotReady TEvent with a work mode
other than AfterCallWork.
Stat Server receives the EventAgentReady or EventDNDOn TEvents.
Stat Server receives the EventAgentLogout TEvent (the agent logs out).
If a switch permits an agent to enter AfterCallWork mode while still involved
in calls, any call ending with this agent will invoke after-call work. Stat Server
generates the AfterCallWork action upon completion of the interaction. This
behavior occurs even if Stat Server receives EventNotReady TEvent with
Workmode=ACW from T-Server. Stat Server postpones the AfterCallWork action
upon termination of the interaction.
While AfterCallWork persists on a media channel of a multimedia DN, no
routing is possible to that channel. (Stat Server marks the media_state
component of the DNs capacity vector NR [NotReady].) Stat Server considers
the actions occurring on all media channels when determining the DNs status.
A DNs status is the highest ranking action occurring on all enabled media
channels according to Stat Servers status priority tables.
If Stat Server receives EventNotReady TEvent with Workmode=ACW while the
interaction is active, this action is simultaneous with one of the following
call-type actions:
AfterCallWorkUnknown AfterCallWorkOutbound
AfterCallWorkInternal AfterCallWorkConsult
AfterCallWorkInbound
The interaction type that Stat Server receives from T-Server together with
EventReleased, determines which of the preceding five actions occurs
simultaneously with AfterCallWork. If AfterCallWork starts after an interaction
is released, none of these call-type actions occurs.
78 Framework 8.1
Chapter 4: Stat Server Actions Regular DN Actions
Starting with Release 7.0, Stat Server generates AfterCallWork actions only
upon completion of the interaction. This behavior allows several statistics to be
more independent from a T-Server (and/or a Desktop) implementation; one
such statistic is that requested with the ACWCompleted action for queues.
Note: These changes do not affect Stat Servers MLink ACW emulation
functionality, which is based on an entirely different TEvent set.
The diagram below illustrates the changes in the ACW calculation schema.
Note: The switch type you set in the Configuration Layer when working with
these T-Server applications depends on your PBX type and can be
Nortel Meridian 1, Nortel Meridian CallCenter/Symposium, or
Nortel Communication Server 1000 with SCCS/MLS.
80 Framework 8.1
Chapter 4: Stat Server Actions Regular DN Actions
Position DN
AfterCallWork
Meridian Place
W)
y (AC y
d ad
ea Re
tR
No
Extension DN
The figure shows the events occurring on the Position DN where Stat Server
starts an AfterCallWork action. Stat Server terminates it, in this example, upon
receipt of an EventAgentReady TEvent. (The EventAgentLogout or EventAgent
NotReady TEvents with workmode!= ACW would also terminate the action.)
Note: This scenario also applies for other T-Server applications that have
only Position or only Extension DNs.
ACW Request If a telephony interaction is currently in progress on a Position DN, the related
During an Extension DN, or both, when Stat Server receives an ACW-related TEvent on
Interaction that Position DN, Stat Server generates an AfterCallWork action on the
Position DN only, and only after all calls complete on the Position and/or
Extension DNs. Furthermore, Stat Server associates this action only with the
last released interaction. Stat Server does not generate an AfterCallWork action
on the Extension DN, regardless of where the last interaction took place.
Figure 15 illustrates this scenario when an inbound interaction is underway on
the Position DN. An ACW-related event takes place during the interaction. Stat
Server starts an AfterCallWork action when the interaction is released.
Figure 16 illustrates the same scenario, but with the interaction taking place on
the Extension DN.
Position DN
CallInbound AfterCallWork
Meridian Place
W)
ed ( AC as
e
y
lish a dy ele ad
ta b
Re
R Re
Es t
No
Extension DN
During the interaction on the Position DN, the agent presses the ACW button
(workmode=ACW). Upon release of the interaction, Stat Server starts an
AfterCallWork action on the Position DN. When Stat Server then receives the
EventAgent Ready TEvent, Stat Server terminates the AfterCallWork action.
(EventAgentLogout and EventAgentNotReady with a workmode other than ACW
would also terminate the action.)
In Figure 16, the agent presses the ACW button (workmode=ACW) while
conducting an interaction on the Extension DN. Stat Server starts an
AfterCallWork action on the Position DN upon release of the interaction, and
terminates it under the same circumstances as those stated above. This
termination occurs regardless of the DN from which the AfterCallWork action
is generated.
Position DN
AfterCallWork
Meridian Place
)
A CW
y( dy
ead a
t R Re
No
CallInbound
Extension DN
ed se
blish lea
Es
ta Re
Clearing ACW As a special provision, if, after having previously received an EventAgentNot
During an Ready TEvent (with workmode=ACW) while one or more calls are in progress on
Interaction either the Position or Extension DN, Stat Server receives an EventAgentReady
or EventAgentNotReady TEvent (with workmode!=ACW) while one or more calls
are still in progress, Stat Server does not generate an AfterCallWork action
upon release of the subsequent interaction(s). Figure 17 illustrates this
scenario.
Position DN
NotReady
Meridian Place
W) W)
(A C AC
dy (!= y
ea y ad
tR ad Re
No t Re
No
CallInbound
Extension DN
ed se
b lish e lea
sta R
E
Figure 17: Clearing an ACW Request During an Interaction
The figures shows an interaction occurring on the Extension DN. During the
interaction, the agent presses the ACW button. T-Server sends an
EventAgentNotReady TEvent (workmode=ACW), and Stat Server registers it on
the Position DN. Later, during the same interaction, the agent presses the
NotReady button. T-Server sends an EventAgentNotReady TEvent (with
workmode!=ACW), and Stat Server acknowledges it on the Position DN. As this
TEvent and workmode combination terminate after-call work, Stat Server does
not start an AfterCallWork action when the interaction terminates, but rather
immediately starts a NotReady action on the Position DN when the NotReady
button is pressed.
82 Framework 8.1
Chapter 4: Stat Server Actions Regular DN Actions
Note: This ACW model applies when Stat Server 7.0+ is used in conjunction
with Meridian T-Server 7.0. Contact Genesys Technical Support to
understand Stat Server 7.0 behavior if the version of your Meridian
T-Server is less than 7.0.
AfterCallWork
For more information about this durable action, see AfterCallWork on
page 78.
ASM_Engaged
This durable action is specific to DNs of the Extension or Position type that
are involved with the outbound predictive dialing, which runs in Predictive
with seizing mode and is based on the Active Switching Matrix (ASM) call
model.
This action starts upon Stat Servers receipt of:
EventEstablished on the communication port DN (CPDN).
EventEstablished on the agent DN where its UserData attribute contains
the <"GSW_CALL_TYPE","ENGAGING"> key-value pair.
Prior to Stat Server 7.6, this action started upon receipt of EventRinging. Now,
upon receiving EventRinging with ANI/OtherDN pointing to the CPDN, Stat
Server generates the CallRinging action.
N-Dialer makes a predictive dialing call to a customer number and delivers an
engaging call (of the Inbound or Internal type) to an agent via a CPDN. The
action indicates that the agent on a particular DN is waiting for the customer to
be connected.
This action ends for communication port DNs when any of the following
occur:
The ASM_Outbound action starts on the CPDN.
The customer is connected to the agent.
Either the predictive dialing or the engaging call is released (through
receipt of EventReleased or EventAbandoned) before the agent and the
customer are connected to each other.
The NotMonitored action starts.
This action ends for agent DNs when any of the following occurs:
The ASM_Outbound action starts on the agent DN.
Either the predictive dialing or the engaging call is released (through
receipt of EventReleased or EventAbandoned) before the agent and the
customer are connected to each other.
The NotMonitored action starts.
Note: Refer to the Outbound Contact 8.1 Deployment Guide for information
on the ASM call model.
ASM_Outbound
This durable action is specific to DNs of the Extension or Position type that
are involved with the outbound predictive dialing, which runs in Predictive
with seizing mode and is based on the Active Switching Matrix (ASM) call
model.
This action starts upon Stat Servers receipt of:
EventAttachedDataChanged on the CPDN with UserData containing the
(GSW_RECORD_HANDLE,<any value>) key-value pair.
EventPartyChanged on the agent DN with PreviousConnID pointing to a call
that Stat Server recognizes as ASM-engaged and UserData containing the
<GSW_CALL_TYPE,REGULAR> key-value pair.
This action ends on the CPDN when either the agent or the customer releases
the call or if the NotMonitored action starts. On the agent DN, this action ends
when the call ends on the agents DN or when the NotMonitored action starts.
84 Framework 8.1
Chapter 4: Stat Server Actions Regular DN Actions
Note: Refer to the Outbound Contact 8.1 Deployment Guide for information
on the ASM call model.
CallConferenceOriginated
This durable action measures the amount of time that an agent spent in a three-
party conference. In regular PBX scenarios, this action starts when the
originating agent invites another agent to a call (EventPartyChanged) and stops
when the originating agent leaves the conference (EventReleased). The
CallConferenceOriginated action is not supported in blind conferences when a
conference completes while the call is at a routing point or ACD queue.
For CallConferenceOriginated actions that are triggered by the
EventPartyChanged TEvent with the CallState attribute set to Conferenced, all
attributes (ThisQueue, DNIS, and others) are now taken from this TEvent.
In network-attended transfer and conference scenarios, this action starts when
Stat Server receives NetworkCallStateConferenced as the value of the
AttributeNetworkCallState attribute for the originating agent and stops when
this attributes value becomes NetworkCallStateReconnected, NetworkCall
StateDisconnected, NetworkCallStateTransferred or NetworkCallState
Conferenced for the originating agent or when the NotMonitored action starts.
Note: When specified in the MainMask of a stat type, Stat Server ignores
DistByConnID (DCID) Formula assignments, since, by definition, this
action may occur only once for a given connection ID.
Note: Using this action to measure the originating agents time in a three-
party conference presumes that the originating agent leaves the
conference first. If the customer or the conferenced-in agent leaves the
conference, Stat Server continues to tally this metric until the
originating agent leaves the transaction.
CallConsult
This durable action starts when Stat Server receives EventEstablished from a
DN with a value of Consult for the interaction-type parameter. Call origination,
whether from within the contact center or outside, is not indicated. This
actions corresponding initial momentary action is CallConsultStarted (see
page 97).
CallConsultOriginated
This durable action starts when Stat Server receives EventEstablished from a
DN with a value of Consult for the interaction-type parameter. This action is
similar to a CallConsult action providing additional information about call
originationnamely, from an agents DN. Its corresponding initial momentary
action is CallConsultStarted (see page 97).
CallConsultOriginated ends with EventReleased or EventPartyChanged for the
same call or when the NotMonitored action starts. When CallConsultOriginated
ends with EventPartyChanged, this action causes Stat Server to generate the
CallPartyChanged retrospective action (see page 95).
CallConsultReceived
This durable action starts when Stat Server receives EventEstablished from a
DN with a value of Consult for the interaction-type parameter. This action is
similar to a CallConsult action providing additional information about call
originationnamely, from a DN outside the contact center. Its corresponding
initial momentary action is CallConsultStarted (see page 97).
CallConsultReceived ends with EventReleased or EventPartyChanged for the
same call or when the NotMonitored action starts. When it ends with
EventPartyChanged, it causes the retrospective action CallPartyChanged (see
page 95).
CallDialing
This durable action starts when Stat Server receives EventDialing from
T-Server for a DN. Its corresponding initial momentary action is
CallDialingStarted (see page 98).
This action lasts until Stat Server receives either EventEstablished or
EventReleased for the same call, or until the NotMonitored action starts. If
86 Framework 8.1
Chapter 4: Stat Server Actions Regular DN Actions
The interaction type that Stat Server receives from T-Server with EventDialing
determines which of the preceding five actions occurs simultaneously with
CallDialing.
CallInbound
This durable action starts when Stat Server receives:
EventEstablished.
EventPartyChanged from a DN with a value of Inbound for the interaction-
type parameter.
Its corresponding initial momentary action, upon receipt of EventEstablished,
is CallInboundStarted (which is described on page 98). Stat Server generates
this action upon receipt of EventPartyChanged when T-Server configuration
causes T-Server to transmit an Inbound interaction type with the TEvent rather
than Consult. This can happen, for example, when the use-data-from T-Server
configuration option is set to consult-user-data.
CallInbound ends with EventReleased for the same interaction, causing the
CallInboundCompleted retrospective action to occur, when EventPartyChanged
is received for a different party, or when the NotMonitored action starts.
CallInternal
This durable action starts when Stat Server receives EventEstablished from a
DN with a value of Internal for the interaction-type parameter. Its
corresponding initial momentary action is CallInternalStarted (see page 98).
CallInternal ends with EventReleased for the same interaction, causing the
CallInternalCompleted retrospective action to occur, or when the NotMonitored
action starts.
CallInternalOriginated
This durable action starts when Stat Server receives EventEstablished from a
DN with a value of Internal for the interaction-type parameter. This action is
similar to a CallInternal action, providing additional information about
interaction originationnamely, from an agents DN. Its corresponding initial
momentary action is CallInternalStarted (see page 98).
CallInternalOriginated ends with EventReleased for the same interaction or
when the NotMonitored action starts.
CallInternalReceived
This durable action starts when Stat Server receives EventEstablished from a
DN with a value of Internal for the interaction-type parameter. This action is
similar to a CallInternal action, providing additional information about
origination of the interactionnamely, from a DN not belonging to the agent.
Its corresponding initial momentary action is CallInternalStarted (see
page 98).
CallInternalReceived ends with EventReleased for the same interaction or
when the NotMonitored action starts.
CallObserved...
The CallObserved... actions include the following:
CallObservedUnknown CallObservedOutbound
CallObservedInternal CallObservedConsult
CallObservedInbound
One of these durable actions starts when Stat Server receives EventPartyAdded
with ThisDNRole equal to Destination and OtherDNRole equal to Observer. The
action terminates when T-Server reports EventPartyDeleted for the agents DN
with OtherDNRole equal to Observer, when it reports EventReleased for the
interaction, or when the NotMonitored action starts.
Supervisor participation in an interaction does not affect the Service Observed
statistics.
88 Framework 8.1
Chapter 4: Stat Server Actions Regular DN Actions
Note: For information on the T-Server call model, refer to the Service
Observing an Agent section in the T-Library SDK C Developer's
Guide. See also DN Actions at Newly Registered DNs on page 73.
CallOnHold
This durable action starts when Stat Server receives EventHeld from T-Server
for a DN. Its initial momentary action is CallHeld (see page 98).
This action lasts until Stat Server receives either EventRetrieved or Event
Released for the same interaction, or until the NotMonitored action starts. If Stat
Server receives EventRetrieved or EventReleased and, in the latter case, if the
interaction state is Transferred, termination of CallOnHold produces one of the
following retrospective actions:
CallRetrievedFromHold (page 95)
TransferredFromHold (page 96)
CallAbandonedFromHold (page 91).
CallOnHold is always simultaneous with one of the following call-type actions:
CallOnHoldUnknown CallOnHoldOutbound
CallOnHoldInternal CallOnHoldConsult
CallOnHoldInbound
The interaction type that Stat Server receives from T-Server with EventHeld
determines which of the above five actions occurs simultaneously with
CallOnHold.
When determining status, Stat Server temporarily hides from consideration the
corresponding DN action (CallInternal, CallInbound, CallOutbound, or
CallUnknown) of an established telephony interaction on the same DN for the
duration that the interaction is on hold.
CallOutbound
This durable action starts when Stat Server receives EventEstablished from a
DN with a value of Outbound for the interaction-type parameter. Its
corresponding initial momentary action is CallOutboundStarted (see page 99).
CallOutbound ends with EventReleased for the same interaction, causing the
CallOutboundCompleted retrospective action to occur, or when the NotMonitored
action starts.
CallRinging
This durable action starts when Stat Server receives either:
EventRinging from T-Server for a DN or, for an interaction derived from a
consult call, when Stat Server receives EventPartyChanged.
EventPartyChanged in circumstances where T-Server configuration causes
T-Server to transmit an Inbound interaction type with the TEvent rather
than Consult, such as may be the case when the use-data-from T-Server
configuration option is set to consult-user-data.
Its initial momentary action is CallRingingStarted (see page 99).
CallRinging lasts until Stat Server receives:
EventEstablished
EventReleased
EventPartyChanged for a consult call and for the same interaction
Or, until the NotMonitored action starts.
If EventEstablished, EventReleased, or, for a consult call, EventPartyChanged
is received, the termination of CallRinging produces the retrospective action
CallAnswered (page 92), CallAbandonedFromRinging (page 92), or
CallRingingPartyChanged (page 95).
CallRinging is always simultaneous with one of the following call-type
actions:
CallRingingUnknown CallRingingOutbound
CallRingingInternal CallRingingConsult
CallRingingInbound
The interaction type that Stat Server receives from T-Server with EventRinging
determines which of the above five actions occurs simultaneously with
CallRinging.
CallUnknown
This durable action starts when Stat Server receives EventEstablished from a
DN with a value of Unknown for the interaction-type parameter. Its
corresponding initial momentary action is CallUnknownStarted (see page 100).
CallUnknown ends with EventReleased for the same interaction, causing the
CallUnknownCompleted retrospective action to occur, or when the NotMonitored
action starts.
90 Framework 8.1
Chapter 4: Stat Server Actions Regular DN Actions
Note that all actions specifically called out as retrospective are instantaneous
actions.
CallAbandonedFromDialing
This retrospective action derives from the CallDialing durable action (see
page 86) if CallDialing terminates because of EventReleased and if the
interaction is not a consult call with an interaction state of Transferred or
Conferenced.
CallAbandonedFromDialing is always simultaneous with one of the following
call-type actions:
CallAbandonedFromDialingUnknown
CallAbandonedFromDialingInternal
CallAbandonedFromDialingInbound
CallAbandonedFromDialingOutbound
CallAbandonedFromDialingConsult
The interaction type that Stat Server receives from T-Server with
EventReleased determines which of the above five actions occurs
simultaneously with CallAbandonedFromDialing.
CallAbandonedFromHold
This retrospective action derives from the CallOnHold durable action (see
page 89) if CallOnHold terminates because of EventReleased with an interaction
state other than Transferred.
The interaction type that Stat Server receives from T-Server with
EventReleased determines which of the above five actions occurs
simultaneously with Call AbandonedFromHold.
CallAbandonedFromRinging
This retrospective action derives from the CallRinging durable action (see
page 89) if CallRinging terminates because of EventReleased or Event
Abandoned (specifically, without interaction state 22-Redirected or 23-
Forwarded). The AttributeReliability attribute, a new attribute provided with
7.1 T-Servers, must accompany EventAbandoned and this attributes value must
equal TReliabilityOk.
CallAbandonedFromRinging is always simultaneous with one of the following
call-type actions:
CallAbandonedFromRingingUnknown
CallAbandonedFromRingingInternal
CallAbandonedFromRingingInbound
CallAbandonedFromRingingOutbound
CallAbandonedFromRingingConsult
The interaction type that Stat Server receives from T-Server with
EventReleased or EventAbandoned determines which of the above five actions
occurs simultaneously with CallAbandonedFromRinging.
This action may occur simultaneously with the CallAbandonedFromRinging
retrospective mediation DN action, which is described on page 111.
CallAnswered
This retrospective action derives from the CallRinging durable action (see
page 89) if CallRinging terminates because of EventEstablished.
92 Framework 8.1
Chapter 4: Stat Server Actions Regular DN Actions
CallConsultCompleted
This retrospective action derives from the CallConsult durable action (see
page 85). CallConsultCompleted is generated when a consultation call
completes.
Use CallConsultCompleted instead of CallConsult for filtering attached data at
the end of actions.
CallDialConferenced
This retrospective action derives from the CallDialing durable action (see
page 86) if CallDialing terminates because of EventReleased for a consult call
with an interaction state of Conferenced. CallDialConferenced is interaction-
type specific, so it can also be considered to derive from CallDialingConsult.
CallDialed
This retrospective action derives from the CallDialing durable action (see
page 86) if CallDialing terminates because of EventEstablished.
CallDialed is always simultaneous with one of the following call-type actions:
CallDialedUnknown CallDialedOutbound
CallDialedInternal CallDialedConsult
CallDialedInbound
The interaction type that Stat Server receives from T-Server with EventDialing
determines which of the above five actions occurs simultaneously with
CallDialed.
CallDialTransferred
This retrospective action derives from the CallDialing durable action (see
page 86) if CallDialing terminates because of EventReleased for a consult call
with an interaction state of Transferred. CallDialTransferred is interaction-
type specific, so it can also be considered to derive from CallDialingConsult.
CallForwarded
This retrospective action derives from the CallRinging durable action (see
page 90) if CallRinging terminates because of EventReleased with an
interaction state of Forwarded or Redirected (when the forwarding functionality
is enabled on a DN).
CallForwarded is always simultaneous with one of the following call-type
actions:
CallForwardedUnknown CallForwardedOutbound
CallForwardedInternal CallForwardedConsult
CallForwardedInbound
CallInboundCompleted
This retrospective action derives from the CallInbound durable action (see
page 87). CallInboundCompleted is generated when an inbound interaction
completes.
Use CallInboundCompleted instead of CallInbound for filtering attached data at
the end of actions.
CallInternalCompleted
This retrospective action derives from the CallInternal durable action (see
page 87). CallInternalCompleted is generated when an internal interaction
completes.
Use CallInternalCompleted instead of CallInternal for filtering attached data
at the end of actions.
CallOutboundCompleted
This retrospective action derives from the CallOutbound durable action (see
page 89). CallOutboundCompleted is generated when an outbound interaction
completes.
94 Framework 8.1
Chapter 4: Stat Server Actions Regular DN Actions
CallPartyChanged
This retrospective action derives from the following:
The CallConsult, the CallConsult Originated, or the CallConsultReceived
durable actions (see page 85) if any of these actions terminate because of
EventPartyChanged.
The CallInbound action (see page 87), in circumstances where T-Server
configuration causes T-Server to transmit an Inbound interaction type with
the TEvent rather than Consult, such as may be the case when the use-
data-from T-Server configuration option is set to consult-user-data
CallRetrievedFromHold
This retrospective action derives from the CallOnHold durable action (see
page 89) if CallOnHold terminates because of EventRetrieved.
CallRetrievedFromHold is always simultaneous with one of the following call-
type actions:
RetrievedFromHoldUnknown RetrievedFromHoldOutbound
RetrievedFromHoldInternal RetrievedFromHoldConsult
RetrievedFromHoldInbound
The interaction type that Stat Server receives from T-Server with
EventEstablished determines which of the above five actions occurs
simultaneously with CallRetrievedFromHold.
CallRingingPartyChanged
This retrospective action derives from the following:
The CallRinging durable action (see page 90), if CallRinging terminates
because of EventPartyChanged for a consult call.
The CallRingingConsult action, as CallRingingPartyChanged is interaction-
type-specific.
The CallInbound action (see page 87), in circumstances where T-Server
configuration causes T-Server to transmit an Inbound interaction type with
the TEvent instead of Consult, such as may be the case when the use-
data-from T-Server configuration option is set to consult-user-data.
CallUnknownCompleted
This retrospective action derives from the CallUnknown durable action (see
page 90). CallUnknownCompleted is generated when an unknown interaction
completes.
Use CallOutboundCompleted instead of CallUnknown for filtering attached data
at the end of actions.
StuckCallCleanedWhileRinging
This retrospective action derives from the CallRinging durable action (see
page 90) if Stat Server receives EventAbandoned with an AttributeReliability
attribute not equal to TReliabilityOk for the DN. This actions corresponding
initial momentary action is CallRingingStarted (see page 99).
StuckCallCleanedWhileRinging is always simultaneous with one of the
following call-type actions:
StuckCallCleanedWhileRingingUnknown
StuckCallCleanedWhileRingingInternal
StuckCallCleanedWhileRingingInbound
StuckCallCleanedWhileRingingOutbound
StuckCallCleanedWhileRingingConsult
The interaction type that Stat Server receives from T-Server with Event
Abandoned (with AttributeReliability!=TReliabilityOk) determines which of
the above five actions occurs simultaneously with StuckCallCleanedWhile
Ringing.
TransferredFromHold
This retrospective action derives from the CallOnHold durable action (see
page 89) if CallOnHold terminates because of EventReleased with an interaction
state of Transferred.
TransferredFromHold is always simultaneous with one of the following call-
type actions:
TransferredFromHoldUnknown TransferredFromHoldOutbound
TransferredFromHoldInternal TransferredFromHoldConsult
TransferredFromHoldInbound
The interaction type that Stat Server receives from T-Server with
EventReleased determines which of the above five actions occurs
simultaneously with TransferredFromHold.
96 Framework 8.1
Chapter 4: Stat Server Actions Regular DN Actions
CallConferenceJoined
This momentary action occurs in a conference call at a DN that was added to
the conference. CallConferenceJoined derives from EventPartyChanged with an
interaction state of Conferenced.
CallConferenceMade
Once the transfer completes, this momentary action occurs at the DN that
initiated the conference. CallConferenceMade derives from EventPartyAdded
with an interaction state of Conferenced, a ThirdPartyDNRole of AddedBy, and a
ThirdPartyDN equal to ThisDN.
CallConferencePartyAdded
This momentary action occurs at all DNs participating in a conference call
when a new DN joins the conference. CallConference PartyAdded derives
from EventPartyAdded with a ThirdPartyDNRole of AddedBy and a ThirdPartyDN
different from ThisDN.
CallConferencePartyDeleted
This momentary action occurs in a conference call at all DNs left in the
conference when a DN ends its participation in the conference. It derives from
EventPartyDeleted.
CallConsultStarted
This momentary action occurs whenever the CallConsult, CallConsult
Originated, or CallConsultReceived durable action (see page 85) starts.
CallDialingStarted
This momentary action occurs whenever the CallDialing durable action (see
page 86) starts.
CallDialingStarted is always simultaneous with one of the following call-type
actions:
CallDialingStartedUnknown CallDialingStartedOutbound
CallDialingStartedInternal CallDialingStartedConsult
CallDialingStartedInbound
The interaction type that Stat Server receives from T-Server with EventDialing
determines which of the above five actions occurs simultaneously with
CallDialingStarted.
CallHeld
This momentary action occurs whenever the CallOnHold durable action (see
page 89) starts.
CallHeld is always simultaneous with one of the following call-type actions:
CallHeldUnknown CallHeldOutbound
CallHeldInternal CallHeldConsult
CallHeldInbound
The interaction type that Stat Server receives from T-Server with EventHeld
determines which of the above five actions occurs simultaneously with
CallHeld.
CallInboundStarted
This momentary action occurs whenever the CallInbound durable action (see
page 87) starts.
CallInternalStarted
This momentary action occurs whenever the CallInternal durable action (see
page 87) starts.
98 Framework 8.1
Chapter 4: Stat Server Actions Regular DN Actions
CallOutboundStarted
This momentary action occurs whenever the CallOutbound durable action (see
page 89) starts.
CallRingingStarted
This momentary action occurs whenever the CallRinging durable action (see
page 90) starts.
CallRingingStarted is always simultaneous with one of the following call-type
actions:
CallRingingStartedUnknown CallRingingStartedOutbound
CallRingingStartedInternal CallRingingStartedConsult
CallRingingStartedInbound
The interaction type that Stat Server receives from T-Server with EventRinging
determines which of the above five actions occurs simultaneously with
CallRingingStarted.
CallTransferMade
This momentary action occurs at the DN from which a transfer was initiated
(by TInitiateTransfer, TSingleStepTransfer, or TMuteTransfer, or by
TMergeCalls) once the transfer is completed (EventReleased is received with an
interaction state of Transferred).
CallTransferMade is always simultaneous with one of the following call-type
actions:
CallTransferMadeUnknown CallTransferMadeOutbound
CallTransferMadeInternal CallTransferMadeConsult
CallTransferMadeInbound
CallTransferPartyChanged
Once the transfer completes, this momentary action occurs at the DN of the
first party for a call transferred from a second party to a third. CallTransfer
PartyChanged derives from EventPartyChanged with an interaction state of
Transferred and a ConnID equal to PreviousConnID.
CallTransferTaken
This momentary action occurs at the DN when a transfer is made, once the
transfer completes (EventEstablished). This action requires one of the
following conditions:
Stat Server receives EventPartyChanged with an interaction state of
Transferred and a ConnID different from PreviousConnID
Stat Server receives EventPartyChanged for this interaction on some
mediation DN prior to distribution to a regular DN.
Stat Server receives EventRinging with an interaction state of Transferred.
(Refer to the description of the generate-transfer-taken-on-ringing
configuration option in the Framework 8.1 Stat Server Deployment Guide
to learn how to control this aspect of CallTransferTaken action generation.)
Stat Server receives EventRouteRequest with a CallState attribute of OK on
a routing point if such event was preceded by EventQueued on the same
routing point with a CallState attribute of Transferred.
Please note that EventQueued will only be handled on a routing point, if the
rp-handle-queueing-events configuration option in the [statserver]
section has been set to true. (Refer to this options description in the
Framework 8.1 Stat Server Deployment Guide to learn how to control this
aspect of CallTransferTaken action generation.)
Note: Transfers performed by an IVR (DN type VTO) are no longer counted as
TransferTaken. Stat Server now counts transfers that are initiated from
an agents DN and completed on a queue or routepoint as Transfer
Taken for the agent receiving this call. Previously, transfers initiated by
an IVR were also counted as TransferTaken.
CallUnknownStarted
This momentary action occurs whenever the CallUnknown durable action (see
page 90) starts.
The TEvents that trigger these actions carry attached data that you can use and
reference when you define filtered and custom-formula statistics based on
these actions. Stat Server inherits UserData and Reasons values from the
triggering TEvent.
AgentLogin
This momentary action occurs when Stat Server detects agent login to a DN
through either of the following:
Stat Server receives EventAgentLogin on the DN.
Stat Server receives EventRegistered or EventAddressInfo for the DN
indicating agent login.
Stat Server generates this media-independent action when Stat Server detects
login to the devicenot to a particular media channel on the device.
AgentLogout
EventAgentLogout triggers this retrospective, instantaneous action.
Furthermore, this action inherits its attributes (such as Reasons) from this
TEvent, which can be useful, for example, for tallying the number of agent
logout actions that occurred during a particular time frame because of a partic-
ular Reason (using Reason-based filtering [page 35] introduced in the 7.6
release).
The duration of this action coincides with the duration of the agents login on
the DN. Stat Server generates this media-independent action when Stat Server
detects:
EventAgentLogout on a devicenot when the agent logs off of a particular
media channel.
EventLinkDisconnected on a regular logged-in DN.
For 8.1.2+, Stat Server generates this action only for DNs on which there is a
known agent.
UserEvent
The EventUserEvent TEvent triggers this momentary, instantaneous action.
reflects some mediation DN actions as a special set of agent and place group
actions.
OrigDNCallWait is a durable group action reflecting origination DNs that Stat
Server generates to agent and place groups.
OrigDNCallWait
This agent group and place group action starts and ends at the same time as a
CallWait action (see page 106), which starts and ends at a mediation DN.
configured as an origination DN for the group. OrigDNCallWait relates to the
same interaction as the corresponding CallWait action.
OrigDNCallWait is always simultaneous with one of the following call-type
actions:
OrigDNCallWaitUnknown OrigDNCallWaitOutbound
OrigDNCallWaitInternal OrigDNCallWaitConsult
OrigDNCallWaitInbound
The interaction type that Stat Server receives from T-Server with EventQueued
or EventRouteRequest determines which of the above five actions occurs
simultaneously with OrigDNCallWait.
OrigDNCallAbandoned
This agent group and place group action occurs at the same time as a Call
Abandoned action (see page 108), which occurs at a mediation DN configured
as an origination DN for the group. OrigDNCallAbandoned relates to the same
interaction as the corresponding CallAbandoned action.
OrigDNCallAbandoned is always simultaneous with one of the following call-
type actions:
OrigDNCallAbandonedUnknown OrigDNCallAbandonedOutbound
OrigDNCallAbandonedInternal OrigDNCallAbandonedConsult
OrigDNCallAbandonedInbound
The interaction type that Stat Server receives from T-Server with
EventAbandoned determines which of the above five actions occurs
simultaneously with OrigDN CallAbandoned.
OrigDNCallDistributed
This agent group and place group action occurs at the same time as a
CallDistributed action (see page 109), which occurs at a mediation DN
configured as an origination DN for the group. OrigDNCallDistributed relates
to the same interaction as the corresponding CallDistributed action.
OrigDNCallDistributed is always simultaneous with one of the following call-
type actions:
OrigDNCallDistributedUnknown OrigDNCallDistributedOutbound
OrigDNCallDistributedInternal OrigDNCallDistributedConsult
OrigDNCallDistributedInbound
The interaction type that Stat Server receives from T-Server with Event
Diverted or EventRouteUsed determines which of the above five actions occurs
simultaneously with OrigDNCallDistributed.
OrigDNCallEntered
This agent group and place group action occurs at the same time as a
CallEntered action (see page 107), which occurs at a mediation DN configured
as an origination DN for the group. OrigDNCallEntered relates to the same
interaction as the corresponding CallEntered action.
OrigDNCallEntered is always simultaneous with one of the following call-type
actions:
OrigDNCallEnteredUnknown OrigDNCallEnteredOutbound
OrigDNCallEnteredInternal OrigDNCallEnteredConsult
OrigDNCallEnteredInbound
The interaction type that Stat Server receives from T-Server with EventQueued
or EventRoute Request determines which of the above five actions occurs
simultaneously with OrigDNCallEntered.
Mediation DN Actions
Mediation DN actions fall into the following categories:
Durable, noninteraction-related actions (page 104)
Durable, interaction-related actions (page 106)
AgentLogin
For Stat Server 8.1.0- releases, this durable action starts when agent logs on to
a mediation DN through a regular DN that belongs to a place and for which the
agent is known. This action ends when the agent logs out from the mediation
DN or when the NotMonitored action starts. For 8.1.2+, Stat Server generates
this action only for DNs on which there is a known agent (the assignment of
those DNs to a place is not required).
AgentActive
For Stat Server 8.1.0- releases, this durable action starts on a mediation DN
when the status of an agent, who is already logged into that mediation DN
through a regular DN that belongs to a place, changes from
NotReadyForNextCall. This action ends when agent status changes to
NotReadyForNextCall on that mediation DN, when that agent logs out from the
mediation DN, or when the NotMonitored action starts. For 8.1.2+, Stat Server
generates this action only for DNs on which there is a known agent (the
assignment of those DNs to a place is not required).
AgentReady
For Stat Server 8.1.0- releases, this durable action starts on a mediation DN
when the status of agent, who is already logged into that mediation DN
through a regular DN belonging to a place, changes to WaitForNextCall. This
action ends when agent status changes from WaitForNextCall on that mediation
DN, when that agent logs out from the mediation DN, or when the
NotMonitored action starts. (See page 134 for a definition of agent status). For
8.1.2+, Stat Server generates this action only for DNs on which there is a
known agent (the assignment of those DNs to a place is not required).
DNLogin
This durable action starts on a mediation DN when a regular DN logs into the
mediation DN. This action ends when that regular DN logs out from mediation
DN or when the NotMonitored action starts.
DNActive
This durable action starts on a mediation DN when the status of regular DN,
that is already logged in to that mediation DN changes from
NotReadyForNextCall. This action ends when the regular DNs status changes
to NotReadyForNextCall, when that regular DN logs out from the mediation
DN, or when the NotMonitored action starts.
DNReady
This durable action starts on a mediation DN when the status of regular DN,
already logged into that mediation DN, becomes WaitForNextCall.
This action ends on mediation DN when the status of regular DN stops being
WaitForNextCall, when that regular DN logs out from the corresponding
mediation DN, or when the NotMonitored action starts.
The counter that this action designates equals the number of DNs that are
currently logged in to the queue when these DNs are in the WaitForNextCall
status. That number does not include Meridian or NEC DN positions, for
which associated extension DNs are not in WaitForNextCall status. (See
page 130 for a definition of DN status).
NotMonitored
This durable action begins whenever Stat Server is not connected to the
T-Server controlling the switch where the DN is located (Stat Server receives
the EventServerDisconnected TEvent in this case) or whenever the link
between the T-Server and the switch is down (EventLinkDisconnected is
received from T-Server). NotMonitored ends when both connections are up. Its
complementary action is Monitored. One and only one of these actions occurs
for any DN at any moment. NotMonitored terminates every other DN action; no
other action can start while NotMonitored is occurring.
Monitored
This durable action starts whenever NotMonitored terminatesthat is, when
Stat Server is connected to T-Server and the link between the T-Server and the
switch is up. This action ends when the NotMonitored action starts. In restricted
cluster mode, Stat Server reports a mediation DN as monitored only after the
Stat Server cluster receives a call-related event for the DN.
CallWait
Stat Server generates this durable action depending on the objects type:
Upon receipt of EventQueued (for ACD and virtual queue objects).
Upon receipt of EventRouteRequest (for routing points objects).
Its corresponding initial momentary action is CallEntered (see page 107).
This action ends:
Upon receipt of the following TEvents (for routing points and ACD and
virtual queue objects)
EventRouteUsed EventPartyChanged
EventDiverted
EventReleased
EventAbandoned
Upon receipt of EventAddressInfo (for queue and routing point objects)
When the NotMonitored action starts (such as when T-Server disconnects).
For T-Server-originating events, CallWait is always simultaneous with one of
the following call-type actions:
CallWaitUnknown CallWaitOutbound
CallWaitInternal CallWaitConsult
CallWaitInbound
The interaction type that Stat Server receives from T-Server with EventQueued
or EventRouteRequest determines which of the above five actions occurs
simultaneously with CallWait.
CallEntered
This momentary action occurs, depending on the type of the DN, when Stat
Server receives:
EventQueued or EventRouteRequest from T-Server.
For T-Server-originating events, CallEntered is always simultaneous with one
of the following call-type actions:
CallEnteredUnknown CallEnteredOutbound
CallEnteredInternal CallEnteredConsult
CallEnteredInbound
The interaction type that Stat Server receives from T-Server with EventQueued
or EventRouteRequest determines which of the above five actions occurs
simultaneously with CallEntered.
CallTreatmentStarted
This momentary action occurs when Stat Server receives EventTreatment
Applied from T-Server. See also note on page 109.
CallTreatmentNotStarted
This momentary action occurs when Stat Server receives EventTreatment
NotApplied from T-Server. See also note on page 109.
UserEvent
The EventUserEvent TEvent triggers the UserEvent action, which is not related
to an interaction, but which, like interaction-related actions, carries data that
accompanies the TEvent. This means you can use this action in defining
filtered statistics and custom-formula statistics.
CallAbandoned
This retrospective action derives from the CallWait durable action (see
page 106) if CallWait terminates because of EventAbandoned with an
AttributeReliability attribute equal to TReliabilityOk.
CallAbandoned is always simultaneous with one of the following call-type
actions:
CallAbandonedUnknown CallAbandonedOutbound
CallAbandonedInternal CallAbandonedConsult
CallAbandonedInbound
The interaction type that Stat Server receives from T-Server with EventQueued
or EventRouteRequest determines which of the above five actions occurs
simultaneously with CallAbandoned.
CallCleared
Stat Server generates this retrospective action only for a virtual queue. The
action derives from the CallWait durable action (see page 106) if CallWait
terminates because of EventDiverted with an interaction state of Redirected.
With this event, the Universal Routing Server, by means of T-Server, indicates
that an interaction has left this queue and is being delivered to an agent from
another virtual queue.
CallCleared is always simultaneous with one of the following call-type
actions:
CallClearedUnknown CallClearedOutbound
CallClearedInternal CallClearedConsult
CallClearedInbound
CallDistributed
This retrospective action derives from the CallWait durable action (see
page 106) if CallWait terminates because:
Stat Server receives EventRouteUsed or EventDiverted from T-Server.
In addition, for virtual queue objects, EventDiverted must contain an
interaction state other than Redirected.
For T-Server-originating events, CallDistributed is always simultaneous with
one of the following call-type actions:
CallDistributedUnknown CallDistributedOutbound
CallDistributedInternal CallDistributedConsult
CallDistributedInbound
The interaction type that Stat Server receives from T-Server with EventQueued
or EventRoute Request determines which of the above five actions occurs
simultaneously with CallDistributed.
CallTreatmentCompleted
This retrospective action is not derived from a durable action. CallTreatment
Completed occurs when Stat Server receives EventTreatmentCompleted from
T-Server, and the duration of this action is the total duration of the treatment.
Note: Stat Server handles treatment-related events only for Routing Points.
In order to generate an appropriate action, a call with ConnID specified
in the associated event should currently be waiting on a Routing Point.
StuckCallCleaned
This retrospective action occurs at a mediation DN and derives from the Call
Wait durable action (see page 106) if Stat Server terminates the CallWait action
because Stat Server receives the EventAbandoned TEvent from T-Server with an
AttributeReliability attribute not equal to TReliabilityOk.
StuckCallCleaned is always simultaneous with one of the following call-type
actions:
StuckCallCleanedUnknown StuckCallCleanedOutbound
StuckCallCleanedInternal StuckCallCleanedConsult
StuckCallCleanedInbound
The interaction type that Stat Server receives from T-Server with EventQueued
or EventRouteRequest determines which of the above five actions occurs
simultaneously with StuckCallCleaned.
interaction passed through. The actions that result for other mediation
DNs along the path will reflect call diversion.
If, however, the call is queued in parallel to both an ACD queue DN
and a routing point, and the ThirdPartyDN attribute of EventRouteUsed
shows that the call was answered on some regular DN, then Stat Server
will propagate this action to both.
ACWCompleted
This retrospective action occurs at a mediation DN when the regular DN action
AfterCallWork is over. Action duration is the same duration as the
corresponding AfterCallWork action. If a switch permits agents to enter
AfterCallWork mode while they are still involved in calls, Stat Server generates
the ACW for regular DN upon completion of the interaction.Then, after the ACW
action is ended, the ACWCompleted action is generated for mediation DN, which
distributes the interaction to regular DN. This behavior was introduced in the
7.0 release.
ACWMissed
This retrospective action occurs at a mediation DN when the regular DN action
AfterCallWork (see page 78) is over. Action ACWMissed is generated for a
mediation DN only if an agent enters ACW mode while s/he is on a call that
was distributed from a source other than the mediation DN, on which the agent
is logged in. Action duration is the same duration as the corresponding action
AfterCallWork.
CallAbandonedFromRinging
For regular interactions, this retrospective action occurs at a mediation DN
when EventReleased (with an interaction state other than CallForwarded or
CallRedirected) is received after EventRinging from a DN to which an
interaction was going to be distributed from the mediation DN. It receives as
its duration the interval from the moment when the interaction entered the
mediation DN (EventQueued or EventRouteRequest) to the moment when the
interaction was abandoned (EventReleased).
For hunt-call interactions, this retrospective action occurs at a mediation DN
when EventAbandoned is received on that DN, given that EventRinging had been
previously received on at least one agent DN, belonging to a hunt group. The
resultant action receives as its duration from the moment that the call entered
the mediation DN (EventQueued or EventRouteRequest) to the moment when the
interaction was abandoned (EventAbandoned).
CallAnswered
This retrospective action occurs at a mediation DN when EventEstablished is
received after EventRinging from a DN to which an interaction was distributed
from the mediation DN. CallAnswered receives as its duration the interval from
the moment when the interaction enters the mediation DN (the latest of the
EventQueued, EventRouteRequest or EventPartyChanged TEvents if it occurs
while the call is waiting in queue or at the routing point) to the moment when
the agent takes the interaction (EventEstablished or EventDiverted, whichever
is latest).
CallForwarded
For regular interactions, this retrospective action occurs at a mediation DN
when Stat Server receives EventReleased (with an interaction state of
CallForwarded or CallRedirected) following EventRinging from a DN to which
an interaction was going to be distributed from the mediation DN. Action
duration is the interval from the moment when the interaction enters the
mediation DN (EventQueued or EventRouteRequest) to the moment when the
interaction is abandoned (EventReleased).
For hunt-call interactions, Stat Server never generates this action.
CallMissed
This retrospective action occurs at a mediation DN when EventReleased comes
after EventEstablished. It applies to calls distributed from a source other than
the mediation DN, on which the agent is logged in. Action duration is the
interval beginning with EventEstabished and ending with EventReleased.
Action CallMissed is not generated for a mediation DN at the time when a call
is released on an agent's DN, if at that moment the agent's DN is no longer
associated with the mediation DN, either through an agent group or place
group.
CallReleased
This retrospective action occurs at a mediation DN when EventReleased comes
after EventEstablished from a regular DN, for an interaction distributed from
the mediation DN. Action duration is the interval from EventEstabished to
EventReleased.
StuckCallCleanedWhileRinging
This retrospective action derives from the CallRinging durable action (see
page 90) and occurs at a mediation DN when Stat Server receives
EventAbandoned with an AttributeReliability attribute other than
TReliabilityOk from a DN to which an interaction was distributed from the
mediation DN. StuckCallCleanedWhileRinging receives as its duration the
interval from the moment when the interaction enters the mediation DN
(EventQueued or Event RouteRequest) to the moment when Stat Server receives
the EventAbandoned TEvent (with AttributeReliability!=TReliabilityOk).
This actions corresponding initial momentary action is CallRingingStarted
(see page 99).
StuckCallCleanedWhileRinging is always simultaneous with one of the
following call-type actions:
StuckCallCleanedWhileRingingUnknown
StuckCallCleanedWhileRingingInternal
StuckCallCleanedWhileRingingInbound
StuckCallCleanedWhileRingingOutbound
StuckCallCleanedWhileRingingConsult
The interaction type that Stat Server receives from T-Server with Event
Released (with AttributeReliability!=TReliabilityOk) determines which of
the above five actions occurs simultaneously with CallRetrievedFromHold.
Using these options, you can change the algorithm for Stat Servers generation
of CallAnswered actions on virtual queue objects to meet your requirements. If
you set vq-ignore-third-party-dn to true (the default value), Stat Server
generates CallAnswered action for all virtual queue objects through which a call
passes before it is answered. If you set the option vq-ignore-third-party-dn to
false, Stat Server references the ThirdPartyDN attribute in EventDiverted
TEvents that Stat Server receives from Universal Routing Server for
CallAnswered action generation. At this case, the rules of CallAnswered action
generation depends on settings of the vq-treat-unknown-third-party-dn-as-
agent-dn option. Introduction of this option allows Stat Server to generate this
action only on the last virtual queue object through which a call passes before
being answered in single-site call monitoring scenarios (inbound call enters
monitoring site, Inbound call is queued on routing point associated with Virtual
Queue on the same site and is routed to the target on the same site). Multi-site
Call monitoring scenarios have some limitations in this rule because there are
cases where ThirdPartyDN does not contain reliable information about DN to
which the call was diverted.
Table 20 describes how Stat Server behaves given the setting of the vq-treat-
unknown-third-party-dn-as-agent-dn option and the following scenarios:
Scenario A: The value of the ThirdPartyDN attribute contains the ID of a DN
belonging to the same switch as the virtual queue.
1. ThirdPartyDN points to a mediation DN that is not an ACD queue.
2. ThirdPartyDN points to an ACD queue.
3. ThirdPartyDN points to an agent's DN.
Scenario B: The value of the ThirdPartyDN attribute is not empty, but contains
the ID of a DN that is not monitored by the same switch to which the virtual
queue belongs. The vq-treat-unknown-third-party-dn-as-agent-dn
configuration option is set to:
1. True (the default value).
2. False, and the ID of DN answering the call coincides with the value of the
ThirdPartyDN attribute.
3. False, and the ID of DN answering the call differs from the value of the
ThirdPartyDN attribute.
Scenario C: The value of the ThirdPartyDN attribute is null.
It is assumed that after having been diverted from the virtual queue, the call
was finally answered by an agent; and that, in multi-site scenarios, Stat Server
may receive events out of chronological order, such that a call may first be
seen as being answered before Stat Server sees that it was diverted from a
Scenario Answer
A1 No
A2 Yes
A3 Yes
B1 Yes
B2 Yes
B3 No
C Yes
Call diverted from Routing Point 1 Site 1 and Virtual Queue 1 Site 1 to
Agent 1 Site 2.
CallAnswered and related actions will be generated for Virtual Queue 2
Site 2 only.
2. vq-treat-unknown-third-party-dn-as-agent-dn=no
Call queued on Routing Point 1 Site 1 and Virtual Queue 1 Site 1.
Call diverted from Routing Point 1 Site 1 and Virtual Queue 1 Site 1 to
Agent 1 Site 2.
CallAnswered and related actions will not be generated for any virtual
queue.
3. vq-treat-unknown-third-party-dn-as-agent-dn=no
Call queued on Routing Point 1 Site 1 and Virtual Queue 1 Site 2
Call diverted from Routing Point 1 Site 1 and Virtual Queue 1 Site 2 to
Agent 1 Site 2.
CallAnswered and related actions will not be generated for any virtual
queue.
4. vq-treat-unknown-third-party-dn-as-agent-dn=no
Call queued on Routing Point 1 Site 1 and Virtual Queue 1 Site 2.
Call diverted from Routing Point 1 Site 1 and Virtual Queue 1 Site 2 to
Agent 1 Site 2.
CallAnswered and related actions will be generated for Virtual Queue 2
Site 1 only.
5. vq-treat-unknown-third-party-dn-as-agent-dn=yes
Call queued on Routing Point 1 Site 1 and Virtual Queue 1 Site 1.
Call diverted from Routing Point 1 Site 1 and Virtual Queue 1 Site 1 to
Agent 1 Site 2.
CallAnswered and related actions will be generated for Virtual Queue 2
Site 1 and Virtual Queue 2 Site 2.
6. vq-treat-unknown-third-party-dn-as-agent-dn=yes
Call queued on Routing Point 1 Site 1 and Virtual Queue 1 Site 1.
Call diverted from Routing Point 1 Site 1 and Virtual Queue 1 Site 1 to
Routing Point 2 Site 1 and Virtual Queue 2 Site 1.
Call diverted from Routing Point 2 Site 1 and Virtual Queue 2 Site 1 to
Agent 1 Site 2.
CallAnswered and related actions will not be generated for Virtual Queue 2
Site 1.
7. vq-treat-unknown-third-party-dn-as-agent-dn=yes
Call queued on Routing Point 1 Site 1 and Virtual Queue 1 Site 2.
Call diverted from Routing Point 1 Site 1 and Virtual Queue 1 Site 2 to
Agent 1 Site 2.
CallAnswered and related actions will be generated for Virtual Queue 1
Site 2.
8. vq-treat-unknown-third-party-dn-as-agent-dn=yes
Call queued on Routing Point 1 Site 1 and Virtual Queue 1 Site 2.
Call diverted from Routing Point 1 Site 1 and Virtual Queue 1 Site 2 to
Agent 1 Site 2.
CallAnswered and related actions will be generated for all four virtual
queues participated in scenario.
CallDistributedToQueue
Stat Server generates this retrospective action on a mediation DN (DN1) if an
interaction is distributed from this DN after entering a second DN (DN2). The
duration of this action is equal to the time from receipt of an EventQueued or
Event RouteRequest TEvent on DN1 until the receipt of an EventQueued or
EventRouteRequest on DN2. Stat Server does not generate this action if an
interaction enters DN2 but has not yet been distributed from DN1. Stat Server
also does not generate this action if an interaction is distributed from DN1 to a
nonmediation DN, such as to an agents DN. After Stat Server generates
CallDistributedTo Queue for DN1, DN1 is cleared from the list of DNs from
which the interaction can be distributed.
CallDistributedToQueue is always simultaneous with one of the following call-
type actions:
CallDistributedToQueueInternal
CallDistributedToQueueInbound
CallDistributedToQueueOutbound
CallDistributedToQueueConsult
CallDistributedToQueueUnknown
Media-Channel Actions
Media-channel actions originate from an Interaction Server that is configured
in Genesys eServices (previously called Multimedia). Media-channel actions
are separated into the following two groups:
Interaction-related actions, which reflect events arising from particular
stages of interaction processing (identified by the InteractionID).
Noninteraction-related actions, which are caused by events not stemming
from any particular interaction.
Media-channel actions also can be categorized as durable or instantaneous.
Stat Server operating in restricted cluster mode does not maintain connection
to Interaction Server (or other non-SIP T-Servers). Stat Server in regular mode
retains the interaction ID of an interaction in memory, because this ID provides
the criterion for distinguishing between actions.
Refer to the Open Media Interaction Model Reference Guide for information
about Reporting protocol events.
Active
This durable action tracks how long a media channel has been active for a
particular agent (or place).
Available
This durable action indicates that an agent (or place) is ready to receive
interactions on a particular media channel. This action is similar to
WaitForNextCall in the telephony model.
Blocked
This durable action indicates that an agent (or place) has put himself or herself
into the NotReady state for a particular media, and/or that he or she has selected
DoNotDisturb. This action is similar to the NotReadyForNextCall action.
NotAvailable
This action is similar to OffHook and cannot be generated for any media
channel.
Delivering
Stat Server generates this durable action, also called InteractionDelivering,
for all interactions in the Delivering phase for a particular media on agent
and/or place objects. Delivering follows EventInvite, and precedes receipt of
Handling
Stat Server generates this durable action, also called InteractionHandling,
when an agent (or place) accepts an inbound, outbound, or internal interaction
on a particular media. This action follows EventAccepted and has no equivalent
in the telephony model. This action terminates when the agent leaves the
interaction or when the NotMonitored action starts. This action can be
considered a combination of all five interaction-type actions.
Handling is always simultaneous with one of the following interaction-type
actions:
HandlingInbound
HandlingInternal
HandlingOutbound
The interaction type that Stat Server receives from Interaction Server with
EventAccepted determines which of the above four actions occurs
simultaneously with Handling.
HandlingInbound
Stat Server generates this durable action, also called InteractionHandling
Inbound, when an agent (or place) accepts an inbound interaction on a
particular media. This action terminates when the agent leaves the interaction
or when the NotMonitored action starts. HandlingInbound is similar to
CallInbound in the telephony model.
HandlingInternal
Stat Server generates this durable action, also called InteractionHandling
Internal, when an agent (or place) accepts an internal interaction on a
particular media. This action terminates when the agent leaves the interaction
or when the NotMonitored action starts. HandlingInternal and is similar to
CallInternal in the telephony model.
HandlingOutbound
Stat Server generates this durable action, also called InteractionHandling
Outbound, when an agent (or place) accepts an outbound interaction on a
particular media. This action terminates when the agent leaves the interaction
or when the NotMonitored action starts. HandlingOutbound and is similar to
CallOutbound in the telephony model.
BeingCoached
Stat Server generates this momentary action when coaching begins on a chat
interaction, whether by invitation or not.
BeingMonitored
Stat Server generates this momentary action when monitoring begins on a chat
interaction.
CoachingByIntrusionInitiated
This momentary action indicates that a resource has begun coaching a chat
interaction without the invitation of the agent who is conducting the chat
session.
CoachingByRequestInitiated
This momentary action indicates that a resource has begun coaching a chat
interaction at the request of the agent who is conducting the chat session.
CoachingRequested
This momentary action indicates that an agent requested coaching regardless
of whether a coaching session was actually granted.
ConferenceJoined
This momentary action, also called InteractionConferenceJoined, indicates
that an agent has accepted and joined a conference. This action is similar to
CallConferenceJoined in the telephony model.
ConferenceJoinedByIntrusion
Stat Server generates this momentary action when a resource joins a
conference without the invitation from the agent who is conducting the
conference.
ConferenceMade
This momentary action, also called InteractionConferenceMade, indicates that
an agent has initiated a conference. This action is similar to CallConference
Made in the telephony model.
DeliveringStarted
This momentary action, also called InteractionDeliveringStarted, marks the
onset of interaction delivery (Delivering) for any interaction type, and it
occurs when an agent is invited to an interaction. This action is similar to
RingingStarted in the telephony model.
HandlingInboundStarted
Stat Server generates this momentary action, also called InteractionHandling
InboundStarted, when an agent accepts an inbound interaction. Handling
InboundStarted is similar to CallInboundStarted in the telephony model.
HandlingInternalStarted
Stat Server generates this momentary action, also called InteractionHandling
InternalStarted, when an agent accepts an internal interaction. Handling
InternalStarted is similar to CallInternalStarted in the telephony model.
HandlingOutboundStarted
Also called InteractionHandlingOutboundStarted, Stat Server generates this
momentary action when an agent accepts an outbound interaction. Handling
OutboundStarted is similar to CallOutbound Started in the telephony model.
HandlingStarted
This momentary action, also called InteractionHandlingStarted, marks the
onset of interaction handling (Handling) for any interaction type, and it occurs
when an agent accepts an inbound, outbound, or internal interaction. This
action has no equivalent in the telephony model.
HandlingStarted is always simultaneous with one of the following interaction-
type actions:
HandlingInboundStarted
HandlingInternalStarted
HandlingOutboundStarted
The interaction type that Stat Server receives from Interaction Server with
EventEstablished determines which of the above four actions occurs
simultaneously with HandlingStarted.
MonitoringInitiated
Stat Server generates this momentary action when an agent monitors an
interaction.
Pulled
Stat Server generates this momentary action, also called InteractionPulled,
every time it detects that an interaction has been pulled from the interaction
queue and directed to be delivered to a resource.
StartedInternal
This momentary action, also called InteractionStartedInternal, indicates
that an agent has initiated an internal interaction. This action has no equivalent
in the telephony model.
StartedOutbound
This momentary action, also called InteractionStartedOutbound, indicates
that an agent has initiated an outbound interaction. This action has no
equivalent in the telephony model.
TransferMade
This momentary action, also called InteractionTransferMade, indicates that an
agent has transferred the interaction to another agent directly; that is, the
transfer does not occur through a mediation DN. This action is similar to Call
TransferMade in the telephony model.
TransferMade is always simultaneous with one of the following interaction-
type actions:
TransferMadeInbound
TransferMadeInternal
TransferMadeOutbound
The interaction type that Stat Server receives from Interaction Server with
EventEstablished determines which of the above three actions occurs
simultaneously with TransferMade.
TransferTaken
This momentary action, also called InteractionTransferTaken, indicates that
an agent has received the transferred interaction. This action is similar to
CallTransferTaken in the telephony model.
Accepted
This retrospective action, also called InteractionAccepted, indicates that an
agent (or place) has accepted a delivered interaction. This action terminates the
Delivering action, and it is similar to CallAnswered in the telephony model.
Rejected
This retrospective action, also called InteractionRejected, indicates that an
agent has rejected the delivered interaction. This action terminates Delivering
actions, and it is similar to CallAbandonedFromRinging in the telephony model.
Revoked
This retrospective action, also called InteractionRevoked, indicates that the
system has revoked the interaction at the agents desktop. This action has no
equivalent in the telephony model.
StoppedInbound
This retrospective action, also called InteractionStoppedInbound, indicates
that an agent has terminated an inbound interaction. This action has no
equivalent in the telephony model.
StoppedInternal
This retrospective action, also called InteractionStoppedInternal, indicates
that an agent has terminated an internal interaction. This action has no
equivalent in the telephony model.
StoppedOutbound
This retrospective action, also called InteractionStoppedOutbound, indicates
that an agent has terminated an outbound interaction. This action has no
equivalent in the telephony model.
CallAbandonedFromRinging
This retrospective action occurs when Stat Server receives from Interaction
Server either of the following events along with the Abandoned reason:
event_rejected, as a result of an agent rejecting the invitation to
participate in interaction processing.
CallAnswered
This retrospective action occurs when Stat Server receives event_party_added
as a result of an agent accepting the interaction. The duration that Stat Server
prescribes to this action is the interval from EventQueued to event_party_added.
This action is similar to CallAnswered (page 112) in the telephony model.
CallReleased
This retrospective action occurs when Stat Server receives event_party_
removed as a result of an agent finishing an interaction. Stat Server calculates
the duration from the moment of acceptance of an interaction (event_party_
added) until the moment that the last involved party of the interaction leaves it
(event_party_removed).
Stat Server does not generate this action if an interaction is offered to a
contact-center handling resource but the resource does not explicitly accept or
answer it. Such may be the case where the configured time interval for
acceptance times out and Stat Server receives the event_revoked event from
Interaction Server.
This action is similar to CallReleased (page 113) in the telephony model.
PlaceID The unique identifier of the place with which the agent
who issued the request that resulted in this event is
associated. This parameter is mandatory if the change of
condition reported by this event was caused by a request
from the agent.
AgentID The unique identifier of the agent who issued the request
that resulted in this event. This parameter is mandatory if
the change of condition reported by this event was caused
by a request from the agent.
RouterID The unique identifier of the router that issued the request
that resulted in this event; or the unique identifier of the
router to which this interaction is submitted (in the case
of an EventRouting event). This parameter is mandatory
if the change of condition reported by this event was
caused by a request from the router.
MediaServerID The Media Server that issued the request that resulted in
this event.
ParentInteractionID The identifier stored in the UCS database for the parent
interaction of the current interaction. This attribute is
mandatory if the interaction is a child interaction.
ViewID The view that the agent used to pull the interaction.
5 Object Statuses
The state of an object can be described within the Genesys Statistics Model by
a set of nonoverlapping statuses. A status is the highest-priority action out of
all ongoing durable actions occurring at an object, according to Status Priority
tables or other rules. Stat Server ascribes only one status to an object at any
particular time.
This chapter describes object statuses with respect to Stat Server and how they
are classified, defined, and determined.
Regular DN Status, page 130
Place and Agent Status, page 134
Group Status, page 136
Status Priority Tables, page 137
Media-Channel Status Priorities, page 139
Multimedia DN Status Priorities, page 139
Notes:
Only qualified Genesys personnel should change the options that
define Status Priority tables (DefaultDNSPT, DefaultAgentSPT, and
DefaultRPSPT).
Values specified for the DefaultGroupSPT configuration option no
longer impact Stat Server operation.
The following DN statuses can co-exist with one of their respective
interaction-type statuses: CallDialing, CallRinging, AfterCallWork,
and CallOnHold.
Regular DN Status
The following subsections describe the statuses that are applicable to directory
numbers:
NotMonitored CallOutbound
Monitored CallOnHold
LoggedIn CallRinging
OnHook CallUnknown
AfterCallWork NotReadyForNextCall
CallConsult OffHook
CallDialing WaitForNextCall
CallInbound LoggedOut
CallInternal
NotMonitored
This status coincides with the NotMonitored action, as well as when Stat Server
cannot not receive data from one or more T-Servers for a particular DN. This
status also appears if you disable a particular DN within Configuration
Manager.
Monitored
This status coincides with the Monitored action and appears only after initial
connection to T-Server. This action disappears when Stat Server receives the
EventRegistered TEvent from T-Server.
LoggedIn
This special status appears when Stat Server detects synchronization problems
between T-Server and the PBX. This statuss appearance indicates that
T-Server was able to reconstruct agent login on a particular DN, but that
T-Server was unable to obtain DN status from the PBX. Stat Server does not
derive this status from actions, although the LoggedIn action does coincide with
LoggedIn status. Only a few T-Server types generate this status.
To resolve these synchronization problems, you must manually clear this status
by logging out of the DN for which this status appears, and then logging back
in. Failure to do so causes Stat Server to calculate unreliable statistics. This
status usually appears immediately following link disconnection of T-Server
from the PBX.
When working with T-Server or SIP Server for some types of switches, Stat
Server reports the LoggedIn status for an agent, a DN, or a place given the
following conditions:
1. T-Server or SIP Server starts or restores its connection with the switch
while an agent handles an interaction.
2. In response to a T-Server (or SIP Server) status query, the switch returns
the Ready status for the agent and the NOT_IDLE status for the agents DN;
however, the switch does not provide any interaction identifiers.
3. When Stat Server registers for this DN, Stat Server receives Event
Registered with the agent status Ready and with the DN status NOT_IDLE,
but without interaction information.
Given these sequence of events, Stat Server then starts the LoggedIn status for
this agent, DN, and/or place, which lasts until T-Server or SIP Server reports
one of the following events for this DN:
EventAgentNotReady EventOffHook
EventAgentReady EventAgentLogin
EventDialing EventAgentLogout
EventDNDOn EventLinkConnected
EventDNDOff EventLinkDisconnected
EventOnHook EventRinging
New to Release 7.5 of Stat Server is its added ability to detect the LoggedIn
status of switches named in virtual agent group (VAG) scripts. Previously,
with regard to VAG scripts, Stat Server detected the LoggedIn status only of
queues.
OnHook
This status appears on a DN under the following circumstances:
The receiver is put back on the hook after having been previously off the
hook.
There is no activity on the DN.
This status explicitly precedes WaitForNextCall status in the DefaultDNSPT
configuration option.
AfterCallWork
This status appears when the agent sets a particular DN to a special post-
interaction-processing mode, and no already-established telephony interactions
are currently occurring on the DN.
CallConsult
This status appears when at least one telephony interaction of consult
interaction type is currently established on a particular DN, and no other
already-established telephony interactions of Internal, Outbound, or Inbound
interaction type are currently occurring on the DN.
CallDialing
This status appears when a particular DN (phone receiver) is off-hook, the DN
is in Ready state, dialing is in progress, and no other telephony activity is taking
place on the DN.
CallInbound
This status appears when at least one telephony interaction of Inbound
interaction type is currently occurring on the DN.
CallInternal
This status appears when at least one telephony interaction of Internal
interaction type and no other already established telephony interactions of
Outbound or Inbound type are currently occurring on the DN.
CallOutbound
This status appears when at least one telephony interaction of Outbound
interaction type and no other already established telephony interactions of
Inbound interaction type are currently occurring on the DN.
CallOnHold
This status appears when a telephony interactionof any originis on hold at
a particular DN, and no other already established telephony interactions, which
are not on hold, are currently occurring on the DN.
Stat Server removes from consideration the underlying DN action of an
established telephony interaction while the interaction is on hold, thereby
allowing:
The CallOnHold status to prevail against other occurring DN actions
(except CallConsult) when Stat Server determines DN status on the same
DN.
CallRinging
This status appears when the PBX alerts a particular DN of an incoming
interaction, the DN is in Ready state, and no other already established telephony
interactions are currently in progress on the DN.
CallUnknown
This status appears when at least one telephony interaction of unknown origin
is established, and no other already established telephony interactions of
known origin are currently occurring on the DN.
NotReadyForNextCall
This status appears when the agent sets a particular DN to a NotReady state (for
example, the agent presses the Not Ready button), no other already established
telephony interactions are currently in progress for the DN, and the agent has
not placed the DN in AfterCallWork mode.
OffHook
This status appears when the agent sets a particular DN to Ready state, and the
only activity on the DN is that the phone receiver is off the hook.
WaitForNextCall
This status appears when no activity is currently in progress on a particular
DN, and the agent has placed the DN in Ready statefor example, the agent
presses the Ready button.
LoggedOut
Though LoggedOut is a valid value in the DefaultDNSPT option, this status never
appears on a DN.
Note: For Stat Server 8.1.0-, reconfigure a Place object only when no agent is
logged in to the corresponding place. Dynamic reconfiguration of a
Place object with a logged-in agent might affect Stat Server reports on
the place status.
When several DNs of any DN type are associated with the same Place object,
Stat Server uses the following algorithm to determine the voice-only place
status:
1. If an agent is currently logged in at the extension or position (Stat Server
8.1.0-), and if the status of the Extension or Position has a higher priority
than NotReady ForNextCall, Stat Server uses only statuses of DNs of the
Position or Extension type in calculating place status.
Note: In the 8.1.0- release, on the Meridian 1 switch, Stat Server might
incorrectly report the status of a Place object when that place contains
two physical phones and an agent is assigned two login IDs. In this
case, when the agent logs in to one of the two phones, the agent status
might be reported as NotReady. The status will be incorrect until the
agent logs in to the DNs of the Position type on both phones and the
WaitForNextCall action starts for both DNs.
Group Status
Place Group and Agent Group objects can hold one of these statuses:
Monitored
NotMonitored
WaitForNextCall
NotReadyForNextCall
In addition, Agent Group objects can also hold a LoggedOut status.
Stat Server determines the status of place groups according to these rules:
1. If every place in the group has NotMonitored status, the group has
NotMonitored status.
2. If at least one place in the group has Monitored status, and every place in
the group has either Monitored or NotMonitored status, the group has
Monitored status.
3. If at least one place in the group has WaitForNextCall status, the group has
WaitForNextCall status.
4. In all other cases, the group has NotReadyForNextCall status.
5. An empty place or agent group has Monitored status.
Stat Server determines the status of agent groups according to the preceding
rules 14 applied to all the places where an agent is logged in (see page 57).
You cannot affect place group status or agent group status by modifying the
status priority tables, which are described in the following section.
Regular DN Status The standard Regular DN Status Priority Table, specified by the DefaultDNSPT
Priority Table configuration option, defines the priority level and lists actions (separated by
commas) in order of increasing priority, as follows:
NotMonitored,
Monitored,
LoggedIn,
OnHook
WaitForNextCall, Note: When determining status, Stat Server
OffHook, temporarily hides from consideration the
CallDialing, corresponding DN action (CallInternal,
CallRinging, CallInbound, CallOutbound, or
NotReadyForNextCall, CallUnknown) of an established telephony
AfterCallWork, interaction on the same DN for the
CallOnHold, duration the interaction is on hold.
CallUnknown,
CallConsult,
CallInternal,
CallOutbound,
CallInbound,
LoggedOut
Stat Server uses the Regular DN Status Priority Table if the DefaultDNSPT
option is not specified or if the options value consists of an ellipsis (three
consecutive dots).
The DefaultDNSPT option must consist of a string consisting of these actions (in
any order, separated by commas) or a subset of these actions (with a single
occurrence of an ellipsis in the comma-separated list). In the latter case, all
missing actions in the list have greater priority than actions preceding the
ellipsis, and lesser priority than actions following the ellipsis. The missing
actions are prioritized as specified in the standard Regular DN Status Priority
Table.
Mediation DN The standard Mediation DN Status Priority Table defines the priority level and
Status Priority lists actions (separated by commas) in order of increasing priority, as follows:
Table NotMonitored,
Monitored
Stat Server uses this table for mediation DNs if the DefaultRPSPT option is not
specified or if its value consists of an ellipsis.
The DefaultRPSPT option must be a string consisting of actions (in any order,
separated by commas) or of a subset of actions (with a single occurrence of an
ellipsis in the comma-separated list). In the latter case, all missing actions have
greater priority than actions preceding the ellipsis in the list, and lesser priority
than actions following the ellipsis. The missing actions prioritize as specified
in the standard Mediation DN Status Priority Table.
Note: Call-type actions that are not listed in the Regular DN Status Priority
Table or Mediation DN Status Priority Table are not used to determine
status. The regular DN actions LoggedIn and LoggedOut do not affect
DN status either.
DN status inherits the attached data from the highest-priority action. You can
use filters on the attached data, but you cannot apply custom formulas to it.
Keep in mind that:
Because more than one action of the same kind can occur on a DN at one
time, when such an action determines status, the attached data of the status
cannot be predicted. Therefore, use filters cautiously with attached data for
statuses.
The duration of a status, in general, differs from the duration of underlying
actions. A status begins when an action becomes the highest-priority
current action. A status ends when another action becomes the new
highest-priority current action. Therefore, for the duration of the same
status, several similar actions may have succeeded one another.
6 Statistical Categories
This chapter introduces Stat Server statistical categories and explains how Stat
Server calculates statistics that are defined using these categories. This
information pertains to the values that you might specify in the Category option
(described on page 43) of a stat type.
Information in this chapter is divided among the following topics:
Categories and Masks, page 141
Categories for Cluster-Mode Operation, page 144
Historical Categories, page 146
Current Categories, page 154
Historical CustomValue Categories, page 156
Current CustomValue Categories, page 158
Compound Categories, page 159
CurrentState Categories, page 165
Java Category, page 170
Subject of Calculation
The aggregated values discussed here are calculated on the basis of a subject
specified in the definition of a statistical type, which can be either a DN action
or the status of an object. Because statuses are merely highest-priority actions,
the computations are the same for any subject, except for the TotalNumber,
TotalTime, MaxTime, MinTime, and TotalAdjustedTime aggregated values (see
the next section). Aggregated custom values cannot be computed on the basis
of status.
Aggregated Values
The actions listed in a mask are used to maintain aggregated values. Every
kind of aggregated value is available as a category. Other categories calculate
statistics by using an additional computation that is based on aggregated
values.
Historical aggregated values are based on statuses and actions during a
specified interval (configured as a time profile). Current aggregated values are
based only on statuses and durable actions that occur at the current moment;
instantaneous actions that are listed in the mask are ignored. These values do
not depend on computation intervals.
Historical Current
Historical Current
Historical Current
Historical Current
Stat Server supports in regular mode. This table also indicates whether each
category applies for restricted cluster mode operation.
MinTime
RelativeNumberPercentage
RelativeTimePercentage
TotalAdjustedNumber
TotalAdjustedTime
TotalContinuousNumber
TotalNumber
TotalNumberInTimeRange
TotalNumberInTimeRangePercentage
TotalNumberPerSecond
TotalTime
TotalTimeInTimeRange
CurrentAverageTime
CurrentContinuousTime
CurrentMaxTime
CurrentMinTime
Current
CurrentNumber
CurrentNumberInTimeRangePercentage
CurrentRelativeNumberPercentage
CurrentRelativeTimePercentage
CurrentTime
CurrentNumberInTimeRange
AverageCustomValue
CustomValue
Historical
MaxCustomValue
MinCustomValue
TotalCustomValue
CurrentAverageCustomValue
Categories CustomValue
CurrentCustomValue
Current
CurrentMaxCustomValue
CurrentMinCustomValue
EstimWaitTime
Compound
ExpectedWaitTime2
LoadBalance
ServiceFactor1
Java Current
State
CurrentStateReasons
CurrentTargetState
JavaCategory
Historical Categories
This section describes how Stat Server calculates statistics for the following
historical statistical categories:
AverageNumberPerRelativeHour RelativeTimePercentage
AverageOfCurrentNumber TotalAdjustedNumber
AverageOfCurrentTime TotalAdjustedTime
AverageTime TotalContinuousNumber
ElapsedTimePercentage TotalNumber
MaxNumber TotalNumberInTimeRange
MaxTime TotalNumberInTimeRangePercentage
MinNumber TotalNumberPerSecond
MinTime TotalTime
RelativeNumberPercentage TotalTimeInTimeRange
AverageNumberPerRelativeHour
This statistical category returns the number of events of a particular type that
occurred during an average hour. Here is the formula:
TotalNumber ( MainMask )
Value = -------------------------------------------------------------------------------- x 3600
TotalTime( RelMask)
A relative mask specification is mandatory for this category. The subject
applies to both MainMask and RelMask. Filters, however, can only be applied to
the MainMask.
AverageOfCurrentNumber
The value represents the average of current-number measurements over a
specified time interval. Unlike the behavior in releases prior to 7.0, Stat Server
take current-number measurements every 2 seconds; for example, Stat Server
now only notes the time whenever the current number changesfor example,
when one inbound interaction enters or exits the contact center.
Also, different from prior releases is Stat Servers use of the first-observed
current number in its average calculation. Prior to release 7.0, the first value
was not used in the formula. The new formula:
( Ni ( ti ti 1 ) )
-----------------------------------------------------
t t0
the number of interactions currently underway at a specific time during the ith
change in the number of current observations.
(Ni, ti)
Ni
N+1
N
t0 ti-1 ti
AverageOfCurrentTime
The value is equal to the average of current-time measurements and is
calculated similarly to how AverageOfCurrentNumber (see previous subsection)
is measured. Unlike the behavior in releases prior to 7.0, Stat Server now uses
the first-observed current time in its average calculation.
AverageTime
TotalTime ( MainMask, Interval ) -
Value = --------------------------------------------------------------------------------------------------
TotalNumber (RelativeMask,Interval)
ElapsedTimePercentage
Value = 100 X TotalTime (MainMask,Interval)-
----------------------------------------------------------------------------------
IntervalDuration
MaxNumber
The MaxNumber statistical category returns an aggregated value that represents
the maximum number of durable actions or statuses that occur simultaneously
during an interval.
Value = MaxNumber(MainMask,Interval)
MaxTime
The MaxTime statistical category returns an aggregated value that represents the
maximum duration among all durations of durable and retrospective actions or
of statuses listed in the mask that, during the interval from which the statistic is
calculated:
Ended (for durable actions).
Occurred (for retrospective actions).
Either started or are in progress (for statuses).
Momentary actions listed in the mask are ignored, because they do not have a
duration. If a statistic is requested for statuses, Stat Server uses the status
duration within the statistical interval for calculation; otherwise, Stat Server
uses the entire action duration.
Value = MaxTime(MainMask,Interval)
MinNumber
The MinNumber statistical category returns an aggregated value that represents
the minimum number of durable actions or statuses that occur simultaneously
during an interval.
Value = MinNumber(MainMask,Interval)
MinTime
The MinTime statistical category returns an aggregated value that represents the
minimum duration among all durations of durable and retrospective actions or
of statuses listed in the mask that, during the interval from which the statistic is
calculated:
Ended (for durable actions).
Occurred (for retrospective actions).
Either started or are in progress (for statuses).
Momentary actions listed in the mask are ignored, because they do not have a
duration. If a statistic is requested for statuses, Stat Server uses the status
duration within the statistical interval for calculation; otherwise, Stat Server
uses the entire action duration.
Value = MinTime(MainMask,Interval)
RelativeNumberPercentage
TotalNumber (MainMask,Interval)
Value = 100X -----------------------------------------------------------------------------------------------------------------
TotalNumber ( RelativeMask, Interval )
RelativeTimePercentage
A relative mask is required for this category. It returns, as a percentage, the
quotient of the TotalTime aggregated value (see page 153) for the main mask
and the quotient of the TotalTime aggregated value for the relative mask. Note
that if the main mask contains actions absent from the relative mask, the
percentage can exceed 100.
TotalTime ( MainMask, Interval )
Value = 100 X ----------------------------------------------------------------------------------------------
TotalTime ( RelativeMask, Interval )
TotalNumber
For statistics based on stat type definitions where Subject=DNAction, the
TotalNumber statistical category returns an aggregated value that represents the
total number of actions listed in the mask that ended (for durable actions) or
occurred (for instantaneous actions) during the interval from which the statistic
is calculated. For statistics based on stat type definitions where Subject=
DNStatus (and, respectively, AgentStatus and PlaceStatus), this is the total
number of statuses listed in the mask that either started or are in progress
during the interval from which the statistic is calculated.
Value = TotalNumber(MainMask,Interval)
TotalAdjustedNumber
The TotalAdjustedNumber statistical category sums the total number of
occurrences of actions or statuses listed in the main mask that ended during the
interval from which the statistic is calculated.
TotalAdjustedTime
If a statistic is requested with the DN action specified, TotalAdjustedTime
represents the sum of all durations of durable and retrospective actions listed in
the mask that, during the interval from which the statistic is calculated:
Either ended or are in progress (for durable actions)
Occurred (for retrospective actions)
Momentary actions listed in the mask are ignored, because they do not have a
duration. Only the duration time that is within the interval is used in this
calculation.
For status-based statistics, TotalAdjustedTime is the sum of all durations of
durable and retrospective actions listed in the mask that ended or occurred (for
retrospective actions) during the interval from which the statistic is calculated.
Stat Server uses the overall status duration in this calculation. A statistic of this
category must be requested with the reset-based notification; that is, a statistic
is reset to 0 when a new interval starts.
TotalContinuousNumber
At any moment in time, the TotalContinuousNumber is the sum of the current
(C) and historical (H) components:
V = C + H,
where
V is the value of the statistic, sent to the client;
C coincides with the value of the CurrentNumber statistic with the same
MainMask and Subject;
H is invisible internal counter.
TotalNumberInTimeRange
TotalNumberInTimeRange returns a restricted aggregated value that represents
the total number of all durable and retrospective actions, or of statuses listed in
the mask that ended (for durable actions or for statuses) or occurred (for
retrospective actions) during the interval from which the statistic is calculated,
and whose duration is within the specified time range.
Value = TotalNumberInTimeRange(MainMask,Interval,TimeRange)
TotalNumberInTimeRangePercentage
TotalNumberInTimeRange (MainMask,Interval, TimeRange)
Value = 100 X -----------------------------------------------------------------------------------------------------------------------------------------------------------------
TotalNumber (MainMask,Interval)
TotalNumberPerSecond
TotalNumber (MainMask,Interval-)
Value = ------------------------------------------------------------------------------------------
IntervalDuration
This category returns the ratio of the TotalNumber aggregated value (see
page 150) to the entire duration of the interval, from which the statistic is
calculated.
TotalTime
The TotalTime statistical category returns an aggregated value that represents
the sum of all durations of durable and retrospective actions or of statuses
listed in the mask that, during the interval from which the statistic is
calculated:
Ended (for durable actions).
Occurred (for retrospective actions).
Either started or are in progress (for statuses).
Momentary actions listed in the mask are ignored, because they do not have a
duration. If a statistic is requested for statuses, Stat Server uses the status
duration within the statistical interval for calculation; otherwise, Stat Server
uses the entire action duration.
Value = TotalTime(MainMask,Interval)
This category returns the TotalTime aggregated value (see page 153).
TotalTimeInTimeRange
The TotalTimeInTimeRange statistical category returns an aggregated value that
represents the total duration of all durable and retrospective actions, or of
statuses listed in the mask that ended (for durable actions or for statuses) or
occurred (for retrospective actions) during the interval from which the statistic
is calculated, and whose duration is within the specified time range. Unlike
other historical aggregated values, these values depend not only on the mask
and the interval from which the statistic is computed, but also on the time
range.
Value = TotalTimeInTimeRange(MainMask,Interval,TimeRange)
A time range is required for this category. It returns the restricted TotalTimeIn
TimeRange aggregated value (see page 142).
Current Categories
This section describes how Stat Server calculates statistics of the following
current categories:
CurrentAverageTime CurrentNumberInTimeRange
CurrentContinuousTime CurrentNumberInTimeRangePercentage
CurrentMaxTime CurrentRelativeNumberPercentage
CurrentMinTime CurrentRelativeTimePercentage
CurrentNumber CurrentTime
CurrentAverageTime
The CurrentAverageTime statistical category provides the average of all
durations of durable actions or of statuses that are listed in the mask that are
occurring at that time. The durations are interpreted as the time from the
beginning of a durable action or a status until the present moment.
CurrentTime ( MainMask ) -
Value = -----------------------------------------------------------------------------------
CurrentNumber ( RelativeMask )
CurrentContinuousTime
CurrentContinuousTime returns an aggregated value that provides the duration
of time, in seconds, during which an object status belonged to the MainMask, or
zero, if the current object status does not belong to the MainMask. Stat Server
increments CurrentContinuousTime as soon as the object status is listed in the
MainMask. Stat Server continues to increment CurrentContinuousTime if the
object status changes but it still belongs to the MainMask. As soon as the object
status changes and it is no longer part of the MainMask, CurrentContinuousTime
statistics reset to zero.
Value = CurrentContinuousTime(MainMask)
Similar to CurrentTime, this statistical category is classified as current within
the Genesys call model, even though it has an accumulation component. This
statistical category applies only to stat types that have Agent and/or Place
CurrentMaxTime
The CurrentMaxTime statistical category returns an aggregated value that
provides the maximum duration among all durations of durable actions or of
statuses that are listed in the mask that are occurring currently. The durations
are interpreted as the time from the beginning of a durable action or a status
until the present moment.
Value = CurrentMaxTime(MainMask)
CurrentMinTime
The CurrentMinTime statistical category returns an aggregated value that
provides the minimum duration among all durations of durable actions or of
statuses that are listed in the mask that are occurring currently. The durations
are interpreted as the time from the beginning of a durable action or a status
until the present moment.
Value = CurrentMinTime(MainMask)
CurrentNumber
The CurrentNumber statistical category returns an aggregated value that
represents the total number of durable actions or of statuses that are listed in
the mask that are occurring currently.
Value = CurrentNumber(MainMask)
CurrentNumberInTimeRange
The CurrentNumberInTimeRange statistical category returns an aggregated value
that represents the total number of all durable actions or statuses listed in the
mask that are occurring currently and whose duration is within the specified
time range. Unlike other current aggregated values, this value depends not only
on the mask, but also on the time range (see page 39).
Value = CurrentNumberInTimeRange(MainMask,TimeRange)
CurrentNumberInTimeRangePercentage
A time range is required for this category. It returns, as a percentage, the ratio
of the restricted CurrentNumberInTimeRange aggregated value and a percentage
of the CurrentNumber aggregated valuethat is, the percentage of times the
actions in the main mask had a duration within the specified time range,
divided by the total number of times actions from the main mask occurred or
ended during the specified interval.
CurrentNumberInTimeRange ( MainMask, TimeRange )
Value = ---------------------------------------------------------------------------------------------------------------------------------------------------
CurrentNumber ( MainMask )
CurrentRelativeNumberPercentage
A relative mask is required for this category. It returns, as a percentage, the
quotient of the CurrentNumber aggregated value for the main mask and the
CurrentNumber aggregated value for the relative mask. Note that if the main
mask includes actions that do not also appear in the relative mask, this
percentage can exceed 100.
CurrentNumber ( MainMask )
Value = 100 -----------------------------------------------------------------------------------------
CurrentNumber ( RelativeMask )
CurrentRelativeTimePercentage
CurrentTime ( MainMask ) -
Value = 100 ----------------------------------------------------------------------------------
CurrentTime ( RelativeMask )
CurrentTime
The CurrentTime statistical category returns an aggregated value that represents
the sum of all durations, in seconds, of durable actions or of statuses listed in
the mask that are occurring currently. The durations are interpreted as the time
from the beginning of a durable action or a status until the present moment.
Stat Server resets CurrentTime when different actions or statuses begin, even if
they are part of the mask.
Value = CurrentTime(MainMask)
MinCustomValue
TotalCustomValue
AverageCustomValue
TotalCustomValue (MainMask,Interval, CustomFormula)
Value = --------------------------------------------------------------------------------------------------------------------------------------------------------
TotalNumber (MainMask,Interval)
MaxCustomValue
The MaxCustomValue statistical category returns an aggregated value that
represents the greatest of the custom-formula values evaluated over each
interaction-related or UserEvent action listed in the mask that ended (for
durable actions) or occurred (for instantaneous actions) during the interval
from which the statistic is calculated.
Value = MaxCustomValue(MainMask,Interval,CustomFormula)
MinCustomValue
The MinCustomValue statistical category returns an aggregated value that
represents the smallest of the custom-formula values evaluated over each
interaction-related or UserEvent action listed in the mask that ended (for
durable actions) or occurred (for instantaneous actions) during the interval
from which the statistic is calculated.
Value = MinCustomValue(MainMask,Interval,CustomFormula)
This category returns the MinCustomValue aggregated value (see page 157).
TotalCustomValue
The TotalCustomValue statistical category returns an aggregated value that
represents the sum of the custom formula values evaluated over each
interaction-related or UserEvent action listed in the mask that ended (for
durable actions) or occurred (for instantaneous actions) during the interval
from which the statistic is calculated.
Value = TotalCustomValue(MainMask,Interval,CustomFormula)
Note: In order to keep the last calculated value and have sustainable results
for the MinCustomValue and the AverageCustomValue categories the
appropriate filter has to be applied. Filter should contain validation
PairExist("key", "*") for all UserData for interactions involved into
calculation to prevent formula calculation in case of missing keys in
UserData. Value for missing key is always 0, so it will invalidate stat
value
CurrentAverageCustomValue
CurrentCustomValue (MainMask,CustomFormula)
Value = ---------------------------------------------------------------------------------------------------------------------------------------
CurrentNumber ( MainMask )
CurrentCustomValue
The CurrentCustomValue statistical category returns an aggregated value that
represents the sum of the custom formula values evaluated over each
interaction-related, durable action listed in the mask that is occurring currently.
Value = CurrentCustomValue(MainMask,CustomFormula)
CurrentMinCustomValue
The CurrentMinCustomValue statistical category returns an aggregated value
that represents the smallest of the custom formula values evaluated over each
interaction-related, durable action listed in the mask that is occurring currently.
Value = CurrentMinCustomValue(MainMask,CustomFormula)
Compound Categories
The formulas for Stat Servers compound statistical categories are derived
from the formulas of two or more simple statistical categories. Stat Server
defines the following compound statistical categories:
EstimWaitTime
ExpectedWaitTime2
LoadBalance
ServiceFactor1
With the exception of ServiceFactor1, all compound statistical categories are
based on formulas that are valid only for single-media mediation DNsthat is,
mediation DNs that satisfy the following conditions:
All interactions that are queued to such mediation DNs are homogenous,
having the same M media type. The EstimWaitTime and LoadBalance
categories service voice media type (it means that mediation DN must not
belong to the multimedia switch); the ExpectedWaitTime2 category services
other-than-voice media.
All interactions that are distributed from such mediation DNs are delivered
only to agents who handle M media-type interactions only.
Statistics that are based on the these statistical categories might generate
results that are difficult to interpret if statistics are requested for other than
single-media mediation DNs.
All compound statistical categories are historical and, thus, calculated over
specified time intervals. Configured stat types for compound statistical
categories must specify DNAction as the Subject and must specify a nonempty
main mask.
For example:
[stattype]
Category=EstimWaitTime or ExpectedWaitTime2 or LoadBalance
Subject=DNAction
Main Mask=CallWait
[stattype]
Category=ServiceFactor1
Subject=DNAction
Main Mask=CallAnswered
Compound statistical categories are based on fixed sets of actions. Each of the
following sections lists the applicable actions for each category.
Note: For switch types such as the Nortel Meridianin which places are
configured with both Position and Extension DNs and agents are
required to be logged in to the Position DNyou must set the
position-extension-linked Stat Server configuration option to yes for
Stat Server to properly calculate statistics that are based on these
categories.
EstimWaitTime
The EstimWaitTime statistical category provides an estimate of the amount of
time that the last call that entered the mediation DN must wait before it is
distributed from the mediation DN. This estimate takes into account the
possibility of distributing calls from different queues to the same agents.
Genesys recommends that you use the Sliding time profile (see page 22) when
you request statistics that use this category.
Notes: Stat Server recognizes the following aliases for the EstimWaitTime
statistical category:
StatExpectedWaitTimeUsed by Universal Routing Server.
ExpectedWaitTimeUsed within the Universal Routing Designer
and CCPulse+ user interfaces. Do not confuse this alias with the
ExpectedWaitTime2 statistical category, which is described on
page 162.
However, when you are creating stat types, Genesys recommends that
you specify the proper category name.
Stat Server calculates the value of a statistic that belong to this category as
follows:
CIQU
Value = AHT ------------------
AA EP
where:
a. AHT stands for average handling timethat is, the time that is spent, on
average, in processing a call that comes from the queue and after-call
work that follow such a call:
TotalTime ( Mask1, Interval )
AHT = -----------------------------------------------------------------------------------
TotalNumber ( Mask2, Interval )
where
Mask1 is given by the CallReleased, ACWCompleted, ACWMissed, and
CallMissed actions.
Mask2 is given by the CallReleased and CallMissed actions.
Interval is given by a supplied time profile.
If no calls from the queue have been processed yet, AHT is considered to
be 90 seconds.
Note: This value is not configurable.
b. CIQU stands for calls in queue unassignedthat is, the number of calls
that currently are waiting in the queue that cannot be distributed to
agents immediately. This value is calculated, based both on the number
of calls in queue:
CIQ = CurrentNumber (CallWait)
and on the number of agents ready (AR)that is, the number of agents
who currently are logged in and have WaitForNextCall status.
The calculations are based on the following algorithm:
CIQU equals zero (0) if the number of agents ready is greater than or
equal to the number of calls in queuethat is, if all calls from this
queue can be distributed to agents immediately.
CIQU equals the number of calls in queue (CIQ) if no agents are
currently ready (AR = 0).
CIQU equals the difference between the number of calls in queue and
the number of agents ready (CIQAR) if some agents are currently
ready.
c. AA stands for agents active:
AA = CurrentNumber ( AgentActive )
This statistic works only for ACD and virtual queues and only for T-Servers
that propagate the queue parameter in login messages. For T-Servers that do
not do this, you must configure an association between agents and a queue in
Configuration Manager as follows:
1. Select an AgentGroup (or a PlaceGroup) and open its Properties dialog box.
2. Click the Advanced tab, and then click Add to add an Origination DN object.
3. In the Browse window, double-click the switch to which the queue belongs.
4. Double-click the DN object that belongs to the switch, and then select the
queue that you want to associate with this AgentGroup.
5. Click OK.
6. In the AgentGroup Properties dialog box, click OK to save the configured
association.
ExpectedWaitTime2
Similar to the EstimWaitTime statistical category, the ExpectedWaitTime2
category also provides wait-in-queue estimates for the last interaction that
entered a virtual queue. This category, however, has been designed for the
multimedia model which recognizes that agents can handle more than one
simultaneous nonvoice interaction at a time.
Stat Servers formula for calculating values of statistics that use this category
is the same as described on pages 160162 with exceptions along the
interpretation of the formulas terms.
CIQU
Value = AHT ------------------
AA EP
First, however, we revisit the definition of the Stat Server capacity vector,
[ S N1 N2 N3 ], which Stat Server logs whenever, among other factors, the
number of concurrent or assignable interactions for each media type changes at
a particular place. Each vector pertains to one particular media type and its
definition plays role in understanding why the terms in the preceding formula
have different meanings.
S represents the state of readiness of a particular media at a particular
place.
LoadBalance
This statistical category is intended to assist clients in balancing the call loads
between ACD queues and routing points. Based on the load-balancing values
where:
Mask1 is given by the CallReleased, ACWCompleted, ACWMissed, and
CallMissed actions.
Mask2 is given by the CallReleased and CallMissed actions.
Interval is given by a supplied time profile.
This value can be negative. Its implementation does not require the explicit
specification of an agent group. If no calls ever entered this queue or other
queues related to this queue by agent-login and/or origination-DN association,
Stat Server uses the value of the load-balance-aht configuration option
(described in the Stat Server Deployment Guide) for the average handling time.
After the first call has been processed by the associated agent, the new
calculated value of average handling time will be applied in load-balancing
calculations for all related queues and routing points.
ServiceFactor1
This statistical category is the only one that requires two time ranges. Their
names in a stat-type definition must be the same as Stat Server option names
for these time ranges.
nAnsw ( TimeRange )
Value = 100 X --------------------------------------------------------------------------------------------------------------
-
nAnsw + nAband nAband ( TimeRange 2 )
where:
nAnsw(TimeRange) is the restricted TotalNumberInTimeRange aggregated
value (see page 142) for the CallAnswered mediation DN action (see
page 92).
nAnsw+nAband is the TotalNumber aggregated value (see page 150) for the
list of mediation DN actions CallAnswered, CallAbandoned, and Call
AbandonedFromRinging.
nAband(TimeRange2) is the restricted TotalNumberInTimeRange aggregated
value (see page 142) for the mediation DN actions CallAbandoned and
CallAbandonedFromRinging.
If TimeRange2 is from 0 to t1 and TimeRange is from 0 to t, where t1 is small
enough, so that calls abandoned within t1 seconds may be considered stray
calls, and t is an upper limit, in seconds, for the interval within which calls are
considered as answered without excessive delay, then, Service Factor1 gives
the percentage ratio of the calls answered without excessive delay over all calls
that have been delivered or abandoned from the queue, less the number of
stray calls.
CurrentState Categories
Current state statistical categories do not return numeric values, but rather
return a structure containing current action and status information for agents,
places, and groups against all Genesys-defined media types. There are three
current state statistical categories:
CurrentState
CurrentStateReasons
CurrentTargetState
CurrentState
The format of the returned structure for the CurrentState statistical category
depends on the object and subject of the statistic and can be represented as a
tree. See Figure 19.
The root of the tree always corresponds to the stated object of the statistic, all
nodes correspond to underlying objects in the DN Action Propagation
Hierarchy (see page 70), and the terminal nodes are always at the level of the
stated subject of the statistic.
The Object statistical parameter determines whether Group CurrentState or
Agent CurrentState is sent. Place-Group CurrentState has the same format as
Agent-Group CurrentState. Place CurrentState has the same format as Agent
CurrentState.
The Subject statistical parameter determines the depth of the tree:
if Subject = DNAction, the tree is expanded down to DN actions;
if Subject = DNStatus, the tree is expanded down to DN statuses; etc.
Group Current State
-Group ID
-Group Status
-Start of group status
-Agents : Agent Current State
1
Agent Current State
0..* -Agent
-Place
-Agent status
1 -Start of agent status
-DNs : DN Current State
0..* -Login used
DN Current State
-DN info
-DN Status
-Start of DN Status
-Actions : Action
1 Action
0..* -Type
-Start of action
-Action Data
CurrentStateReasons
Starting with release 6.5, Stat Server provides the CurrentStateReasons
category to support the reasons that agents place themselves in certain agent
statuses (such as WaitForNextCall, NotReadyForNextCall, and AfterCallWork).
Reasons can change within the same agent status. If it is likely that the agents
within your contact center will change the reason they entered a particular
agent status within that same agent status, and if you want Stat Server to
measure such changes, consider setting the ReasonStartOverridesStatusStart
stat type option (described on page 44) to yes to change the timestamp for the
tmStart field. This statistical category applies only to stat types that have Agent
and/or GroupAgents designated as their objects.
In addition to providing current status information for agents and agent groups,
this statistical category also can store reasons for noninteraction-related
statuses in key-value list format, if the underlying T-Server supports reasons.
For some agent statuses (Ready, NotReady, AfterCallWork) in which DNs have
the same such status, Stat Server collects reasons from the Reason field of the
corresponding TEvent and/or the Extension field of the TEvents ReasonCode
key.
Figure 20 illustrates the structures that support this statistical category.
Agent CurrentStateReasons
-Agent
-Place
-Agent status
-Start of agent status
-Reasons : Reason Reason
Note: Not all T-Servers support reasons. Please refer to the appropriate
T-Server manual for more details.
CurrentTargetState
The CurrentTargetState statistical category is reported using the following
two structures that include multimedia-capacity information about agent,
place, agent group, and place group states:
Snapshot
Delta
Stat Server returns the Snapshot structure as its initial response when a client
requests a statistic using the CurrentTargetState category. In general, it
includes the array of Target structures, where each structure corresponds to a
single routing Target (Agent or Place) If Object is Agent or Place, the array
contains a single Target structure. Stat Server sends subsequent notifications
(Target added/changed/removed - the first two are sent only if statistic is
requested for agent group or place group) using the Delta structure, which
contains the (changed) Target and the list of associated statistical requests.
Consider the following situation:
Agent is associated with place (via login into DN belonging to that place)
Agent belongs to a agent group(s)
Place belongs to a place group(s)
CurrentTargetState statistic is requested for the Agent, Place, agent-
group(s), place(groups)
For 8.1.0- release, the single ("atomic") response is sent for all (associated)
requests above.
For 8.1.2+ release, two responses are sent:
one for the Place and place groups
another for the Agent and agent groups
Figure 21 illustrates CurrentTargetState.
1
1..*
Target
-Agent
-Place Media capacity
-Login ID
-Media capacities : Media capacity -Media type
-DNs : Extended DN Current State 1 -Current interactions
-Extensions -Max interactions
0..* -Routable interactions
-Time-stamp
1 1
1 1..*
0..* 1
Targe State Delta
-Requests Extended DN Current State
-Target : Target -DN info
-DN status
-Start of DN Status
-Actions : Action
-Is multimedia?
-Media capacity
-Extensions
Java Category
The JavaCategory statistical category must be specified in a stat types
definition to use statistical definitions residing in a Stat Server Java Extensions
(SSJE). When loaded, each SSJE passes its own statistical definitions to Stat
Server availing them to Stat Server clients. These stat types can be real-time or
historical and, unlike regular stat types, are dynamic in nature. This means that
they are enabled only if the corresponding SSJE is loaded.
The Solution Reporting Templates book of the Reporting Technical Reference
series describes stat types provided in the 7.x and 8.x releases of the OCC and
Multimedia SSJEs.
The JavaCategory is not supported when Stat Server operating in restricted
cluster mode.
7 Statistical Subjects
The activities that are associated with one contact center interaction can be
viewed from many perspectives. For example, when Agent A transfers one
inbound call from his extension DN to Agent B, belonging to the same agent
group, Stat Server generates:
Several actions for each agents DNs including:
CallInbound, CallOnHold, CallConsult, CallDialing, and Monitored,
for Agent A
CallRinging and Monitored, for Agent B
Several statuses for the Place A, that is associated with Agent A, including:
CallInbound for the Extension DN
WaitForNextCall on the Position DN
Several statuses for the agents group, TierII, including:
NotReadyForNextCall, for Agent A
WaitForNextCall, for Agent B
To define the perspective from which you want Stat Server to capture data for a
statistic, you specify one statistical subject in the statisticss underlying stat
type definition, by assigning a value to the Subject option. (This option is
described on page 44). This chapter introduces the subjects that Stat Server
recognizes and explains how they factor into the definition of a statistic.
This chapter contains the following sections:
A Recounting of Action Propagation, page 172
The Subject Algorithm, page 173
However, Stat Server must adjust the duration of the propagated CallInbound
action for Agent to 30 minutes, because Agent was associated with neither
Place nor DN during the first half of the call.
For objects that do have children, Stat Server computes status based on the
status of the objects children (adjusted as described above). For additional
information on this object-specific algorithm, refer to:
Associations Between Agents and DNs/Media Channels on page 57.
DN Association with Queues on page 57.
Propagation of DN Actions on page 70.
The first part of each compound value indicates the data source where Stat
Server tracks information: DN, agent, place, group, or campaign. The second
part of the compound value indicates whether Stat Server should consider the
actions occurring at the data source or the statuses. For example, a DNAction
subject assignment within a stat type definition informs Stat Server that the
actions generated for a regular directory number are the source of statistics for
all applicable objects. The AgentStatus subject informs Stat Server that the
status of agents are the source of statistics for all applicable objects.
If you specify an invalid or unsupported subject given Stat Servers mode of
operation, Stat Server will both:
Refuse to open the affected statistic
Log an error
Table 26 maps the objects to which each statistical subject applies. This
mapping also indirectly reveals the groups of objects which are compatible.
The checkbox at the end of each subject description indicates whether that
subject applies to Stat Server applications running in restricted cluster mode. If
so, C appears within the checkbox.
Table 26: Statistical Subjects and the Objects to Which They Apply
CampaignAction CampaignGroup
CallingList Indicates Stat Server should consider only the
CampaignCallingList actions occurring at campaign data sources.
C
DNAction RegDN RoutePoint
(alias Action) Agent GroupAgents Indicates Stat Server should consider only the
Place GroupPlaces actions occurring at regular directory number data
Queue GroupQueues sources.
Tenant
Table 26: Statistical Subjects and the Objects to Which They Apply (Continued)
* There is no direct connection between Stat Server and Outbound Contact ServerT-Server transmits OCS
events to Stat Server through communication DNs.
Network latencies and load-related delays explain the gap between these two
timestamps and largely account for the discrepancies in statistical values
reported by other Genesys Reporting applications for comparable statistics.
The setting of the UseSourceTimeStamps stat type configuration option
(described on page 45) enables you to control which timestamp Stat Server
uses; however, it should be noted that this aspect of time alone does not cause
all of the differences in reported statistical values. Stat Server uses a mix of
local and source timestamps to compute the duration of a terminating action
for any statistic.
For example, Stat Server adjusts all actions occurring for a statistic to the local
time in which the statistic was opened. But when the actions terminate, their
timestamps and, therefore their durations, are measured in:
Local time, when UseSourceTimeStamps has been set to No.
Both local and source time, when UseSourceTimeStamps has been set to Yes.
Stat Server adjusts action duration in this scenario as follows:
action_end max(action_start,statistic_creation_local_timestamp)
where action_end is measured in source time for the given statistic.
Their time profiles are based on the Selection or Growing interval types
(see page 22).
Their stat type profiles define the following options:
Subject=DNAction, CampaignAction, or Action
Categoryequal to one of the following:
AverageNumberPerRelativeHour
MinTime
AverageTime
RelativeTimePercentage
ElapsedTimePercentage
ServiceFactor1
EstimWaitingTime
TotalTime (with or
LoadBalance without DCID)
MaxTime
TotalTimeInTimeRange
MainMaskcontaining only durable and retrospective actions, including
instant actions, and carrying associated durations. (RelMask, in case of
ratios and Selection-based statistics, may contain any actions.)
In additionand this applies to all Genesys productsall of the servers in
your environment must be synchronized to hold an accurate GMT setting. This
is especially critical to the production of consistent results when Stat Server
must monitor several DNs in order to determine when to generate multi-server
actions, such as CallAnswered.
Note: The values that Stat Server writes to the Stat Server database do not
reflect source timestamps.
Configuration Server timestamp when the agent was added to the
group.
T-Server timestamp associated with EventEstablished for the call.
Action source end = minimum value among:
T-Server timestamp of agent logout
Configuration Server timestamp when the agent was removed from the
group.
T-Server timestamp associated with EventReleased for the call.
Note that Stat Server references the timestamps from at least two sources to
determine duration.
The following special circumstances require Stat Server to reference both the
source and local timestamps for action generation when UseSourceTimeStamps
is set to true:
When Stat Server generates actions while reading initial configuration. Stat
Server reads configuration data in synchronous mode, so Stat Server sets
Source start to the value of the local timestamp.
When actions terminate while the connection to the event-supplying server
is lost. Corresponding events do not contain the source timestamp, so Stat
Server references its local timestamp to compute action duration.
For example, T-Library detects that the connection with T-Server is lost
and generates EventServerDisconnected.
When statistics use internal timestamps. These internal timestamps might
be set to local timestamps as in the case of initial value calculations and
resets. For an example of how Stat Server references both local and source
time, see page 176.
9 Campaign Statistics
This chapter introduces statistics that can be calculated for an outbound
campaign. Information in this chapter is divided among the following topics:
Overview, page 181
Campaign Objects, page 181
Campaign Statistical Types, page 183
Campaign Actions and Statuses, page 183
Campaign-Related Statistical Category, page 186
Note: This chapter does not apply to Stat Server applications that operate in
restricted cluster mode.
Overview
Stat Server calculates campaign-related statistics based on the events received
from Outbound Contact Server (OCS). Unlike T-Server, Stat Server does not
connect directly to OCS to receive these statistics. Instead, OCS sends them in
a specific event format to a mediator called a Communication DN, where Stat
Server then reads them. During configuration of Outbound Contact Solution,
the Communication DN is used exclusively for this purpose. Stat Server needs
no additional configuration information to receive campaign-related statistics.
Campaign Objects
Campaign statistics are calculated exclusively for the Outbound Contact
Solution to reflect campaign performance. Consult the Outbound Contact
Solution 8.0 documentation for information about campaigns. Stat Server
provides statistics on groups of agents or groups of places participating in one
or more campaigns concurrently, and on one or more calling lists used to run a
campaign.
Stat Server bases statistics for a campaign on the following campaign objects:
Campaign
CampaignGroup
CallingList
CampaignCallingList
Stat Servers Campaign and CallingList objects correspond to Configuration
Servers Campaign and CallingList objects. Accordingly, these objects must
have the same names as Configuration Layers campaign objects. Campaign
Group and CampaignCallingList objects are configured within and are
meaningful only to Stat Server. A CampaignGroup object is based on a
GroupAgents object that has been assigned to a specific campaign. A Campaign
CallingList object is based on a CallingList object that has been assigned to a
specific campaign.
CampaignGroup and CampaignCallingList objects must be named
campaign@groupname and campaign@callinglist, respectively, where groupname
(callinglist) is the name of a specific group of agents (CallingList) that has
been assigned to the campaign. These Stat Server objects are visible within
CCPulse+.
Figure 24 shows the hierarchy of the Stat Server campaign objects (see the Stat
Server Telephony Objects schema in Figure 10 on page 56, for lower levels of
the hierarchy).
Campaign
DB
Campaign objects and campaign actions are further described in this chapter.
Note: Stat Server ignores filters that are applied to statistics having a
Campaign subject.
StatusRunning starts when the dialing process starts, and ends when either
the dialing process stops or a campaign is being unloaded.
StatusDeactivated starts when a campaign is being unloaded, and ends
when a campaign is being loaded on a group.
Changing these statuses from one to another causes a durable action
(StatusActivated, StatusRunning, or StatusDeactivated) to occur.
The StatusRunning durable action can be accompanied by the StatusWaiting
Records, StatusWaitingPorts, StatusWaitingAgents, and StatusSystemError
durable actions.
In parallel with the StatusRunning action, one of these dial modes can occur:
NoDial PowerAndSeize
Predict PowerGVP
PredictAndSeize Progress
PredictGVP ProgressAndSeize
Preview ProgressGVP
Power PushPreview
where no further actions will be taken for the particular lead. Lead actions
are calculated as the number of leads processed for every call result. Below
is a listing of some lead actions:
LeadAbandoned
LeadNoRingBack
LeadAgentCallBackError
LeadNuTone
LeadAllTrunksBusy
LeadOk
LeadAnswer
LeadPagerDetected
LeadAnswMachine
LeadSilence
LeadBusy
LeadSITDetected
LeadCallDropError
LeadSITInvalidNum
LeadCancel
LeadSITNoCircuit
LeadDoNotCall
LeadSITOperIntercept
LeadDropped
LeadSITReorder
LeadDroppedNoAnswer
LeadSITUnknown
LeadError LeadSITVacant
LeadFaxDetected
LeadStale
LeadGeneralError
LeadSwitchError
LeadGroupCallBackError LeadSystemError
LeadNoAnswer
LeadTransferError
LeadNoDialTone
LeadUnknown
LeadNoEstablished LeadWrongNumber
LeadNoFreePortError
LeadWrongParty
LeadNoProgress
10 Custom Formulas
This chapter defines custom formulas and explains how custom-value statistics
are calculated. Information in this chapter is divided between the following
topics:
Purpose, page 189
Evaluation, page 189
Purpose
You use custom formulas to compute user-specific quantities (usually business-
related) based on attached data communicated by TEvents.
In a custom-value statistic, the values obtained by evaluating custom formulas
on individual actions are aggregated much as action durations in time-related
values are aggregated.
Before using custom-value statistics, Genesys strongly recommends that you
read the following description of the evaluation procedure.
Evaluation
The basic custom-value functions are evaluated on the relevant key-value list
of an action. For different types of actions, the relevant key-value list is
computed differently. Therefore, make sure you thoroughly understand the
computation procedure before creating custom-value statistical types.
String values in the relevant key-value list are converted to numbers in the
ordinary way if they are in this format:
Integer: a sequence of digits possibly preceded by the symbol + or
Fixed-point decimal: an integer followed by a dot (.), possibly followed by
a sequence of digits
Floating-point decimal: an integer or fixed-point decimal followed by the
letter e or E, possibly followed by a sign, followed by one or two digits
Note: This mechanism is best suited for processing attached data if, once a
key-value pair is attached, it never gets removed.
Special Note
For group actions reflecting an origination DN, custom-formula evaluation is
identical to the evaluation of the custom formula for the corresponding
mediation DN action.
For Stat Server operating in restricted cluster mode, virtual agent group
definition is limited to the first parameter onlyby the assigned script
expressions based on agent skills.
You can simultaneously specify these types of parameters in an expression for
a single virtual group.
Note: If you remove the virtual agent group expression from the groups
Properties dialog box, the group immediately becomes a regular agent
group. Stat Server starts treating the group as a regular agent group and
takes into account all Person configuration objects associated with this
group in Configuration Manager.
Note: When you fail to define a skill level for an agent, the Skill expression
returns the Unknown value.
Switch Functions
If an agent belonging to a virtual agent group has logged in to a particular
switch, Stat Server returns a true value to clients that request the agents
LoggedIn status on that switch. Agent login to a particular queue on that switch
is unnecessary.
Syntax elements, such as quotation marks and parentheses, are vital for
criteria validity.
Stat Server first tries to validate the LoggedIn parameter against the name
of switch objects in Configuration Server. If the switch name is in the
queue@switch format (for example, A@B), Stat Server will not be able to
report logged in status for queue A on switch B under the following
conditions:
Switch object B exists in the configuration.
Switch object A@B exists in the configuration.
Queue object A exists in the configuration, and it is defined on
switch B.
To avoid this scenario, Genesys recommends that you not use the @
symbol in the name of your switches.
Note: You can define any number of logical expressions of either type as a
value for the same option, as long as these expressions are correctly
joined by logical operators & (logical AND), | (logical OR), ~ (logical
NOT), and () parentheses for changing logical operators priorities.
Examples
If the virtual agent group is meant for agents whose Spanish skill is higher than
5 and whose French skill is higher than 8, the value of the Skill option is:
Skill(Spanish)>5 & Skill(French)>8
If the group is meant for agents logged in ACD queue 5253 at the switch named
DEFINITY, the option value is:
LoggedIn(5253@DEFINITY)
If the group is meant for agents logged in at the switch named DEFINITY, the
option value is:
LoggedIn(DEFINITY)
If the group is meant for agents whose Spanish skill is higher than 5 and who
are logged in ACD queue 5253 at the switch named DEFINITY, the option value
looks like this:
Skill(Spanish)> 5 & LoggedIn(5253@DEFINITY)
Backward Compatibility
The Stat Server 7.x and 8.x releases are backward compatible with releases 6.1
and 6.5; in particular, you can achieve the same results with regard to Virtual
Agent Group functionality.
Predefined Statistical
Types
Statistical type definitions that are used by the various Genesys applications
are either created during the deployment of those applications or are internal to
the applications functionality. This chapter lists the stat types that are
available to you upon creating a new Stat Server Application object using the
Stat Server 8.1 template. It contains the following sections:
Stat Type Definitions in the Stat Server Application Template, page 199
Creating Stat Type Definitions, page 200
Using the Same Stat Type for Cluster and Regular Mode, page 203
Solution Reporting Stat Types, page 203
[NameOfCoreStatType]
Objects = One or more objects separated by commas
Category = One and only one statistical category
Subject = One and only one subject
MainMask = * and/or one or more actions separated by commas
and optionally preceded by ~ (for NOT)
RelMask = [optional, applicable if a MainMask is specified]
* and/or one or more actions separated by commas
and optionally preceded by ~ (for NOT)
MediaType = media type
UseSourceTimeStamps = yes or no
ReasonStartOverridesStatusStart = yes or no
Description = [optional] free-form text
Formula = DCID, <expression>, mandatory for
CustomValue family of statistical categories.
<business attribute name> = <business attribute value>
[NameOfJavaStatType]
Objects = One or more objects separated by commas
Category = One and only one statistical category
Subject =One and only one subject
JavaSubCategory = relative path (with respect to the value of
java-extensions-dir Stat Server configuration option) to the
.jar file of the loaded Stat Server Java Extension (SSJE) and
name of the statistical type within that Extension in the
format <relative path>:<statistical type name>.
AggregationType = [optional]
One and only one aggregation type, applicable only if a SSJE
is loaded. Currently used only by Data Sourcer clients.
MediaType = media type
Description = [optional] free-form text
Formula = <expression>, mandatory for CustomValue family statistical
categories.
<business attribute name> = <business attribute value>
For more detailed descriptions of these configuration options, see the
Statistical Type Sections on page 40.
Examples
The following examples illustrate the configuration of three sample stat type
definitions as they appear in Configuration Manager. TotalOutboundStatus
Time, shown in Figure 25, measures the total duration that agents, places, group
of agents, or groups of places are in a CallOutbound state.
Full Definition
[TotalOutboundStatusTime]
Objects = Agent,Place,GroupAgents,
GroupPlaces
Category = TotalTime
MainMask = CallOutbound
Subject = AgentStatus
Figure 25: Sample Stat Type Definition for Total Duration of Status for CallOutbound Actions
Full Definition
[Strategy_Email_ProcessingTime]
AggregationType=Total
Category=JavaCategory
JavaSubCategory=
eserviceinteractionstat.jar:
strategy-total processing time
MediaType=email
Objects=RoutingStrategy
Figure 26: Sample Stat Type Definition for the Processing Time of Interactions
Current_Login_Time ASM_Outbound
Category=CurrentContinuousTime Category=TotalNumber
Objects=Agent,Place MainMask=ASM_Outbound
MainMask=*,~LoggedOut,~NotMonitored Objects=Agent,Place
Subject=AgentStatus Subject=DNAction
You could use the same configuration for Stat Server operating in restricted
cluster mode (SSc) even though Current_Login_Time includes the Place object
in its definitionPlace objects are not supported in a clustered environment.
SSc would nonetheless return values for statistics that are requested based on
this stat type definition (given that there are agents logged in within the contact
center).
On the other hand, SSc would not return any values for requested statistics
based on the ASM_Outbound stat type definition. Its main mask is based solely on
the ASM_Outbound action, which is not supported (see page 67).
In both scenarios, Stat Server does not stop but continues processing client
requests.
Related Documentation
Resources
The following resources provide additional information that is relevant to this
software. Consult these additional resources as necessary.
Management Framework
The Framework 8.1 Deployment Guide, which will help you configure and
install other Framework components.
The Framework 8.1 Stat Server Deployment Guide, which describes how
to configure, install, start, stop, and uninstall Stat Server.
Genesys
The Genesys 8.1 Resource Capacity Planning Guide, which explains how
the Genesys model has been expanded to serve agents conducting contact
center interactions across several media types.
The Genesys 7.6 Instant Messaging Solution Guide, which describes how
to configure media channels to receive instant messages from a Session
Initiation Protocol (SIP) Server.
Genesys Administrator Help, for information about configuring Genesys
applications using Genesys Administrator.
The Reporting Technical Reference 8.0 series, which describes the stat
type definitions provided by Genesys solutions.
Genesys Technical Publications Glossary, which ships on the Genesys
Documentation Library DVD and which provides a comprehensive list of
the Genesys and computer-telephony integration (CTI) terminology and
acronyms used in this document.
Genesys Migration Guide, which ships on the Genesys Documentation
Library DVD, and which provides documented migration strategies for
Genesys product releases. Contact Genesys Customer Care for more
information.
Release Notes and Product Advisories for this product, which are available
on the Genesys Documentation website.
Information about supported hardware and third-party software is available on
the Genesys Customer Care website in the following documents:
Genesys Supported Operating Environment Reference Guide
Genesys Supported Media Interfaces Reference Manual
Consult these additional resources as necessary:
Genesys Interoperability Guide, which provides information on the
compatibility of Genesys products with various Configuration Layer
Environments; Interoperability of Reporting Templates and Solutions; and
Gplus Adapters Interoperability.
Genesys Licensing Guide, which introduces you to the concepts,
terminology, and procedures relevant to the Genesys licensing system.
For additional system-wide planning tools and information, see the
release-specific listings of System-Level Documents on the Genesys
Documentation website.
Genesys product documentation is available on the:
Genesys Customer Care website.
Genesys Documentation site.
Genesys Documentation Library DVD, which you can order by e-mail
from Genesys Order Management at [email protected].
Document Conventions
This document uses certain stylistic and typographical conventions
introduced herethat serve as shorthands for particular kinds of information.
You will need this number when you are talking with Genesys Customer Care
about this product.
Type Styles
Table 27 describes and illustrates the type conventions that are used in this
document.
Monospace All programming identifiers and GUI Select the Show variables on screen
font elements. This convention includes: check box.
(Looks like The names of directories, files, folders, In the Operand text box, enter your
teletype or configuration objects, paths, scripts, dialog formula.
typewriter boxes, options, fields, text and list boxes, Click OK to exit the Properties dialog
text) operational modes, all buttons (including
box.
radio buttons), check boxes, commands,
tabs, CTI events, and error messages. T-Server distributes the error messages in
EventError events.
The values of options.
If you select true for the
Logical arguments and command syntax.
inbound-bsns-calls option, all
Code samples. established inbound calls on a local agent
Also used for any text that users must are considered business calls.
manually enter during a configuration or Enter exit on the command line.
installation procedure, or on a command line.
Angle A placeholder for a value that the user must smcp_server -host <confighost>
brackets specify. This might be a DN or a port number
(< >) specific to your enterprise.
Note: In some cases, angle brackets are
required characters in code syntax (for
example, in XML schemas). In these cases,
italic text is used for placeholder values.
G interval types
Growing . . . . . . . . . . . . . . . . . . . 24
GetAver function . . . . . . . . . . . . . .38, 51 Selection . . . . . . . . . . . . . . . . . . 25
GetGlobalAver function . . . . . . . . . . . 52 SinceLogin . . . . . . . . . . . . . . . . . 26
GetGlobalMax function . . . . . . . . . . . . 51 Sliding . . . . . . . . . . . . . . . . . . . . 22
GetGlobalMin function . . . . . . . . . . . . 51 intervals
GetGlobalNumber function . . . . . . . . . . 51 TimeProfiles section . . . . . . . . . . . . 21
GetGlobalSum function . . . . . . . . . . . 52 invalid statistics . . . . . . . . . . . . . . . . 72
GetMax function . . . . . . . . . . . . . .38, 51 italics . . . . . . . . . . . . . . . . . . . . . 207
GetMin function . . . . . . . . . . . . . .38, 51
GetNumber function . . . . . . . . . . . .38, 51
GetString function . . . . . . . . . . . . . . 38 J
GetSum function . . . . . . . . . . . . . .38, 51
GroupAgents object type . . . . . . . . . . . 54 Java stat types . . . . . . . . . . . . . . . . . 41
GroupID . . . . . . . . . . . . . . . . . . . 54 JavaCategory . . . . . . . . . . . . . . . . . 43
GroupPlaces object type . . . . . . . . . . . 54 JavaCategory statistical category . . . . . . 170
GroupQueues object type . . . . . . . . . . 55 JavaSubCategory configuration option . . . . 43
Growing interval type. . . . . . . . . . . . . 24
K
H key-value pairs. . . . . . . . . . . . . . . . . 33
Handling action. . . . . . . . . . . . . . . . 120
HandlingInbound action . . . . .
HandlingInboundStarted action .
.
.
.
.
.
.
.
.
.
.
. 120
. 122
L
HandlingInternal action. . . . . . . . . . . . 120 LoadBalance statistical category . . . . . . 163
HandlingInternalStarted action . . . . . . . . 122 LoggedIn action . . . . . . . . . . . . . . . . 75
HandlingOutbound action . . . . . . . . . . 120 LoggedIn status . . . . . . . . . . . . . . . 130
HandlingOutboundStarted action . . . . . . 122 LoggedOut action . . . . . . . . . . . . . . . 75
HandlingStarted action . . . . . . . . . . . . 123 LoggedOut status . . . . . . . . . . . . . . 133
I M
insensitivity . . . . . . . . . . . . . . . . . . 27 masks
instantaneous actions . . . . . . . . . . . . 63 MainMask option . . . . . . . . . . . . . . 42
InteractionAccepted action . . . . . . . . . . 124 RelMask option . . . . . . . . . . . . . . . 43
InteractionConferenceJoined action . . . . . 122 MaxCustomValue statistical category . . . . 157
InteractionConferenceMade action. . . . . . 122 MaxNumber statistical category . . . . . . . 149
InteractionDelivering action . . . . . . . . . 119 MaxTime statistical category. . . . . . . . . 149
InteractionDeliveringStarted action. . . . . . 122 MediaServerID action attribute . . . . . . . 127
InteractionHandlingInbound action . . . . . . 120 Mediation DN Status Priority Table . . . . . 138
InteractionHandlingInboundStarted action . . 122 MediaType call property . . . . . . . . . . . . 32
InteractionHandlingInternal action . . . . . . 120 MediaTypeID action attribute . . . . . . . . 126
InteractionHandlingInternalStarted action . . 122 metric
InteractionHandlingOutbound action . . . . . 120 defined . . . . . . . . . . . . . . . . . . . 41
InteractionHandlingOutboundStarted action . 122 MinCustomValue statistical category . . . . 157
InteractionHandlingStarted action . . . . . . 123 MinNumber statistical category . . . . . . . 149
InteractionID action attribute . . . . . . . . . 126 MinTime statistical category . . . . . . . . . 149
InteractionPulled action . . . . . . . . . . . 123 momentary actions. . . . . . . . . . . . . . . 64
InteractionRejected action . . . . . . . 124, 125 Monitored action . . . . . . . . . . . . . 75, 106
InteractionStartedInternal action . . . . . . . 123 Monitored status . . . . . . . . . . . . . . . 130
InteractionStartedOutbound action. . . . . . 123 MonitoringInitiated action . . . . . . . . . . 123
InteractionStoppedInbound action . . . . . . 125 monospace font . . . . . . . . . . . . . . . 208
InteractionStoppedOutbound action . . . . . 125
InteractionTransferMade action . . . . . . . 124
InteractionTransferTaken action . . . . . . . 124
U
Userdata action attribute . . . . . . . . . . . 127
UserData call property . . . . . . . . . . . . 33
UserEvent action . . . . . . . . . . . . 101, 107
UseSourceTimeStamps configuration option 45
V
valid statistics . . . . . . . . . . . . . . . . 72
version numbering, document . . . . . . . . 207
vertical bar (|). . . . . . . . . . . . 36, 193, 196
ViewID action attribute . . . . . . . . . . . . 128
Virtual Agent Group . . . . . . . . . . . . . 193
W
WaitForNextCall action . . . . . . . . . . . . 76
WaitForNextCall status . . . . . . . . . . . . 133
wildcard character (*)
in filters . . . . . . . . . . . . . . . . . . . 37
Workbin object type . . . . . . . . . . . . . 55
WorkbinAgentID action attribute . . . . . . . 128