85fr Dep Statserver
85fr Dep Statserver
Stat Server
Deployment 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.
About Genesys
Genesys is the world's leading provider of customer service and contact center software - with 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 today's 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 service - and extending customer service across the enterprise to optimize processes and the
performance of customer-facing employees. Go to www.genesys.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.genesys.com
4                                                                                                       Framework 8.5
Table of Contents
Manually Purging Data from the Stat Server Database .................. 129
6                                                                                                            Framework 8.5
                      Preface
                      Welcome to the Framework 8.5 Stat Server Deployment Guide. This document
                      introduces you to the configuration, installation, and start procedures that are
                      relevant to Stat Server. This guide is valid only for the 8.5.x releases of
                      Stat Server.
                      Note: For releases of this document that have been created for other releases
                               of this product, please visit the Genesys Documentation website, or
                               request the Documentation Library DVD, which you can order by
                               e-mail from Genesys Order Management at orderman@genesys.com.
Intended Audience
                      This guide, primarily intended for network, IT, and contact center administra-
                      tors, assumes that you have a basic understanding of:
                      •   Computer-telephony integration (CTI) concepts, processes, terminology,
                          and applications.
8                                                                         Framework 8.5
    Chapter
SOLUTIONS
Services Layer
Media Layer
Management Layer
Configuration Layer
FRAMEWORK
10                                                                                      Framework 8.5
Chapter 1: Overview of Stat Server                                                         Stat Server Overview
12                                    Framework 8.5
    Chapter
Configuration
                      You can configure a Stat Server 8.5 Application object manually within
                      Genesys Administrator/GAX. Refer to the Genesys Administrator/Genesys
                      Administrator Extension Help file for more information. You use the Stat
                      Server application template to accomplish this. This template is located in the
                      templates directory of the Real-Time Metrics Engine CD and is named
                      Stat_Server_850.apd. You should import this file into your configuration
                      environment before configuring Stat Server application.
14                                                                                           Framework 8.5
Chapter 2: Configuring a Stat Server Application         Configuring Secure Connections in an HA Environment
                          •   If a particular Stat Server node must connect to both the Interaction Proxy
                              and T-Controller interfaces of SIP Server, then leave the Connection
                              Protocol field blank. With Interaction Proxy and T-Controller listening
                              ports properly provisioned within the SIP Server application, Stat Server
                              will retrieve that information and open connections to both Interaction
                              Proxy and T-Controller ports.
                          •   If a particular Stat Server node must connect to the Interaction Proxy
                              interface only of SIP Server, configure the connection by selecting IPport
                              in the Port ID field and by typing IProxy in the Connection Protocol field.
                          •   If a particular Stat Server node must connect to the T-Controller interface
                              only of SIP Server, configure the connection by selecting TCport in the
                              Port ID field and by typing TController in the Connection Protocol field.
                          backup application does not have to be listed among Stat Server connections in
                          order for these attempts to take place. In this scenario, however, Stat Server
                          uses the connection parameters that are specified within the properties of the
                          primary application to connect to the backup application. This propagation of
                          parameters to the backup application is the default behavior.
                          But, what if you want Stat Server to use instead those parameters that are
                          specified within the application properties of the backup application—a
                          different CSPD, for instance? When both TLS and HA are enabled and you
                          require individual security settings for each connection, you must add the
                          backup application explicitly to Stat Server’s connections list in order for Stat
                          Server to read its properties.
                          This configuration will cause Stat Server to generate the error ; however,
                          selecting Yes to continue the assignment will yield the desired effect without
                          Stat Server inadvertently launching the backup server when it is not needed.
                          To set client-side ports for each connection, refer to the “Client-Side Port
                          Definition” chapter of the Genesys Security Deployment Guide and to all of the
                          chapters within the “Communications Integrity–Transport Layer Security” part
                          of this document for further information.
16                                                                                        Framework 8.5
    Chapter
 Configuration Server           Rate of Configuration Server events per second calculated for the last
 events                         checkpoint interval. (The default checkpoint interval is internally set at 30
                                seconds.)
                                Rate of Configuration Server events per second calculated for the entire
                                time since startup
                                Maximum rate of Configuration Server events per second calculated for the
                                checkpoint interval
 Configuration Server           Number of delayed Configuration Server events during the last checkpoint
 delayed events                 interval
 T-Server events                Rate of T-Server events per second calculated for the last checkpoint
                                interval
                                Rate of T-Server events per second calculated for the entire time since
                                startup
                                Maximum rate of T-Server events per second calculated for the checkpoint
                                interval
18                                                                                          Framework 8.5
Chapter 3: The HTTP Interface                                                    Internal Performance Counters
T-Server delayed events Number of delayed T-Server events during the last checkpoint interval
 Requests from Stat Server      Rate of events per second calculated for the last checkpoint interval
 clients                        Rate of events per second calculated for the entire time since startup
                                Maximum rate of events per second calculated for the checkpoint interval
 Events sent to Stat Server     Rate of events per second calculated for the last checkpoint interval
 clients                        Rate of events per second calculated for the entire time since startup
                                Maximum rate of events per second calculated for the checkpoint interval
 Subscriber notifications       Number of subscriber notifications during the latest checkpoint interval
 from shared memory
                        You can also get response within an html browser by issuing the following
                        string in the URL:
                        http://<StatServer HTTP listener host name>:<listener port>/genesys/
                        statserver/<path to specific resource>
20                                        Framework 8.5
    Chapter
                          Each Stat Server instance within the cluster might connect to:
                          •   The T-Controller interface of one or more SIP Server instances within a
                              SIP Cluster and/or
                          •   One or more Interaction Proxy interfaces of one or more SIP Server
                              instances within a SIP Cluster
                          However, in order to monitor the entire SIP cluster, a Stat Server solution must
                          connect to:
                          •   All T-Controller interfaces of the SIP cluster—you can configure all such
                              connections within as few as one Stat Server instance—and
                          •   Every Interaction Proxy interface—using as many Stat Server instances
                              that are required to handle call volume.
                          Figure 2 on page 25 illustrates one possible Stat Server solution configuration.
                          Any statistic for any object could be requested from any of the Stat Server
                          instances within the cluster; therefore, each Stat Server instance shares a
                          connection to all other Stat Server instances to proxy statistical requests and
                          events between a particular aggregation instance and client.
                          You configure each Stat Server instance as an Application object of Stat
                          Server type following the instructions and precautions described in Chapter 2,
                          “Configuring a Stat Server Application,” beginning on page 13.
                          Upon startup, each Stat Server instance retrieves the name of its solution from
                          the value specified with the -cluster command-line parameter (described on
                          page 26). Using this information, each Stat Server instance then reads the
                          configuration specified within the Stat Server Solution object, and establishes
                          connections with all other Stat Server instances configured within the solution.
22                                                                                         Framework 8.5
Chapter 4: Configuring a Stat Server Cluster Solution                             Creating a Stat Server Solution
 General                 • In the Name field, type a unique name for your Stat Server solution.
                         • In the Assigned to Tenant field, choose the one tenant that the Stat Server
                           solution should monitor. The tenant selection of each Stat Server instance must
                           match this value. This field does not appear in single-tenant environments.
                         • In the Solution Type field, select Multimedia. Once the solution is saved, you
                           cannot change this value.
                         • In the Solution Control Server field, select the appropriate server.
                         • In the Version field, select the version.
                             This field becomes uneditable once the solution is saved.
 Component               Add all of the application types that the solution will house, and adjust the startup
 Definitions             priority of each as needed.
 Components              Add all Stat Server instances that will service the solution. Each instance
                         represents a node within the cluster. Refer to “Configuring the Components of a
                         Stat Server Solution” on page 24 for more information.
                         Note: Stat Server is supported on both 32- and 64-bit platforms. Stat Server
                         operating in cluster mode, however, is supported on 64-bit platforms only. Starting
                         a Stat Server cluster requires that all component nodes invoke one or more Stat
                         Server executables from the same Stat Server memory model.
 Options                 Specify the appropriate stat-type sections, options, and values to define the
                         statistics that are common to all Stat Server nodes. Refer to the Framework
                         Stat Server User’s Guide for a description of configuration options that pertain to
                         statistics.
 Security                This tab appears after you save, close, and reopen the solution’s properties. It is
                         not used for Stat Server solutions.
24                                                                                           Framework 8.5
Chapter 4: Configuring a Stat Server Cluster Solution             Configuring Options for a Stat Server Solution
Mandatory Options
                          You must configure the host option within the [cluster] section of a
                          Stat Server solution in order to start the solution.
cluster Section
                          A Stat Server solution must contain the [cluster] section in order provide
                          reporting for a SIP cluster. Table 3 describes this section’s options
Option Description
 host                          Specifies the host name for the Stat Server solution. Stat Server uses this
                               value as an integrity check only for Stat Server instances upon their start-up.
                               If the host name of a Stat Server instance does not match that specified
                               within this section, that Stat Server instance will not start.
                               Specifying a value for this option is mandatory.
                               Default Value: Not applicable
                               Valid Values: host name
                               Changes Take Effect: When Stat Server is restarted
 reset-delay                   Specifies the delay, in seconds, during which time Stat Server tries to
                               synchronize data for a given interval from all nodes of the Stat Server cluster.
                               This delay is applicable to reset-based statistics. The busier your network,
                               the higher the value you should set for this option.
                               Default Value: 2
                               Valid Values: 1–30
                               Changes Take Effect: When Stat Server is restarted
26                                                                                           Framework 8.5
Chapter 4: Configuring a Stat Server Cluster Solution               Configuring Options for a Stat Server Solution
Option Description
                          You define statistical parameter sections on the Options tab of the Stat Server
                          solution in the same manner that you define these sections on the Options tab
                          of a Stat Server application. Refer to the Stat Server User’s Guide for this
                          information.
28                                                                                            Framework 8.5
    Chapter
     5                Fine-Tuning the
                      Configuration of a
                      Stat Server Application
                      This chapter describes the options that you can use on the Options tab to
                      configure a Stat Server application. Refer to Chapter 6, “Other Factors
                      Affecting Stat Server,” beginning on page 65, for descriptions of options in
                      other Genesys applications that affect Stat Server behavior and Chapter 7,
                      “Common Log Options,” beginning on page 71, for descriptions of log
                      configuration options that are common to most Genesys server applications.
                      Finally, to learn about the options that you can use to configure statistics for
                      your Stat Server application, refer to the “Statistics Configuration Options”
                      chapter in the Framework 8.5 Stat Server User’s Guide.
                      The information in this chapter is divided among the following topics:
                      
                         Mandatory Options, page 29
                        statserver Section, page 30
                      
                         Java Sections, page 56
                        db-direct-connection Section, page 63
                      All of these options are defined on the Options tab of the Stat Server
                      Application object.
                      Note: The configuration options that relate to Stat Server logging are
                               described separately in Chapter 7.
Mandatory Options
                      You are not required to configure any options to start a Stat Server application.
statserver Section
                          You must name this section statserver. Table 4 lists some options available
                          for configuring Stat Server Application objects. Use the options listed in
                          Table 5 on page 49 to configure a Stat Server application to write data to a
                          database. Use the options listed in Table 9 on page 63 to configure a direct
                          connection to a database. And use the options listed in Tables 7 and 8,
                          beginning on page 56, to enable Java functionality. You are directed to read
                          your operating-system and/or Java Runtime Environment (JRE) vendor
                          documentation to learn of any peculiarities regarding JVM installation or the
                          setup of JRE. Table 6 lists the valid time-format codes you can use with the
                          time-format configuration option (which is described in Table 4).
                          The notation in the upper right hand corner of each description in the tables
                          indicates additional information:
                          •   C, indicates that the option applies to Stat Server operation in cluster
                              mode.
                          •   R, indicates that the option applies to Stat Server operation in regular
                              mode.
                          The absence of the C or R notation denotes the converse; namely, the option
                          does not apply to Stat Server operation in cluster mode or regular mode,
                          respectively. Note that nonapplicability does not stop Stat Server from reading
                          the option, if it has been configured. Nonapplicable under these circumstances
                          means that either Stat Server behavior cannot be altered by setting the option
                          or that Stat Server will ignore the option and its value. Note also that if you
                          specify an unsupported option in configuration, Stat Server will log the
                          outcome and continue operating as if the option were never specified.
                          For those configuration options that indicate valid values of true and false,
                          any of the following additional values are also valid:
                          • t and f            • 1 and 0
                          •   yes and no          •    on and off
                          •   y and n
                          These alternates might not be indicated within Tables 4–7. Also, the default
                          values listed in the tables refer to those in the Stat Server application template ,
                          which is provided on the Real-Time Metrics Engine CD or that are inherent to
                          Stat Server (if the options are not listed in the template). Lastly, where the
                          name of a configuration option changed between releases, Stat Server
                          continues to support the former name.
30                                                                                          Framework 8.5
Chapter 5: Fine-Tuning the Configuration of a Stat Server Application                           statserver Section
           Option                                                  Description
                                                                                                              C,R
 accept-clients-in-backup-
                               Specifies whether Stat Server accepts client connections when operating in
 mode
                               backup mode.
                               With this option set to yes, Stat Server notifies the clients about its
                               redundancy mode after a client’s registration and after a change in mode.
                               Moreover, when its redundancy mode is changed to backup, Stat Server does
                               not close the communication port and accepts clients’ connections and
                               requests.
                               Default Value: no
                               Valid Values: yes, no
                               Changes Take Effect: When Stat Server is restarted
                                                                                                                  R
 allow-asm-outbound-on-
                               Controls whether Stat Server is allowed to generate ASM_Engaged and
 established
                               ASM_Outbound actions upon EventEstablished. For all other cases, the option
                               control is not applicable. When this option is set to true, Stat Server will try
                               to recognize interaction-flow scenarios where the GSW_RECORD_HANDLE key is
                               present in the UserData of EventEstablished TEvent and the ANI or OtherDN
                               attribute points to a DN of type Call Processing Port.
                               If these conditions are met, Stat Server starts these actions as follows:
                               • Stat Server starts and ends the ASM_Engaged actions instantaneously.
                               • Stat Server starts the ASM_Outbound action.
                               Default Value: true
                               Valid Values: true, false
                               Change Take Effect: When Stat Server is restarted.
                                                                                                                  R
 allow-vq-orig-dns-from-
                               Specifies whether Stat Server will generate retrospective actions, reflecting
 environment
                               regular DNs, to virtual queue objects that belong to the Environment tenant.
                               If this option is set to yes and the Environment tenant is listed among those
                               assigned to Stat Server (in a multi-tenant environment), Stat Server will
                               generate such actions when these virtual queues are also assigned as
                               origination DNs to GroupAgents and GroupPlaces objects belonging to a
                               particular tenant (that is, to a tenant that is not the Environment tenant) as a
                               result of call activity on that tenant.
                               For this functionality to work properly, you must also set the vq-treat-
                               unknown-third-party-dn-as-agent-dn option to true and the vq-ignore-
                               third-party-dn option to false.
Option Description
32                                                                                          Framework 8.5
Chapter 5: Fine-Tuning the Configuration of a Stat Server Application                         statserver Section
           Option                                                  Description
                                                                                                            C,R
 capacity-treat-acw-as-
                               Determines whether Stat Server treats ACW activity as interactions while the
 interaction
                               associated DN is in after-call work (ACW) status. The routability of
                               additional, simultaneous interactions to a device is dependent on the number
                               of interactions that currently are occurring at that device. Setting this option
                               to yes instructs Stat Server to treat any ACW activity as an interaction for the
                               purpose of determining capacity—synonymous to any other type of voice
                               interaction, such as handling customer-initiated (inbound) calls, internal calls
                               among agents, and so forth. For the purpose of reporting current activity, this
                               treatment does not increment the count of CurrentNumber or TotalNumber
                               statistics.
                               The presence of ACW on a device also affects the routability of interactions
                               of other media types, as defined in the capacity model for your environment.
                               For information about defining capacity rules, refer to the Genesys Resource
                               Capacity Planning Guide.
                               If this option is set to no, Stat Server does not consider ACW-related
                               activities that occur at a device in its calculation of the current_number
                               component of the capacity vector. In fact, Stat Server may allow additional,
                               simultaneous interactions to be routed to that device per the capacity rules
                               defined in your environment.
                               Default Value: no
                               Valid Value: yes, no
                               Changes Take Effect: When Stat Server is restarted
                                                                                                             R
 check-stuck-calls
                               When you set the value of this option to yes, Stat Server checks DNs of the
                               Extension, ACD Position, VTO (IVR), ACD Queue, Service Number, and
                               Routing Point types for calls with no activity during the last 10 minutes.
                               When detecting such calls, Stat Server queries T-Server on the current DN
                               status. If T-Server indicates that the call has been cleared from the DN in
                               question, Stat Server deletes the call from memory. The checkup interval is
                               600 seconds (10 minutes). Stat Server does not check Internet DNs or DNs of
                               Virtual Routing Point type.
                               This option was previously named CheckStuckCalls.
                               Note: Calls can be stuck in T-Server and/or Stat Server. The check-stuck-
                               calls configuration option enables Stat Server to clear calls that it
                               determines to be stuck in Stat Server.
                               Default Value: no
                               Valid Values: yes, no
                               Changes Take Effect: Immediately upon notification
           Option                                                  Description
                                                                                                               R
 check-vq-stuck-calls-
                               Works in conjunction with the frequency of EventReserved_2 heartbeats that
 frequency
                               accompany live calls from URS, specifying the frequency, in seconds, with
                               which Stat Server checks virtual queues for stuck calls. Stat Server suspends
                               checks for stuck calls if no calls are queued at any virtual queue that Stat
                               Server monitors. Stuck calls result if a URS connection breaks when a live
                               calls is completed. In this situation, Stat Server does not receive the
                               EventReleased TEvent to indicate the end of the call, and Stat Server views
                               the interaction as continuing.
                               Setting this option to a high value for large environments alleviates CPU load
                               and helps to avoid situations where Stat Server inadvertently clears live calls
                               due to network latency. In such situations, you should also consider resetting
                               the call_kpl_time URS option, which measures the frequency of
                               EventReserved_2 heartbeats, to a higher value. Small environments can set
                               both options to relatively lower values. Also, you should be aware that
                               setting call_kpl_time to 0 (zero) means that Stat Server will receive no
                               EventReserved_2 events from URS. In this case, Stat Server considers all
                               calls currently residing at the virtual queue as stuck and eliminates them from
                               processing following the period of time specified by the check-vq-stuck-
                               calls-frequency option. Refer to the Universal Routing Reference Manual
                               for additional information about the call_kpl_time configuration option.
                               Prior to release 8.0, this functionality was not configurable. Stat Server’s
                               checks for stuck calls was internally hard-coded at 60 seconds. Beginning
                               with the 8.0 release, the default for this option, whether explicitly set or not,
                               is 600 seconds.
                               Default Value: 600
                               Valid Values: 30 to 2147483 (just over 24 days; 2147483=231/1,000)
                               Changes Take Effect: When Stat Server is restarted
                                                                                                              C,R
 debug-level
                               A comma-separated list of debug categories that are visible in the Stat Server
                               log. This option is enabled only if you have set the verbose common log
                               option to all.
                               In graphical environments, log output often takes more than half of a server’s
                               execution time. To maintain performance, use only the debug levels that you
                               need and run Stat Server in the background. Also, minimize the Stat Server
                               window or redirect log output to a different device, such as a file. Be very
                               careful, however, when directing log output to a file and consider the
                               available free disk space, directory and file permissions, and possible
                               conflicts with different software trying to use the log file at the same time.
34                                                                                            Framework 8.5
Chapter 5: Fine-Tuning the Configuration of a Stat Server Application                            statserver Section
Option Description
 debug-level                   For each debug category, you can also set the level of debug logging by
 (continued)                   specifying a numerical value from [0–9] (with 9 being the most verbose) and
                               appending the number to each category. For example:
                                   Init, Status:6, Cluster:8
                               Debug level 0 is synonymous to no logging at all for the specified debug
                               category.
                               Debug levels 1–4 provide less logging information than was provided in prior
                               releases but more than debug level 0.
                               Debug level 5 provides exactly the same logging information that was
                               provided in prior releases. This level is the default level if none is otherwise
                               specified.
                               Debug levels 6–7 provide more detailed output than level 5.
                               Debug levels 8–9 provide the most extensive log output requiring further
                               internal processing which, in turn, further degrades Stat Server performance.
                               Action         Logs changes to the internal Stat Server object model and
                                              provides a significant source of troubleshooting data, which
                                              includes entries following every TEvent.
                               Client         Logs all Stat Server communication with its clients, such as the
                                              opening of statistics and all statistical values sent to the client.
                                              This value generates a large amount of data, and should be
                                              sparingly used for troubleshooting reproducible problems with
                                              statistics.
Option Description
 debug-level                   Init           Used for capturing data related to Configuration Server that
 (continued)                                  affects Stat Server, including dynamic Configuration Server
                                              changes made as Stat Server starts—such as the addition,
                                              deletion, and/or change of objects or their properties having an
                                              affect on Stat Server. This value is useful for tracking initial
                                              configuration and dynamic changes and is much more compact
                                              than the information provided in the Configuration Server log.
                                              Genesys recommends that you always include this value in this
                                              option.
                               Reset          Enables the log messages Stat Server sends to clients while
                                              sending statistics requested with a reset-based notification
                                              mode.
                               SPT            Logs events related to Stat Server startup. This value is provided
                                              to maintain backward compatibility and may be eliminated in
                                              future releases.
                               Status         Logs events related to the current state of objects and is useful
                                              for troubleshooting Stat Server–Router problems.
36                                                                                            Framework 8.5
Chapter 5: Fine-Tuning the Configuration of a Stat Server Application                            statserver Section
Option Description
           Option                                                  Description
                                                                                                             C,R
 filters-allow-wildcards-in-
                             Specifies whether Stat Server accepts the wild-card characters * and ? in the
 values
                             <value> argument of PairExist functions in filters. If this option is set to
                             yes, Stat Server interprets these characters as wildcards. If i is set to no, Stat
                             Server interprets these as literal characters. Prior to release 7.5, Stat Server
                             interpreted a <value> argument of “*” as any string and “*”, embedded
                             within a string, as a literal character.
38                                                                                          Framework 8.5
Chapter 5: Fine-Tuning the Configuration of a Stat Server Application                          statserver Section
Option Description
                               If this option is set to no, Stat Server does not generate the CallTransfer
                               Taken action while the transferred call is ringing. Instead, Stat Server
                               generates this action after the transferred call has been answered (that is,
                               upon receipt of EventEstablished).
                               Note: Stat Server does not generate the CallTransferTaken action for direct
                               single-step transfers made to agents or routing points that are located at
                               different sites whether or not Stat Server monitors such agents.
                                                                                                              C,R
 ignore-disabled-objects-
                               Specifies whether Stat Server takes into account the Person and Place
 in-group-statistics
                               objects that are disabled in the Configuration Layer when calculating
                               statistics for corresponding groups of objects.
                               Setting this option to yes excludes agents and places in the calculation of
                               group status for CurrentState statistics as long as the relevant Person and
                               Place configuration objects are disabled in the Configuration Layer. This
                               option also affects any number-related group statistics in the same manner.
                               Genesys recommends setting this option to yes for a Stat Server application
                               serving Universal Routing Server, and no (the default) for a Stat Server
                               application serving CCPulse+ and/or CC Analyzer.
                               Default Value: no
                               Valid Values: yes, no
                               Changes Take Effect: When Stat Server is restarted
                                                                                                              C,R
 ignore-disabled-objects-
                               In the 8.1.0- releases, this option specifies whether Stat Server takes into
 in-queue-statistics
                               account disabled Person and Place objects when calculating certain queue
                               statistics. When this option is set to yes, Stat Server abstains from updating
                               queue statistics having any of the ActionLogin, AgentReady, and
                               AgentActive actions in the main mask while Person and Place objects
                               continue to be disabled. When set to no, Stat Server considers all Person and
                               Place objects—disabled or enabled—and all masks in computations of queue
                               statistics.
Option Description
40                                                                                           Framework 8.5
Chapter 5: Fine-Tuning the Configuration of a Stat Server Application                         statserver Section
           Option                                                  Description
                                                                                                              C,R
 management-port
                               Specifies the TCP/IP port that Stat Server reserves for connections that its
                               SNMP Option Management Client establishes.
                               Note: For Stat Server operating in cluster mode, specify a different
                               management port for each node in the cluster.
                               Warning! You must specify a value for this option if you are using an
                               SNMP connection. Do not change the value for this option while Stat Server
                               is running.
                               Default Value: 3031
                               Valid Values: Any available TCP port (Integers 1 through 65535)
                               Changes Take Effect: When Stat Server is restarted
                                                                                                              C,R
 max-client-connections
                               Specifies the maximum number of clients that can be connected to
                               Stat Server at any given time. The default value, -1, or 0 (zero) indicates that
                               an unlimited number of clients can be connected to Stat Server.
                               Default Value: -1
                               Valid Values: -1, 0, or any positive integer less than 2147483648 (231)
                               Changes Take Effect: When Stat Server is restarted
                                                                                                              R
 nec-position-extension-
                               Specifies whether Stat Server applies a special model when processing after-
 linked
                               call work (ACW) notifications from NEC T-Server. This model, normally
                               used with Meridian T-Server, consists of Position and Extension DNs linked
                               together in Stat Server logic when they belong to the same phone. Refer to
                               the Framework 8.5 Stat Server User’s Guide for a description of the
                               AfterCallWork action and models for its generation.
                               Note: For switch types, such as the Nortel Meridian, in which a place is
                               configured with both Position and Extension DNs and in which an agent is
                               required to log in to the Position DN, this option must be set to yes in order
                               for EstimWaitTime and LoadBalance statistics to return expected values.
                               The option name is case-insensitive.
                               Default Value: no
                               Valid Values: yes, no
                               Changes Take Effect: When Stat Server is restarted
           Option                                                  Description
                                                                                                             C,R
 old-stats-remove-interval
                               Sets the amount of time, in minutes, that unused statistics should continue to
                               calculate on Stat Server. A value of 0 causes Stat Server to close a statistic as
                               soon as the application requesting it closes its request or disconnects.
                               This option was previously named OldStatsRemoveInterval.The default
                               template does not include this option. The internal, hard-coded default value
                               is 4320 (three days).
                               Default Value: 4320
                               Valid Values: Integers 0 through 2147483647 (231-1)
                               Changes Take Effect: When Stat Server is restarted
                                                                                                              R
 position-extension-linked
                               Specifies how Stat Server interprets the status of a place and an agent when
                               the place contains a position and an extension that belong to the same switch.
                               Default Value: yes
                               Valid Values: yes, no
                               Changes Take Effect: When Stat Server is restarted
                               By default (yes), the status of a DN of the Extension type affects the place
                               status under these conditions:
                               • An agent is logged in at the DN of the Position type that belongs to the
                                 same place.
                               • An agent may or might not be logged in at the DN of the Extension type.
                               With the option set to no, the status of the DN of the Extension type affects
                               the place status under these conditions:
                               • An agent might or might not be logged in at the DN of the Position type
                                 that belongs to the place.
                               • An agent must be logged in at the DN of the Extension type.
                                                                                                              R
 queue-disable-dcid-for-
                               Controls whether Stat Server ignores the CONNID attribute of the ACWMissed
 missed-calls
                               and CallMissed actions on mediation DNs:
                               Default Value: no
                               Valid Values: yes, no
                               Changes Take Effect: When Stat Server is restarted.
                               In environments that contain a large number of origination DNs, setting this
                               option to yes has the beneficial side effect of improving Stat Server
                               performance as well as the unfortunate effect of Stat Server no longer being
                               able to distinguish interactions by connection ID when Formula is set to DCID
                               for statistics that have the ACWMissed and/or CallMissed actions specified in
                               the main mask.
42                                                                                           Framework 8.5
Chapter 5: Fine-Tuning the Configuration of a Stat Server Application                              statserver Section
           Option                                                  Description
                                                                                                                   R
 queue-use-pseudo-actions
                               Restricts Stat Server’s use of the following mediation DN actions to
                               unfiltered statistics defined using only the CurrentNumber or
                               CurrentRelativeNumberPercentage statistical categories:
                               • DNLogin
                               • DNActive
                               • DNReady
                               • AgentLogin
                               • AgentActive
                               • AgentReady
                               If this option is set to true, Stat Server enables this restriction and minimizes
                               the possible overhead that could results in environments that contain a large
                               number of origination DNs assigned to GroupPlaces or GroupAgents objects.
                               If it is set to false, all statistical categories (but not filters) will be applicable
                               to the listed actions.
                               Default Value: true
                               Valid Values: true, false
                               Changes take effect: When Stat Server is restarted
                                                                                                                   R
 reconnect-timeout
                               Indicates the time interval, in seconds, between Stat Server attempts to
                               reconnect to a T-Server or the database (DB Server if [db-direct-
                               connection]/enable is set to no) if either is disconnected or not running.
                               This option was previously named reconnect_timeout (spelled with an
                               underscore).
                               Default Value: 10
                               Valid Values: Positive integers less than 4294967296 (232); Stat Server sets
                               any negative or 0 values that you might configure to 10.
                               Changes Take Effect: When Stat Server is restarted
                                                                                                                   R
 reg-delay
                               Causes Stat Server to wait the specified number of seconds before registering
                               DNs that have been added to Configuration Server.
                               This option was previously named reg_delay (spelled with an underscore).
                               Default Value: 3
                               Valid Value: 0 (zero) or positive integers less than 4294967296 (232)
                               Changes Take Effect: When Stat Server is restarted
           Option                                                  Description
                                                                                                              R
 reg-dns-chunk-delay
                               Specifies the interval, in seconds, between two subsequent DN registration
                               requests. Stat Server waits for the specified interval before sending a request
                               to T-Server to register a subsequent set of DNs, thus allowing T-Server to
                               process the previous request.
                               In a large configuration environment, use this option in conjunction with
                               reg-dns-chunk-volume to optimize DN registration at Stat Server startup.
                               Default Value: 10
                               Valid Values: Positive integers less than 4294967296 (232)
                               Changes Take Effect: When Stat Server is restarted
                                                                                                              R
 reg-dns-chunk-volume
                               Specifies the number of DNs that Stat Server submits in a single registration
                               request to T-Server. Instead of trying to register for all configured DNs at
                               once, Stat Server divides the DN registration among several requests, each
                               for the specified number of DNs.
                               In a large configuration environment, use this option in conjunction with
                               reg-dns-chunk-delay to optimize DN registration at Stat Server startup.
                               Default Value: 1000
                               Valid Values: Any positive integer less than 2147483648 (231)
                               Changes Take Effect: When Stat Server is restarted
                                                                                                             C,R
 rp-handle-queueing-
                               Controls Stat Server’s recognition of the CallState attribute of EventQueued
 events
                               and EventRouteRequest TEvents that occur at routing points.
                               Default Value: no
                               Valid Values: yes, no
                               Changes Take Effect: When Stat Server is restarted.
                               If this option is set to yes, Stat Server analyzes the CallState attribute value
                               on EventQueued and EventRouteRequest TEvents that might occur at routing
                               points. If it is set to no, Stat Server ignores EventQueued TEvents that occur
                               at routing points and considers only EventRouteRequest TEvents when it
                               analyzes the CallState attribute.
                               Setting this option to yes enables Stat Server to count the correct number of
                               transfers that are taken for single-step transferred calls that pass through
                               routing points in a single-site environment, such as SIP Server.
44                                                                                          Framework 8.5
Chapter 5: Fine-Tuning the Configuration of a Stat Server Application                           statserver Section
           Option                                                  Description
                                                                                                              C,R
 send-timeout
                               Specifies the interval, in seconds, that Stat Server keeps client requests in the
                               output queue. When this timeout expires for a given client request,
                               Stat Server disconnects this client as being “too slow.” Consider increasing
                               this option’s value in an environment with a slow network or where client
                               disconnects are frequent.
                               Default Value: 300
                               Valid Values: 60-3600 (1 hour)
                               Changes Take Effect: When Stat Server is restarted
                                                                                                               R
 show-attached-data
                               Beginning with release 8.1.1, this option is obsolete. Refer instead to the
                               description of the default-filter-type log option on page 90.
                               For Stat Server 8.1.0 and prior releases, if this option is set to yes, Stat
                               Server outputs call-extracted UserData to the Stat Server log. If it is set to no,
                               Stat Server stops outputting attached data to its log—regardless of the log-
                               level setting (trace, debug, and so forth). T-Server propagates attached data
                               (UserData) by way of TEvents; this data is used for internal computations.
                               To output UserData to the log, in the Filters section of the Stat Server
                               application object, add a PairExist(“key”,”value”) filter where key is the
                               name of the UserData key; value may denote a specific value or “*”.
                               Setting this option does not affect Stat Server’s processing of UserData. For
                               memory, performance, and security reasons, however, Stat Server strips away
                               any attached data that is not directly used for internal computations. Refer to
                               the UserData property in the “Call Properties” table of the Stat Server User’s
                               Guide for more information.
                               Default Value: no
                               Valid Values: yes, no
                               Changes Take Effect: Immediately upon notification
                                                                                                              C,R
 show-queued-interactions
                               Controls the appearance of the list of queued interactions for mediation DNs
                               in the Stat Server log.
                               Default Value: yes
                               Valid Values: yes, no
                               Changes Take Effect: Immediately upon notification
                               When this option is set to yes, the Stat Server log will contain log entries for
                               every interaction within each mediation DN. When it is set to no, Stat Server
                               displays only the number of interactions in the mediation DN.
                               Note: This option does not pertain to interaction queues that are controlled
                               by Interaction Server.
           Option                                                  Description
                                                                                                               R
 subscribe-for-all-ixn-
                               Limits the types of events that Stat Server receives from Interaction Server
 server-events
                               and, as a result, improves performance for environments that regularly
                               handle a high volume of interactions.
                               Default Value: no
                               Valid Values: no, yes
                               Changes Take Effect: When Stat Server is restarted
                               If this option is set to no, Stat Server subscribes from Interaction Server for
                               place-related events only. Note that because Stat Server will not receive other
                               types of events, this setting might cause Stat Server to miscalculate other than
                               place-related statistics. A change in userdata that is detected by Interaction
                               Server, for instance, will not be known to Stat Server because Interaction
                               Server will not transmit event_properties_changed events when this option
                               is set to no.
                               In order to receive all Reporting protocol events, this option must be set to
                               yes at all times.
                                                                                                               R
 suppress-agent-status-
                               Enables suppression of EventCurrentAgentStatus notifications by Stat
 updates-for-ixn-server
                               Server in environments that deploy multiple Stat Server applications.
                               Disabling this statistic request from select clients avoids situations in which
                               Stat Server clients receive multiple and identical notifications about current
                               status for the same agent.
                               Default Value: no
                               Valid Values: no, yes
                               Changes Take Effect: Immediately upon notification
                                                                                                               R
 suppress-user-data
                               You configure this option in the [statserver] section on Options tab of
                               switch and/or DN objects. Refer to “To Suppress the Transmission of
                               Attached Data” on page 66 for the description and permissible values of this
                               option.
                                                                                                               C,R
 vag-statistics-active-
                               Limits the membership of virtual agent groups to only those active agents
 agents-only
                               satisfying a particular script condition. (An active agent is Person object that
                               has been enabled in Configuration Server.)
                               Default Value: no
                               Valid Values: yes, no
                               Changes Take Effect: When Stat Server is restarted
46                                                                                           Framework 8.5
Chapter 5: Fine-Tuning the Configuration of a Stat Server Application                        statserver Section
           Option                                                  Description
                                                                                                             R
 vq-ignore-third-party-dn
                               Controls whether Stat Server relies on the ThirdPartyDN attribute of
                               EventDiverted TEvents to determine the DN to which a call was diverted
                               from a given virtual queue.
                               Default Value: true
                               Valid Values: true, false
                               Changes Take Effect: Upon DN re-registration
                               Note: Stat Server operating in cluster mode behaves as if this option were
                               forever set to true. No value for this option—whether specified or not—can
                               change this inherent behavior.
                                                                                                           C,R
 vq-treat-unknown-third-
                               Indicates whether Stat Server generates the CallAnswered action for virtual
 party-dn-as-agent-dn
                               queue objects in the following scenario:
                               1. Stat Server receives an EventDiverted TEvent for the virtual queue.
                               2. The ThirdPartyDN attribute value of this TEvent contains the ID of an
                                  unknown DN—one that is monitored by a switch other than that to which
                                  the virtual queue belongs.
                               3. The call is subsequently routed to an agent.
                               If this option is set to true, Stat Server generates the CallAnswered action
                               under the preceding circumstances. If it is set to false, Stat Server does not
                               generate this action under the same circumstances.
                               If the ThirdPartyDN attribute value is null or contains an ID that coincides
                               with that of the answering DN, Stat Server generates the CallAnswered action
                               on virtual queue objects, regardless of this option’s setting.
                               Note: The vq-ignore-third-party-dn option must be set to false in order
                               for Stat Server to consider the value of this option.
                               Default Value: yes
                               Valid Values: yes, no
                               Changes Take Effect: When Stat Server is restarted
                                                                                                           C,R
 vq-use-alt-enter-time
                               Controls whether Stat Server uses an alternative enter time when it calculates
                               the durations of some actions in some scenarios that involve virtual queues.
Option Description
                               • CallAnswered                           • CallRingingPartyChanged
                               • CallDistributed                        • CallForwarded
                               • CallAbandoned                          • CallCleared
                               • CallAbandonedFromRinging
                               Beginning with release 7.6.100.43, Stat Server supports this scenario by not
                               updating the enter time—this becomes the “alternate enter time”—that is
                               associated with the previously listed actions when either the vq-use-alt-
                               enter-time option or use-alt-enter-time local DN-level option (described
                               on page 68) is set to yes. The scenario, where Connid!=PreviousConnid, is
                               common in some SIP deployments in which Stat Server receives multiple
                               EventPartyChanged TEvents for a call that remains in a virtual queue waiting
                               for its target to become available.
48                                                                                          Framework 8.5
Chapter 5: Fine-Tuning the Configuration of a Stat Server Application                          statserver Section
           Option                                                  Description
                                                                                                               R
 binding-threshold
                               Specifies the number of records in a binding block—that is, the number of
                               records to be sent to the DBMS simultaneously. This option is enabled only if
                               you have set the value of the enable-binding configuration option to yes.
                               The default template does not include this option.
                               Default Value: 10
                               Valid Values: Any positive integer less than 2147483648 (231)
                               Changes Take Effect: When Stat Server is restarted
                                                                                                               R
 enable-binding
                               Specifies whether to enable binding functionality. By default, Stat Server
                               uses a regular method of sending requests. If you set the value of this option
                               to yes, Stat Server uses binding for sending requests. This option works in
                               conjunction with the binding-threshold configuration option and is
                               supported for Oracle, Microsoft SQL, and DB2 relational database
                               management systems. The default template does not include this option.
                               This option was previously named OracleBinding.
                               Default Value: no
                               Valid Values: yes, no
                               Changes Take Effect: Immediately upon notification
                                                                                                               R
 identity-in-login-table
                               Turning this option on enables Stat Server to operate with an Oracle Real
                               Application Clusters (RAC). This option requires a database access point
                               connection to an Oracle RAC database. The user must also initialize their
                               LOGIN table with the oracle/login_oracle.sql script that comes with the
                               Stat Server 8.5 installation.
                               Default Value: off
                               Valid Values: on, off
                               Changes Take Effect: When Stat Server is restarted
Table 5: Configuration Options for Operating Stat Server with a Database (Continued)
           Option                                                  Description
                                                                                                               R
 ixn-id-in-status-table
                               Specifies whether Stat Server will populate the IxnID field for records
                               written to the STATUS table. If you set this option to off, or if you do not
                               configure this option, the IxnID field will be null. This field provides
                               functionality, comparable to connection IDs for calls, for Multimedia
                               interactions that rely predominantly on the number generated by Interaction
                               Server for identification in the interaction flow.
                               Note: If you set this option to on, consider also setting the multimedia-
                               activity-in-status-table configuration option to yes, so that Stat Server
                               will record information about the status of multimedia interactions in the
                               other fields of the STATUS table.
                               Default Value: off
                               Valid Values: on, off
                               Changes Take Effect: Immediately upon notification
                               Refer to A, “Physical Data Models for Stat Server Tables” on page 119 for a
                               complete description of the STATUS table.
                               Warning! To avoid data loss, do not change the setting of this option in
                               runtime if you have also set enable-binding to yes.
                                                                                                               R
 local-time-in-status-table
                               Specifies whether to populate the StartLocalTime and EndLocalTime fields
                               in the STATUS table. If you set the value of this option to off, or if you do not
                               specify a value, the StartLocalTime and EndLocalTime fields will contain no
                               data. For Solution Reporting applications, set this option to off; such reports
                               do not use the local time fields, and setting this option to on could affect
                               performance. When setting this option to on, also set the time-format option
                               to the desired format. Refer to page 124 for a complete description of the
                               STATUS table.
                               This option was previously named LocalTimeInStatusTable.
                               Default Value: off
                               Valid Values: on, off
                               Changes Take Effect: Immediately upon notification
                               Warning! To avoid data loss, do not change the value of this option in
                               runtime if you have also set enable-binding to yes.
50                                                                                           Framework 8.5
Chapter 5: Fine-Tuning the Configuration of a Stat Server Application                         statserver Section
Table 5: Configuration Options for Operating Stat Server with a Database (Continued)
           Option                                                  Description
                                                                                                              R
 login-table
                               Specifies whether Stat Server writes records about login and logout TEvents
                               directly to the LOGIN table in the Stat Server database. Refer to page 121 for a
                               complete description of this table.
                               This option was previously named LoginTable.
                               Default Value: off
                               Valid Values: on, off
                               Changes Take Effect: Immediately upon notification
                                                                                                              R
 max-unsent-sql-
 statements                    Specifies the maximum number of SQL statements that Stat Server is
                               allowed to maintain in memory. As soon as Stat Server’s connection to the
                               RDBMS is broken, Stat Server starts storing SQL statements in memory.
                               These statements will be issued against the Stat Server database once the
                               connection is restored. If the number of SQL statements in memory exceeds
                               the value that is specified by this option, data loss might result.
                               To avoid data loss, Stat Server must remain connected to the database for the
                               entire period of the records submission to the RDBMS. Your addp timeout
                               for connection from Stat Server to DB Server should be set as large as
                               possible to prevent disconnection by addp. Refer to the Framework
                               Deployment Guide for information about setting addp.
                               If the number of SQL statements in memory ever exceeds this option’s value,
                               data loss of the entire memory pool will result and the accumulation of SQL
                               statements will begin anew.
                               Please be aware that setting this option’s value too high might cause your
                               system to run out of memory. Configure this option in conformance with the
                               amount of RAM installed on the machine where Stat Server operates.
                               If you specify any value that is less than the default (100000), Stat Server
                               resets it to 100000.
                               Default Value: 100000 (SQL statements)
                               Valid Values: Integers greater than or equal to 100000 and less than
                               2147483648 (231).
                               Changes Take Effect: When Stat Server is restarted
Table 5: Configuration Options for Operating Stat Server with a Database (Continued)
           Option                                                  Description
                                                                                                               R
 multimedia-activity-in-
 status-table                  Specifies whether multimedia-related actions are counted while computing
                               status values that are written to the STATUS table. (For a complete
                               classification of actions, refer to the Stat Server User’s Guide.) If this option
                               is set to no, Stat Server ignores multimedia-related actions in its computation
                               of place and agent status.
                               Stat Server also reads the value of the multimedia configuration option in the
                               TServer section of the monitored DN (whose type is Extension) to determine
                               whether the corresponding DN is a multimedia DN, capable of processing
                               interactions of different media types, such as those DNs that are controlled
                               by a SIP-compliant T-Server. Refer to page 66 for more information.
                               Note: If you set this option to yes, you might also consider setting the ixn-
                               id-in-status-table configuration option to yes so that Stat Server
                               populates the IxnID field for multimedia interactions.
                               Default Value: yes
                               Valid Values: no, yes
                               Changes Take Effect: When Stat Server is restarted
                                                                                                               R
 qinfo-table
                               Specifies whether Stat Server writes records about queue statuses directly to
                               the QINFO table. Refer to page 122 for a complete description of this table.
                               This option was previously named QInfoTable.
                               Default Value: off
                               Valid Values: on, off
                               Changes Take Effect: Immediately upon notification
                                                                                                               R
 status-table
                               Specifies whether Stat Server writes records about agent statuses directly to
                               the STATUS table. Refer to page 124 for a complete description of this table.
                               This option was previously named StatusTable.
                               Default Value: off
                               Valid Values: on, off
                               Changes Take Effect: Immediately upon notification
52                                                                                           Framework 8.5
Chapter 5: Fine-Tuning the Configuration of a Stat Server Application                       statserver Section
Table 5: Configuration Options for Operating Stat Server with a Database (Continued)
           Option                                                  Description
                                                                                                             R
 status-table-update-end-
 time-at-end-only              Setting this option to yes enables Stat Server to set the EndTime and
                               EndLocalTime fields of the STATUS table to 0 (zero) during updates, provided
                               that the corresponding status has not yet ended. A zero value implies 0 for
                               integer fields and ““ (empty string) for character fields.
                               As soon as the statuses complete, Stat Server updates those fields with the
                               time when the statuses ended.
                               Default Value: no
                               Valid Values: yes, no
                               Changes Take Effect: When Stat Server is restarted
                                                                                                             R
 time-format
                               Specifies the time format of data stored in the StartLocalTime and
                               EndLocalTime fields in the STATUS table. You must set the local-time-in-
                               status-table option (see page 50) to yes to use the time-format option.
                               The format string consists of one or more codes preceded by a percent sign
                               (%). Character strings that do not begin with % are copied unchanged to
                               strDest.
                               This option was previously named TimeFormat.
                               Default Value: %m/%d/%Y %H:%M:%S
                               Valid Values: See Table 6 on page 55 for a complete listing and description
                               of valid time formats.
                               Changes Take Effect: When Stat Server is restarted
                                Example
                               Suppose you are using the default time format %m/%d/%Y %H:%M:%S. If the
                               start time for a particular state is Tuesday, January 1, 1999, at 3 PM and 10
                               seconds, character data stored in the STARTLOCALTIME field in the STATUS
                               table is stored as 01/01/1999 15:00:10. Changing the format codes for the
                               date in the time-format option to %Y/%m/%d means the date is stored in the
                               international date format as 1999/01/01. Spaces can also be used. For
                               example, %Y %m %d would be stored as 1999 01 01.
Table 5: Configuration Options for Operating Stat Server with a Database (Continued)
           Option                                                  Description
                                                                                                               R
 use-server-id
                               This option prevents constraint-violation errors from occurring in a database
                               when more than one Stat Server application attempts to write to the same
                               database. If only one Stat Server application writes to the same database table
                               or you have set the value of the status-table option (see page 52) to no,
                               you do not have to specify a value for this option. The default template does
                               not include this option.
                               To set this option, enter any number from 0 to 63. Use a different value for
                               each Stat Server application that writes to the same database table. Each
                               Stat Server application uses its assigned value to generate internally stored
                               IDs.
                               Note: Configure this option only for those Stat Server applications writing to
                               the same database and monitoring different switches. Do not configure
                               Stat Server applications to write to the same database if they monitor the
                               same switches.
                               This option was previously named UseServerID.
                               Default Value: No default value
                               Valid Value: Any integer from 0 (zero) to 63
                               Changes Take Effect: Immediately upon notification
                                                                                                               R
 voice-reasons-table
                               Specifies whether Stat Server stores the reasons for agents to change or
                               continue Ready and NotReady states and AfterCallWork work mode. If this
                               option is set to yes, Stat Server writes the reasons records directly to the
                               VOICE_REASONS table. Refer to page 126 for a description of this table.
                               Default Value: no
                               Valid Values: yes, no
                               Changes Take Effect: Immediately upon notification
                                                                                                               R
 warn-unsent-sql-
 statements                    Defines the threshold upon which Stat Server begins logging warning
                               messages about the number of unsent SQL statements.
                               To avoid data loss, Stat Server must remain connected to the database for the
                               entire period of the records submission to the RDBMS. If you use DB Server
                               for connection to RDBMS your addp timeout for connection from Stat Server
                               to DB Server should be set as large as possible to prevent disconnection by
                               addp.
                               Default Value: 5000 (SQL statements)
                               Valid Values: Any positive value, both less than 2147483648 (231) and less
                               than the value that is specified by the max-unsent-sql-statements
                               configuration option.
                               Changes Take Effect: When Stat Server is restarted
54                                                                                          Framework 8.5
Chapter 5: Fine-Tuning the Configuration of a Stat Server Application                          statserver Section
%% Percent sign
                                   #           The pound sign (#) can precede any formatting code. This
                                               changes the meaning of the format code as shown in entries
                                               with the pound sign in this table.
                                               Notes:
                                               • The pound sign is ignored in these format codes: %#a,
                                                   %#A, %#b, %#B, %#p, %#X, %#z, %#Z, %#%
                                               • The pound sign in these format codes removes any leading
                                                 zeroes: %#d, %#H, %#I, %#j, %#m, %#M, %#S, %#U, %#w,
                                                   %#W, %#y, %#Y
            Option                                                  Description
                                                                                                               R
 debug-level
                                  Adding Java to the value of this option enables Stat Server to log messages
                                  that are related to Java extension functionality. For the complete
                                  description of this option, see page 35.
                                                                                                               R
 enable-java
                                  When you set the value of this option to true, Stat Server tries to load
                                  JVM at startup.The jvm-path configuration option described on page 59
                                  defines the location of JVM. If you set this value to false at Stat Server
                                  startup, but later set it to true, Stat Server attempts to load JVM at
                                  runtime.
                                  Note: Stat Server ignores the change in setting from true to false. To
                                  unload JVM, you must stop Stat Server.
                                  Default Value: false
                                  Valid Values: true, false
                                  Changes take effect: When Stat Server is restarted
Java Sections
                          Note: For this Stat Server release, Java functionality is reserved for use in
                                   conjunction with Genesys-provided reports for Outbound Contact and
                                   eServices (formerly known as Multimedia). You cannot use Java
                                   extensions while Stat Server operates in cluster mode.
56                                                                                          Framework 8.5
Chapter 5: Fine-Tuning the Configuration of a Stat Server Application                          Java Sections
                          7. If Stat Server successfully loads the Java host environment, Stat Server
                             next tries to load Java Extensions (specified by the java-extensions-dir
                             configuration option of the [java-config] section) from archives specified
                             in the [java-extensions] section.
                          8. Stat Server takes the initial parameters for each <extension.jar> extension
                             from the section where java-extension-jar=<extension.jar>, and uses
                             them for this extension execution.
                          Each Java configuration section is further described in Table 8. For those
                          configuration options for which you specify true/false values, any of the
                          following additional values are also valid:
                           •   yes and no          •    1 and 0
                           •   y and n             •    on and off
Option Description
 java-config Section
                                                                                                            R
 java-extensions-dir
                                The value of this option must contain the path to the directory where all Java
                                Extensions are stored.
                                Default Value: ./java/ext
                                Valid Value: Any valid, fully specified directory path
                                Changes Take Effect: Upon Stat Server restart, or upon setting the enable-
                                java configuration option to true
                                                                                                            R
 java-libraries-dir
                                The value of this option must contain the path to the directory where all Java
                                libraries are stored.
                                Default Value: ./java/lib
                                Valid Value: Any valid, fully specified directory path
                                Changes Take Effect: Upon Stat Server restart, or upon setting the enable-
                                java configuration option to true
58                                                                                          Framework 8.5
Chapter 5: Fine-Tuning the Configuration of a Stat Server Application                             Java Sections
            Option                                                 Description
                                                                                                                R
 java-extension-loading-
                                Specifies the length of time, in seconds, that Stat Server allocates for
 timeout
                                loading Java Extensions. If an Extension does not load within this timeout,
                                Stat Server sends a message to its log indicating this. Stat Server makes no
                                further attempts to load the Extension during runtime.
                                Default Value: 20
                                Valid Value: Any positive integer less than 2147483648 (231)
                                Changes Take Effect: Upon Stat Server restart, or upon setting the enable-
                                java configuration option to true
                                Only under rare circumstances should you change this option, such as if
                                your particular Java Extension is very large or if its execution is very time
                                consuming.
                                                                                                                R
 jvm-path
                                The value of this option must contain the path to JVM:
                                • jvm.dll on Windows
                                • libjava.so, libjvm.so, libjvm.a, or libjvm.sl on UNIX
                                Default Value: No default value
                                Valid Value: Any valid, fully specified path (including file name) to the
                                particular file
                                Changes Take Effect: Upon Stat Server restart, or upon setting the enable-
                                java configuration option to true
Option Description
jvm-option Section R
 The configuration options you specify for this section correspond to the Java executable (java.exe on
 Windows, java on UNIX), and command-line options specific to your branch and version of JVM. Refer
 to your JVM documentation to find out its applicable configuration options. For Solaris platforms, set the
 stack space to at least 4,096K. For example, for HotSpot JVM, configuring the following would
 accomplish this:
 -XX:ThreadStackSize=4096
 Note that Genesys neither recommends nor endorses any particular JVM.
 Configuration options follow the Name/Value format used in other Stat Server sections, where Name is the
 name of the Java command-line option. If you specify a value for a named configuration option in this
 section, Stat Server converts the two to Name=Value before passing the option to JVM. If you do not
 specify a value, Stat Server passes the name only.
 Example 1                      Assume that foo is a valid option requiring a value for your Java
                                application. To specify a value of some string, create the following
                                configuration option within the [jvm-options] section of your Stat Server
                                application.
                                Name = -Dfoo
                                Value = “some string”
                                Note: Include quotes in the value’s definition, if JVM requires them on the
                                command line.
60                                                                                        Framework 8.5
Chapter 5: Fine-Tuning the Configuration of a Stat Server Application                              Java Sections
Option Description
 java-extensions Section
 Default behavior creates neither this section nor any of its configuration options. You must manually add
 the section to the Stat Server Application object and provide an arbitrary section name. Use this section
 to pass initialization parameters to the Java Extension.
                                                                                                               R
 <filename>.jar
                                The name of this Java configuration option is the relative path of the Java
                                Extension jar archive with respect to the SSJE installation directory
                                described with [java-config]/java-extensions-dir. The resulting
                                combined path should point inside the SSJE installation directory (note that
                                on UNIX systems, all symbolic links are resolved). Otherwise, Stat Server
                                logs a security violation message and does not load the corresponding SSJE.
                                Furthermore, if Stat Server cannot match the resulting path to any existing
                                Java Extension configured to be loaded, Stat Server ignores the content of
                                this entire section.
                                The corresponding value is either false (indicating that Stat Server is not to
                                consider this particular Java Extension) or true (indicating that it is). The
                                path is relative to that specified by the java-extensions-dir configuration
                                option described on page 58—for example, ext1.jar or subdir3/ext3.jar.
                                If you initially do not set this option when Stat Server first starts, but later
                                set it, Stat Server attempts to dynamically load the extension at runtime.
                                Refer to How to Configure a Particular Java Extension below for additional
                                information.
                                Default Value: No default value
                                Valid Values: false, true
                                Changes Take Effect: During Java Extension initialization phase
                                                                                                               R
 <Name>
                                <Value>
                                You can specify additional configuration options following the Name/Value
                                format used in other Stat Server sections, where Name is name of the
                                parameter to be passed to SSJE and Value is the parameter’s value. If you
                                do specify a value for a parameter in this section, Stat Server converts the
                                Name/Value pair to Name=Value before passing it to SSJE. If you do not
                                specify a value, Stat Server passes only the name.
                                Default Value: No default value
                                Changes Take Effect: During Java Extension initialization phase
62                                                                                         Framework 8.5
Chapter 5: Fine-Tuning the Configuration of a Stat Server Application            db-direct-connection Section
db-direct-connection Section
                          Note: This section is only applicable to Stat Server operating in regular
                                   mode.
Note: This section is not applicable to Stat Server operating in cluster mode.
Option Description
 debug                   This option controls advanced debugging information such as function calls.
                         Default Value: 0
                         Valid Values: 0-5
                         Changes Take Effect: When Stat Server is restarted.
 verbose                 This option controls the SQL statement and message sending debug information.
                         Default Value: 0
                         Valid Values: 0-4
                         Changes Take Effect: When Stat Server is restarted.
                          On Unix
                          •   dbclient_db2_32
                          •   dbclient_db2_64
                          •   dbclient_oracle_32
                          •   dbclient_oracle_64
                          On Windows
                          •   dbclient_db2.exe
                          •   dbclient_oracle.exe
                          •   dbclient_msql.exe
                          These executables are located in the same directory as your Stat Server
                          executable.
                          The appropriate executable is used to establish the connection to a particular
                          database, using DB Info provided in the connected Database Access Point.
                          See Framework Database Connectivity Reference Guide for more information.
64                                                                                       Framework 8.5
    Chapter
                      Note: For the purpose of this chapter, DNs and switches are not considered to
                               be applications. However, Stat Server does read the configuration
                               options of these objects to provide certain functionality.
                      This chapter describes factors other than Stat Server’s own configuration that
                      have an impact on Stat Server output. It contains the following sections:
                      
                         Stat Server Reads Switch and DN Attributes, page 66
                        Stat Server Reads Resource Attributes, page 67
                      
                         Stat Server Reads Virtual Agent Group Definitions, page 68
                      
                         Stat Server Reads Mediation DN Attributes, page 68
                        Stat Server Reads SIP Server, page 69
                      For information about manipulating Stat Server behavior via the configuration
                      of the Stat Server Application object, refer to the previous chapter, “Fine-
                      Tuning the Configuration of a Stat Server Application” on page 29.
66                                                                                         Framework 8.5
Chapter 6: Other Factors Affecting Stat Server                           Stat Server Reads Resource Attributes
68                                                                                          Framework 8.5
Chapter 6: Other Factors Affecting Stat Server                                   Stat Server Reads SIP Server
                          determine the media type of interactions that the virtual queue has been
                          configured to handle. This dynamic option is set only for a virtual queue
                          object; there exists no global option that defines the media type for all virtual
                          queues. Its permissible values are those that have been preconfigured within
                          Configuration Server—in the Business Attributes/MediaType folder in
                          Genesys Administrator. Only one media type should be configured for any
                          given virtual queue and this value cannot be voice.
                          Refer to the ExpectedWaitTime2 statistical category in the Framework Stat
                          Server User’s Guide to learn how Stat Server calculates estimated wait time
                          for multimedia interactions. The ExpectedWaitTime2 statistical category is not
                          supported for Stat Server operating in cluster mode.
70                                                        Framework 8.5
    Chapter
Mandatory Options
                      You do not have to configure any common log options to start Stat Server
                      applications.
log Section
                       You must name this section log. Table 10 lists the log configuration options
                       available to you. Note that to use these options, you must actively set them,
                       manually on the Options tab of the Stat Server Application object within
                       Genesys Administrator. The default Stat Server application template includes
                       only the verbose option. These options are generic options that apply to all
                       Genesys server applications. They do not, however, apply to the Stat Server
                       solution.
Table 10: Log Options
Option Description
 verbose            Determines whether a log output is created. If it is, this option specifies the minimum
                    level of log events generated. The log events levels, starting with the highest-priority
                    level, are standard, interaction, trace, and debug. Refer to “Log Output
                    Options” on page 81 for more information.
                    Default Value: all
                    Valid Values:
                    all               All log events (that is, log events of standard, trace,
                                      interaction, and debug levels) are generated if you set the
                                      debug-level option in the statserver section to all.
                    trace             Log events of trace and higher levels (that is, log events of
                                      standard and interaction levels) are generated, while log events
                                      of the debug level are not.
                    interaction       Log events of the interaction and higher levels (that is, log events
                                      of standard level) are generated, while log events of the trace and
                                      debug levels are not generated.
                    standard          Log events of the standard level are generated, while log events of
                                      the interaction, trace, and debug levels are not generated.
72                                                                                        Framework 8.5
Chapter 7: Common Log Options                                                                      log Section
Option Description
 buffering          Turns operating system file buffering on or off. This option applies only to stderr
                    and stdout output (see page 81). Setting this option to true increases output
                    performance.
                    Note: When you enable buffering, messages might appear at the console with delay.
                    Default Value: true
                    Valid Values:
 segment            Specifies whether there is a segmentation limit for a log file. If there is, this option
                    sets the mode of measurement along with the maximum size. If the current log
                    segment exceeds the size set by this option, the current file is closed and a new file is
                    created. This option is ignored if log output is not configured to be sent to a log.
                    Default Value: 100 MB
                    Valid Values:
                    <number> KB or    Sets the maximum segment size in kilobytes. The minimum value is
                    <number>          100 KB.
                    <number> MB       Sets the maximum segment size in megabytes. The maximum value
                                      is 2047 MB.
                    <number> hr       Sets the number of hours for the segment to stay open. The
                                      minimum number is 1 hr.
Option Description
 keep-startup-file   Specifies whether a startup segment of the log, containing the initial configuration, is
                     to be kept. If it is, you can set this option to true or to a specific file size. A true
                     setting means that the size of the initial segment will be equal to the size of the
                     regular log segment defined by the segment option (defined on page 73). The value
                     of this option is ignored if you set the segment option to false.
                     Default Value: false
                     Valid Values:
                     true              A startup segment of the log is kept. The size of the segment equals
                                       the value of the segment option.
                     <number> KB       Sets the maximum size, in kilobytes, for a startup segment of the
                                       log.
                     <number> MB       Sets the maximum size, in megabytes, for a startup segment of the
                                       log.
 expire              Determines whether log files expire. If they do, this option sets the measurement for
                     determining when they expire, along with the maximum number of files (segments)
                     or days before the files are removed. Stat Server ignores this option if you configure
                     log output to be sent to other than a log file.
                     Default Value: 10
                     Valid Values:
                     <number> file     Sets maximum number of log files to store. Specify a number from
                     or <number>       1-1000.
                     <number> day      Sets the maximum number of days before log files are deleted.
                                       Specify a number from 1-100.
74                                                                                           Framework 8.5
Chapter 7: Common Log Options                                                                    log Section
Option Description
 messagefile        Specifies the file name for Stat Server log events. The name must be valid for the
                    operating system on which Stat Server is running. The option value can also contain
                    the absolute path to the statserver.lms file. Otherwise, Stat Server looks for the file
                    in its working directory.
                    Default Value: statserver.lms
                    Valid Values: <string>.lms
                    Changes Take Effect: After Stat Server restarts if Stat Server locates statserv.lms at
                    startup or immediately if Stat Server cannot locate this file at startup
                    Warning! An application that does not find its *.lms file at startup cannot generate
                    application-specific log events and send them to Message Server.
 message_format     Specifies the format of log record headers that an application uses when it writes to
                    its log file. Using compressed log record headers improves the application
                    performance and reduces the log’s file size.
                    Default Value: short
                    Valid Values:
Option Description
 time_convert       Specifies the system by which an application calculates the log record time when
                    generating a log file. The time is converted from the time in seconds since the Epoch
                    (00:00:00 UTC, January 1, 1970).
                    Default Value: Local
                    Valid Values:
 time_format        Specifies how to represent, in a log file, the time when an application generates log
                    records.
                    Default Value: time
                    Valid Values:
                    ISO8601           Date in the time string is formatted according to ISO 8601 format.
                                      Fractional seconds are given in milliseconds.
 print-attributes   Specifies whether the application will attach extended attributes, if any exist, to a log
                    event that the application sends to log output. Typically, log events of the
                    Interaction log level and Audit-related log events contain extended attributes.
                    Setting this option to true enables audit capabilities, but negatively affects
                    performance. Genesys recommends enabling this option only when testing new
                    interaction scenarios.
                    Default Value: false
                    Valid Values: true, false
                    Changes Take Effect: Immediately
                    Refer to the Genesys Combined Log Events Help for information about extended
                    attributes.
76                                                                                        Framework 8.5
Chapter 7: Common Log Options                                                                     log Section
Option Description
 check-point        Specifies how often, in hours, an application generates a check-point log event to
                    divide the log into sections of equal time. By default, the application generates this
                    log event every hour. Setting the option to 0 prevents generation of check-point
                    events.
                    Default Value: 1
                    Valid Values: 0-24
                    Changes Take Effect: Immediately
 memory             Specifies the name of the file to which the application regularly prints a snapshot of
                    the memory output (see page 81). The new snapshot overwrites previously written
                    data. If the application terminates abnormally, this file contains the latest log
                    messages. Memory output is not recommended for processors with a CPU frequency
                    lower than 600 MHz.
                    Note: If the file specified as the memory file is located on a network drive, an
                    application does not create a snapshot file (with the extension *.memory.log).
                    Default Value: No default value
                    Valid Values: <string> (memory file name)
                    Changes Take Effect: Immediately
 memory-storage- Specifies the buffer size for log output to the memory. Refer also to “Log Output
 size            Options” on page 81 for more information.
                    Default Value: 2 MB
                    Valid Values:
Option Description
 spool              Specifies the folder, including full path to it, in which an application creates
                    temporary files related to network log output. If you change this value while the
                    application is running, the change does not affect the currently opened network
                    output.
                    Default Value: The Stat Server working directory
                    Valid Values:
                    true              The log of the level specified by one of the log output options
                                      described on page 82 is sent to the specified output.
                    false             The log of the level specified by one of the log output options
                                      described on page 82 and higher levels is sent to the specified
                                      output.
78                                                                                       Framework 8.5
Chapter 7: Common Log Options                                                                      log Section
                       The configuration options listed in Table 11 enable you to generate debug logs
                       containing information about specific Stat Server operations. You designate
                       these options in the log section of the Stat Server application.
                       Warning! Genesys advises you to use these options only when requested by
                                     Genesys Customer Care.
                       .
Option Description
 x-conn-debug-timers           Generates debug log records about the timer creation and deletion
                               operations.
                               Default Value: 0
                               Valid Values:
                               0   Log records are not generated.
                               1   Log records are generated.
 x-conn-debug-write            Generates debug log records about “write” operations to the socket within
                               the common library.
                               Default Value: 0
                               Valid Values:
                               0   Log records are not generated.
                               1   Log records are generated.
Option Description
 x-conn-debug-api           Generates debug log records about connection library function calls.
                            Default Value: 0
                            Valid Values:
                            0   Log records are not generated.
                            1   Log records are generated.
 x-conn-debug-all           Generates debug log records about open connection, socket select, timer
                            creation and deletion, write, security-related, DNS operation, and
                            connection library function calls. This option is the same as enabling or
                            disabling all of the previous x-conn-debug-<optype> options.
                            Default Value: 0
                            Valid Values:
                            0   Log records are not generated.
                            1   Log records are generated.
80                                                                                      Framework 8.5
Chapter 7: Common Log Options                                                               log Section
                      Note: The log output options are activated according to the setting of the
                                verbose configuration option.
Option Description
 all           Specifies the outputs to which an application sends all log events. You must separate log
               output types with commas when you configure more than one output type.
               Default Value: No default value
               Valid Values:
stderr Log events are sent to the standard error output (stderr).
               network          Log events are sent to Message Server, which can reside anywhere on the
                                network. Message Server stores log events in the Log Database.
                                Setting the all log level option to network enables an application to send
                                log events of standard, interaction, and trace levels to Message
                                Server. Log events of debug level are neither sent to Message Server nor
                                stored in the Log Database.
               memory           Log events are sent to the memory output on the local disk. This output is
                                the safest in terms of Stat Server performance.
               [filename]       Log events are stored in a file with the specified name. If you do not
                                specify a path, the log file is created in the working directory.
82                                                                                        Framework 8.5
Chapter 7: Common Log Options                                                                     log Section
Option Description
 alarm         Specifies the outputs to which an application sends log events of Alarm level. You must
               separate log output types with commas when you configure more than one output type.
               For example, alarm = stdout, logfile
               Default Value: No default value
               Valid Values (log output types):
stderr Log events are sent to the standard error output (stderr).
               network          Log events are sent to Message Server, which can reside anywhere on the
                                network. Message Server stores log events in the Log Database.
               memory           Log events are sent to the memory output on the local disk. This output is
                                the safest in terms of the application performance.
               [filename]       Log events are stored in a file with the specified name. If you do not
                                specify a path, the log file is created in the working directory.
 standard      Specifies the outputs to which an application sends log events of the Standard level. You
               must separate log output types with commas when you configure more than one output
               type.
               For example, standard = stderr, network
               Default Value: No default value
               Valid Values (log output types):
stderr Log events are sent to the standard error output (stderr).
               network          Log events are sent to Message Server, which can reside anywhere on the
                                network. Message Server stores the log events in the Log Database.
               memory           Log events are sent to the memory output on the local disk. This is the
                                safest output in terms of the application performance.
               [filename]       Log events are stored in a file with the specified name. If you do not
                                specify a path, the log file is created in the working directory.
Option Description
 interaction   Specifies the outputs to which an application sends log events of the Interaction and
               higher levels (that is, log events of Standard level). You must separate log outputs with
               commas when you configure more than one output type.
               For example, interaction = stderr, network
               Default Value: No default value
               Valid Values (log output types):
stderr Log events are sent to the standard error output (stderr).
               network          Log events are sent to Message Server, which can reside anywhere on the
                                network. Message Server stores the log events in the Log Database.
               memory           Log events are sent to the memory output on the local disk. This is the
                                safest output in terms of the application performance.
               [filename]       Log events are stored in a file with the specified name. If you do not
                                specify a path, the log file is created in the working directory.
 trace         Specifies the outputs to which an application sends log events of Trace and higher levels
               (that is, log events of Standard and Interaction levels). You must separate log outputs
               with commas when you configure more than one output type.
               For example, trace = stderr, network
               Default Value: No default value
               Valid Values (log output types):
stderr Log events are sent to the standard error output (stderr).
               network          Log events are sent to Message Server, which can reside anywhere on the
                                network. Message Server stores the log events in the Log Database.
               memory           Log events are sent to the memory output on the local disk. This output is
                                the safest in terms of the application performance.
               [filename]       Log events are stored in a file with the specified name. If you do not
                                specify a path, the log file is created in the working directory.
84                                                                                        Framework 8.5
Chapter 7: Common Log Options                                                                     log Section
Option Description
 debug         Specifies the outputs to which an application sends log events of debug and higher levels
               (that is, log events of standard, trace, interaction, and debug levels). You must
               separate log output types with commas when you configure more than one output type.
               For example, debug = stderr, /usr/local/genesys/logfile
               Default Value: No default value
               Valid Values (log output types):
stderr Log events are sent to the standard error output (stderr).
               memory           Log events are sent to the memory output on the local disk. This output is
                                the safest in terms of the application performance.
               [filename]       Log events are stored in a file with the specified name. If you do not
                                specify a path, the log file is created in the working directory.
                      Examples
                      This section presents three examples of a log section that you might configure
                      for a Stat Server application that is operating:
                      •   In production mode
                      •   In a debugging lab mode
                      •   In a troubleshooting lab mode
                      Warning! Directing log output to the console (by using the stdout or stderr
                                 settings) can affect application performance. Avoid using these log
                                 output settings in a production environment.
86                                                                                  Framework 8.5
Chapter 7: Common Log Options                                                             log-extended Section
                       Note: If you are operating Stat Server on Unix and do not specify any files in
                                which to store the memory output snapshot, the core file that
                                Stat Server produces before terminating contains the most current
                                Stat Server log. Provide the Stat Server’s core file to Genesys
                                Customer Care when reporting problems.
log-extended Section
                       This section must be named log-extended.
Option Description
 level-        When this option is set to true, the original (default) log level of all log events in the
 reassign-     [log-extended] section are restored. This option is useful when you want to use the
 disable       default levels and keep the customizations.
               Default Value: false
               Valid Values: true, false
               Changes Take Effect: Immediately
               Defined: Options tab of Application object
Option Description
 level-        Specifies one of five log levels for log event <eventID>, which may differ from its default
 reassign-     level, or disables logging of the named event altogether. This option is useful if you want
 <eventID>     to change the behavior of what Stat Server logs for the specified log event ID. If no value
               is specified, then the named log event retains its default level.
               You can deactivate these options with the level-reassign-disable configuration option,
               described below.
               Default Value: Default value of log event <eventID>. Refer to the Common Log Events
               Help or statserver.lms (located in the directory where Stat Server is installed) for a
               listing of each of Stat Server’s the default levels.
               Valid Values:
88                                                                                         Framework 8.5
Chapter 7: Common Log Options                                                        log-extended Section
                      •   Changing the log level of a log using this feature changes only its priority;
                          it does not change how that log is treated by the system. For example,
                          increasing the priority of a log to Alarm level does not mean that an alarm
                          will be associated with it.
                      •   Each application in a high availability (HA) pair can define its own unique
                          set of log customizations, but the two sets are not synchronized with each
                          other. This can result in different log behavior depending on which
                          application is currently in primary mode.
                      •   This feature is not the same as a similar feature in Universal Routing
                          Server, version 7.2 or later. In this Framework feature, the priority of log
                          events are customized. In the URS feature, the priority of debug messages
                          only are customized. Refer to the Universal Routing Server Reference
                          Manual for more information about the URS feature.
                      •   You cannot customize any log event that is not in the unified log record
                          format. Log events of the Alarm, Standard, Interaction, and Trace levels
                          feature the same unified log record format.
                      Example
                      This is an example of using customized log level settings, subject to the
                      following log configuration:
                      [log]
                      verbose=interaction
                      all=stderr
                      interaction=log_file
                      standard=network
                      [log-extended]
                      level-reassign-20009=none
                      level-reassign-20018=interaction
                      level-reassign-20022=standard
                      After the log levels are changed:
                      •   Log event 20009 is disabled and is not logged.
                      •   Log event 20018 is output to stderr and to the log file.
                      •   Log event 20022 is output to stderr and to the log file, and sent to Message
                          Server.
log-filter Section
                         This section must be called log-filter. Table 14 describes the one option you
                         can configure in this section. Refer to the “Hide Selected Data in Logs”
                         chapter in the Genesys Security Deployment Guide for more information about
                         this feature.
Option Description
 default-filter-type   Specifies the default manner in which KVList information (including UserData,
                       Extensions, and Reasons) is presented in the Stat Server log. Stat Server applies the
                       value of this option to all KVList pairs, but the presentation of specific pairs in
                       AttributeUserData can be overridden by options that are explicitly defined within
                       the [log-filter-data] section (see page 92).
                       Default Value: skip
                       Valid Values:
copy The keys and values of KVList information are copied to the log.
                       hide             The keys of the KVList information are copied to the log; the
                                        values are replaced with strings of asterisks.
                       hide-            The keys of KVList information are copied to the log; the first <n>
                       first,<n>        characters of the value are replaced with asterisks. If <n> exceeds
                                        the number of characters in the value, the number of asterisks will
                                        be equal to the number of characters in the value.
                       hide-last,<n> The keys of KVList information are copied to the log; the last <n>
                                     characters of the value are replaced with asterisks. If <n> exceeds
                                        the number of characters in the value, the number of asterisks will
                                        be equal to the number of characters in the value.
90                                                                                        Framework 8.5
Chapter 7: Common Log Options                                                             log-filter-data Section
Option Description
 default-filter-type   unhide-          The keys of KVList information are copied to the log; all but the
 (continued)           first,<n>        first <n> characters of the value are replaced with asterisks. If <n>
                                        exceeds the number of characters in the value, the value of the key
                                        appears, with no asterisks.
                       unhide-          The keys of KVList information are copied to the log; all but the
                       last,<n>         last <n> characters of the value are replaced with asterisks. If <n>
                                        exceeds the number of characters in the key, the value of the key
                                        appears, with no asterisks.
 filtering             Enables (true) or disables (false) log filtering at the Application level.
                       Default Value: true
                       Valid Values: true, false
                       Changes Take Effect: Immediately, if application is subscribed to notifications that
                       this option has been changed.
                         Example
                         [log-filter]
                         default-filter-type=copy
                         Here is an example of a log with the default log filter settings:
                         message RequestSetCallInfo
                             AttributeConsultType               3
                             AttributeOriginalConnID            008b012ece62c8be
                             AttributeUpdateRevision            2752651
                             AttributeUserData                  [111] 00 27 01 00..
                                    ‘DNIS'                      '8410'
                                    ‘PASSWORD'                  '111111111'
                                    'RECORD_ID'                 '8313427'
                             AttributeConnID                    008b012ece62c922
log-filter-data Section
                         This section must be called log-filter-data.The options in this section define
                         the treatment of filtering data in log output on a key-by-key basis. Log files can
                         contain a significant amount of information about your configuration and
                         operations. The options in this section enable you to prevent unauthorized
                      users from seeing particular data in the output of log messages. Table 15
                      describes the options you configure in this section.
Option Description
 <key name>           Specifies the manner in which the specified KVList pair, defined by this option’s
                      name, is presented in the Stat Server log. Setting this option supersedes the default
                      manner of KVList presentation, which is defined by the value of the default-
                      filter-type option in the [log-filter] section for the given KVList pair.
                      If no value is specified for this option, no additional processing of this data
                      element is performed.
                      Default Value: No default value
                      Valid Values:
                      copy                    The key and value of the given KVList pair in the
                                              Attribute UserData section are copied to the log.
                      hide                    The given KVList key is copied to the log; the KVList
                                              value is replaced with a string of asterisks.
92                                                                                        Framework 8.5
Chapter 7: Common Log Options                                                                    sml Section
Option Description
 <key name>           unhide-first,<n>     The key of the given KVList pair in the AttributeUserData
 (continued)                               section is copied to the log; all but the first <n> characters of
                                           the value are replaced with asterisks. If <n> exceeds the
                                           number of characters in the value, the value of the key
                                           appears, with no asterisks.
                      Example
                      [log-filter-data]
                      PASSWORD=hide
                      Here is an example of the log with the PASSWORD option set to hide. Note that
                      the value of PASSWORD has been replaced with a series of asterisks (****):
                      message RequestSetCallInfo
                          AttributeConsultType             3
                          AttributeOriginalConnID          008b012ece62c8be
                          AttributeUpdateRevision          2752651
                          AttributeUserData                [111] 00 27 01 00
                                 'DNIS'                    '8410'
                                 ‘PASSWORD'                '****'
                                 'RECORD_ID'               '8313427'
                          AttributeConnID                  008b012ece62c922
                      Refer to the Genesys Security Deployment Guide for additional examples.
sml Section
                      This section must be called sml, which stands for System Management Layer,
                      and must be defined on the Options tab of the Stat Server Application object.
                      Table 16 describes one option that you can configure in this section. Other
                      options that the Framework Configuration Options Reference Manual describe
                      are not supported in the 8.x releases of Stat Server.
Option Description
 suspending-wait-      Specifies a timeout, in seconds, after the Stop Graceful command is issued to an
 timeout               application within the Management Layer., during which the status of the
                       application should change to Suspending if the application supports graceful
                       shutdown. If the status of the application does not change to Suspending before
                       the timeout expires, it is assumed that the application does not support graceful
                       shutdown, and it is stopped ungracefully.
                       Note: Stat Server does not support graceful shutdown.
                       Default Value: 10
                       Valid Values: 5–600
                       Changes Take Effect: Immediately
common Section
                      This section must be named common. Table 17 describes the options that you
                      configure in this section.
Option Description
 enable-ipv6          Specifies that Stat Server is to use TCP/IP v6 for relaying packets of information
                      across network boundaries to and from the Management Layer.
                      Default Value: 0 (for backward compatibility)
                      Valid Values: 0 (off), 1 (on)
                      Changes Take Effect: Immediately
                      Note: This option is supported for use on Linux, Solaris 8+, Windows Vista, and
                      Windows Server 2008+ operating systems only.
                      Refer to the Framework Deployment Guide for more information about this
                      component.
 rebind-delay         Specifies the delay, in seconds, between socket-bind operations that are being
                      executed by Stat Server. Use this option if Stat Server has not been able to occupy
                      a configured port successfully.
                      Warning! Use this option only when requested to do so by Genesys Customer
                      Care.
                      Default Value: 10
                      Valid Values: 0–600
                      Changes Take Effect: After restart
94                                                                                      Framework 8.5
    Chapter
                      On UNIX
                      1. On the Real-Time Metrics Engine 8.5 product CD in the appropriate
                         statserver/operating_system/ directory, locate the install.sh shell
                         script.
                      2. Run this script from the command line by typing: install.sh.
                           3. When prompted, specify the host name of the computer on which you want
                              to install Stat Server.
                           4. When prompted, specify:
                              a. The host name of the computer on which Configuration Server is
                                 running.
                              b. The port that Stat Server will use to connect to Configuration Server.
                              c. The user name used to log in to Configuration Server.
                              d. The password used to log in to Configuration Server.
                           5. Specify whether Stat Server should use a client-side port for TCP/IP
                              connection to Configuration Server. If yes, specify the client-side port
                              number and, optionally, either the IP address that Stat Server will use for
                              its connection or Enter to ignore.
                               Refer to the Genesys Security Deployment Guide for more information
                               about client-side port definition and configuration.
                           6. The installation displays the list of Application objects of StatServer type
                              configured for this host. Type the number of the Stat Server Application
                              you want installed.
                           7. Specify the full destination path into which you want Stat Server installed.
                           8. If prompted for which version of the product to install, (32- or 64-bit),
                              select the version appropriate for your operating system.
                           As soon as the installation process completes, a message announces that
                           installation was successful. The process creates a directory with the name
                           specified during the installation, and places Stat Server in it. The installation
                           routine then prompts you to install each of the Stat Server Java Extensions
                           (MCR and OCC) if the Extension installation packages were also deployed.
                           Follow the steps described for each Extension, starting with Step 2 on page 98.
                           On Windows
                           1. From the Real-Time Metrics 8.5 CD, go to the \statserver\windows
                              subdirectory.
                           2. Locate and double-click setup.exe to start installation.
                           3. If the installation routine detects previously installed Stat Server
                              applications on your machine, you are prompted to either install a new
                              instance or perform maintenance on one of the existing applications. Select
                              the former.
                           4. Specify the parameters for connecting to the Configuration Server where
                              your Stat Server Application object has been configured.
                           5. Specify whether Stat Server should use a client-side port for TCP/IP
                              connection to Configuration Server. If so, specify the client-side port
                              number and, optionally, the IP address that Stat Server will use for its
                              connection.
96                                                                                            Framework 8.5
Chapter 8: Installing a Stat Server Application                          Manually Installing the Java Extensions
                               Note: Select this folder carefully. The default choice provided by the
                                         installation routine likely differs from your intended destination.
98                                                                                            Framework 8.5
Chapter 8: Installing a Stat Server Application                                    Installing Stat Server Silently
                           3. When prompted, specify the full destination path where you want the OCC
                              extension deployed on your machine.
                               If the installation routine detects one or more installed extensions in the
                               specified path, it prompts you to overwrite them or exit.
                           The installation routine deploys OCCStatExtension.jar in the /java/ext
                           subdirectory of the path that you specified.
                          If you have configured the Stat Server application to write to a database, also
                          have running:
                          •   RDBMS
                          •   DB Server (if [db-direct-connection]/enable is set to no)
                          For starting Stat Server in cluster mode, though not mandatory, you should also
                          have the following applications running:
                          •   SIP Server Cluster
                          •   SIP Proxy
                          And, if your environment uses Stat Server Java extensions, set up Java
                          Runtime Environment (JRE)
                          Note: Prior to opening statistics at startup, Stat Server now checks that the
                                   binary format of the backup file is compatible with the running
                                   instance of Stat Server.
                          You can start a Stat Server application that has been configured as a node of a
                          clustered solution in either standalone or cluster mode. When a Stat Server
                          application that was originally configured as a node is run standalone—not as
                          part of the cluster—the application uses the configuration that is defined
                          wholly within the application itself.
On UNIX
                          1. Go to the directory where you have installed the Stat Server application.
                          2. Review the contents of the run.sh script to ensure that it either includes or
                             excludes the -cluster parameter depending on the mode in which Stat
                             Server is to operate. Edit the file, if necessary.
                          3. At the command line, type:
                                   ./run.sh
                              Or, type the name of the Stat Server executable followed by the appropriate
                              command-line parameters using the following syntax:
                                   ./statserv -host hostname -port portno -app application
                                   [-cluster Solution] [-transport-port trnsportno] [-transport-
                                   address IPaddress ]
                              where:
                              
                                 hostname refers to the name of the host on which Configuration Server
                                 is running.
                              
                                 portno refers to the communication port that client applications must
                                 use to connect to Configuration Server.
                                application refers to the name of the Stat Server Application object
                                 as defined to the Configuration Server.
                              
                                 Solution is the name of the Stat Server solution to which the Stat
                                 Server application belongs. Specifying this parameter is mandatory if
                                 Stat Server is to operate in cluster mode.
                              
                                 trnsportno is the port number that Stat Server uses for TCP/IP
                                 connection to Configuration Server. Specifying this parameter is
                                 optional.
                                IPaddress is the IP address that Stat Server uses for TCP/IP connection
                                 to Configuration Server. Specifying this parameter is optional.
                              Note: If the host or application name contains spaces or hyphens (–),
                                       enclose it in double quotation marks.
                                       For example, to start Stat Server with parameters specifying the
                                       host as cs-host, port as 2020, and name as Stat Server 03, type:
                                       ./statserv -host "cs-host" -port 2020 -app "Stat Server 03"
                          where:
                          •   hostname refers to the name of the host on which Configuration Server is
                              running.
                          •   portno refers to the communication port that client applications must use
                              to connect to Configuration Server.
                          •   application refers to the name of the Stat Server Application object as
                              defined to the Configuration Server.
                              
                                  Solution is the name of the Stat Server solution to which the Stat
                                  Server application belongs. Specifying this parameter is mandatory if
                                  Stat Server is to operate in cluster mode.
                          •   trnsportno is the port number that Stat Server uses for TCP/IP connection
                              to Configuration Server. Specifying this parameter is optional.
                          •   IPaddress is the IP address that Stat Server uses for TCP/IP connection to
                              Configuration Server. Specifying this parameter is optional.
                          Note: If the host or application name contains spaces or hyphens (–), enclose
                                   it in double quotation marks.
                          For example, to start a Stat Server application in regular mode with parameters
                          specifying the host as cs-host, port as 2020, and name as Stat Server 03,
                          from the Stat Server working directory, type:
                              statserv.exe -host "cs-host" -port 2020 -app "Stat Server 03"
As a Windows Service
                          1. Open the Windows Control Panel and double-click the Services icon. The
                             Services dialog box opens.
                          2. Select your Stat Server service from the list and click Start. (If you did
                             not install Stat Server as a Windows Service, your application does not
                             appear for selection in the Services list box.)
                          Note: Since you can install the Local Control Agent (LCA) as a Windows
                                   Service with the user interface disabled, all servers started through
                                   Genesys Administrator, in this case, are started without a console,
                                   unless you specifically select the Allow Service to Interact with
                                   Desktop check box for both LCA and Stat Server.
                          •   Manually on UNIX.
                          •   Manually on Windows.
                          •   Via the Windows Control Panel.
                          Note: Be sure that the Auto Restart checkbox is cleared for the Stat Server
                                   Application in the Genesys Administrator to prevent Stat Server from
                                   self-starting.
On UNIX
                          Stop a Stat Server application on UNIX using any one of the following
                          methods:
                          •   On the command line, type kill -SIGTERM processid where processid
                              is Stat Server’s UNIX process ID.
                          •   Press ^C from the active Stat Server window.
                          •   If you are using LCA and SCS, you can stop Stat Server from running on
                              UNIX using Genesys Administrator.
On Windows
                          If Stat Server is running as an application—not as a Windows Service—switch
                          to its console window and press Ctrl+Break to stop it.
                          If you are running Stat Server as a Windows NT Service, you should stop it
                          only from the Services Control Manager. To stop Stat Server running as a
                          Windows NT Service:
                          1. Open the Control Panel and double-click the Services icon. The Services
                             dialog box opens.
                          2. Select your Stat Server service from the list and click Stop.
• Manually on Windows
                         Note: Be sure that the autorestart property is cleared for the Stat Server
                                  Application to prevent Stat Server from self-starting.
                              Note:     Stat Server does not support the ability to gracefully shut down. If,
                                        at this step, you select Stop Solutions Gracefully, the
                                        Management Layer performs an abrupt shut down of the Stat
                                        Server solution. For this scenario, consider configuring the
                                        suspending-wait-timeout option, described on page 94.
On Windows
                         If the Stat Server solution is running as a Windows application switch to its
                         console window and press Ctrl+Break to stop it.
 11                   Optimizing Performance
                      Review the recommendations provided in this chapter to optimize Stat Server
                      performance. This chapter contains the following sections:
                      
                          Hardware-Related Recommendations, page 111
                      
                          Software-Related Recommendations, page 112
Hardware-Related Recommendations
                      When you are planning to deploy Stat Server to your environment, follow
                      these recommendations:
   For Stat Server    For Stat Server operation in regular mode:
     Operating in
                      •   Consider the following formula, which approximates Stat Server memory,
    Regular Mode
                          in megabytes, for a typical large contact center:
                               MemoryReqd = 100 + (NStatistics × 0.0012)
                          where NStatistics represents the number of opened statistics and 0.0012
                          refers to approximately 1.2 KB of memory per statistic. This formula
                          applies to Stat Server memory calculation of core statistics. Java Extension
                          clients might request additional memory of which Stat Server is unaware.
                          For example, Stat Server on a computer with 1.5 GB of memory should be
                          more than ample to handle CC Analyzer requests of 30,000 active Agent or
                          Place objects that originate from the Genesys-provided Agent and Place
                          reports):
                          NStatistics    = 28 statistics/report layout × 30,000 objects
                                         = 840,000 statistics
                          MemoryReqd     = 100 + (840,000 × 0.0012)
                                         = 1,108 MB
                          For smaller contact centers, you can reduce the constant (100) to a smaller
                          value.
Software-Related Recommendations
      For Stat Server   •   For Stat Server applications that write to the Stat Server database,
        Operating in        configure options only for the tables that you need by setting the following
       Regular Mode         configuration options:
                            
                                login-table
                            
                                qinfo-table
                               status-table
                            
                                voice-reasons-table
                        •   Review the configuration options that are related to write operations to this
                            database:
                            
                                For Oracle, Microsoft SQL, and DB2 relational database management
                                systems (RDBMSs), set the enable-binding option to Yes.
                            
                                Set the local-time-in-status-table configuration option to No if you
                                do not need a translation of UTC time to the time zone of the host on
                                which Stat Server is deployed.
                            
                                Set ixn-id-in-status-table to No for Solution Reporting and other
                                clients that employ only an interaction’s connection ID.
                        You can improve Stat Server performance further by tuning Stat Server
                        configuration options:
                        •   Specify only the debugging log level that you need by setting the debug-
                            level configuration option appropriately.
 12                   Application Files
                      The Stat Server installation routine creates a root application folder with two
                      subfolders:
                      •      java
                      •      sql_scripts
                      Tables 18, 19, and 20 in this chapter describe the files comprising each folder.
                      Warning! Do not attempt to run the SQL scripts manually because of the
                                    potential for data loss. They are intended only for Stat Server’s
                                    internal use and advanced database administrators.
 startServer.bat (Windows)      Batch file containing the Stat Server executable and command-line
 run.sh (Unix)                  parameters used to start Stat Server.
 statserv_32.exe (Windows)      Application executable for 32-bit platforms. This file and statserv_64
 statserv_32 (Unix)             appear only on those platforms that support both memory models.
 statserv_64.exe (Windows)      Application executable for 64-bit platforms. This file and statserv_32
 statserv_64 (Unix)             appear only on those platforms that support both memory models.
 sql_scripts subfolder          Subfolder containing three subfolders, holding SQL scripts for each of the
                                following RDBMS types:
                                • DB2
                                • Oracle
                                • Microsoft SQL
                                See Table 19 for the contents of each subfolder.
 login_[dbtype].sql                 SQL script that creates the LOGIN table (and indexes and procedures,
                                    as necessary) for the RDBMS type.
 qinfo_[dbtype].sql                 SQL script that creates the QINFO table (and indexes and procedures,
                                    as necessary) for the RDBMS type.
 status_[dbtype].sql                SQL script that creates the STATUS table (and indexes and procedures,
                                    as necessary) for the RDBMS type.
 status_ixnid_[dbtype].sql          A variation of the status_[dbtype] script that creates the STATUS table
                                    with one additional field, IxnID.
 status_ltime_[dbtype].sql          A variation of the status_[dbtype] script that creates the STATUS table
                                    with two additional fields, StartLocalTime and EndLocalTime, to
                                    store the start and end times in the local time zone.
 status_ltime_ixnid_[dbtype].sql     A variation of the status_[dbtype] script that creates the STATUS table
                                     with three additional fields, IxnID, StartLocalTime, and
                                     EndLocalTime, to store the start and end times in the local time zone.
 voice_reasons_[dbtype].sql          SQL script that creates the VOICE_REASONS table (and indexes and
                                     procedures, as necessary) for the RDBMS type.
ssjcldr.class Java class loader; a member of the Stat Server Java host environment
 statserver.jar                  Library that is part of the Stat Server Java SDK, which, in turn, is part of
                                 the Stat Server Java host environment
 kvlists.jar                     Library that is part of the Stat Server Java SDK, which, in turn, is part of
                                 the Stat Server Java host environment. Stat Server uses this file in
                                 conjunction with Stat Server Java extensions.
 kv65_adapter.jar                Library that is part of the Stat Server Java SDK, which, in turn, is part of
                                 the Stat Server Java host environment
 ext folder                      Directory to store the Genesys solution-specific extensions, such as:
                                 • eServiceContactStat.jar
                                 • eServiceInteractionStat.jar
                                 • eServiceSystemStat.jar
                                 • OCCStatExtension.jar
 lib folder                      Directory to store the Genesys’ solution-specific libraries, such as:
                                 • dsw_api_java.jar
                                 • dsw_extension_core.jar
                                 • dsw_transformers.jar
                      Note: The appendix applies to Stat Server applications that operate in regular
                               mode only.
Introduction
                      Stat Server stores status data about places and agents in the STATUS table and
                      data about queues in the QINFO table. Stat Server also maintains information
                      about agent login and logout events in its LOGIN table. These tables are
                      independent and do not reference each other. Genesys Info Mart and custom
                      reporting use these tables.
                      The VOICE_REASONS table stores hardware and software reasons for agents to
                      change or continue the Ready and NotReady states and the AfterCallWork work
                      mode, when handling voice interactions. Genesys Info Mart uses this table and
                      makes this data available for custom reporting.
                         DBID refers to the database identifier that the Configuration Layer assigns to a
                         telephony object when an enterprise is configured.
                         Note: Stat Server, while functioning in backup mode, does not write data to
                                  its database, even if configured to do so. This enables the primary or
                                  backup Stat Server, while functioning as the primary application, to
                                  store data to the same database.
                         Note: Data from the VOICE_REASONS table is not available for custom reporting
                                  directly from the Stat Server database. Therefore, the structure of the
                                  VOICE_REASONS table is not provided in this guide.
                         Table 21 describes the LOGIN table’s fields, which are presented in order of
                         appearance.
                          SWITCHDBID             The DBID of the switch at whose DN the agent has logged in
                                                 or out.
                          DNDBID                 The DBID of the DN at which the agent has logged in or out.
                                                 This value is 0 (zero) if the agent has logged in to or logged
                                                 off a media channel.
                          QUEUEDBID              The DBID of the ACD queue where the agent has logged in or
                                                 out.
PLACEDBID The DBID of the place where the agent has logged in or out.
                          LOGINID                The login ID of the resource for this record. The initial size of
                                                 this field, as defined in the login.sql script for your RDBMS,
                                                 is 255 characters, but you can adjust it as appropriate for your
                                                 environment. Where the agent has logged in to or logged off a
                                                 media channel, this field stores the media type. Stat Server
                                                 gathers this information from the MediaType attribute of the
                                                 triggering TEvent.
                          APP_DBID               DBID of Stat Server application. Used only with Oracle RAC
                                                 and if the identity-in-login-table option is set to yes.
                         option is set to yes. Table 22 describes this table’s fields, which are presented
                         in their order of appearance.
 ConnID                 An identifier that T-Server assigns to the connected call. The value in this field is 0
                        (zero) if the status is not related to the call.
                        In multi-site scenarios, if the first transfer connection ID differs from the current
                        connection ID associated with the call, the value stored in this field is the first
                        transfer connection ID. Prior to Stat Server release 7.0.3, this field stored the
                        current connection ID.
 Status                 The status of the transition of a call through a queue whose DBID is displayed in
                        the QueueDBID field (of this table). The possible values of 1–9 indicate the
                        following statuses and durations:
                        Diverted from queue (answered while            3     Time in queue plus time spent
                        ringing)                                             ringing
                        Diverted from queue (abandoned while           4     Time in queue plus time spent
                        ringing)                                             ringing
                        Party changed from queue (for                  5     Time in queue plus time spent
                        consultation calls only)                             ringing until party changed
 StartTime              A sequence number representing the date and time when the status displayed in the
                        Status field (of this table) began. The sequence begins with January 1, 1970,
                        12:01 AM UTC and increments every second. For example, 878159351 represents
                        October 29, 1997, 13:09:11. Each new second represents an increment of 1 in the
                        sequence.
Duration The duration, in seconds, of the status displayed in the Status field.
 EndTime                A sequence number representing the date and time when the status displayed in the
                        Status field (of this table) ended. The sequence begins with January 1, 1970,
                        12:01 AM, UTC, and increments each second. For example, 878159351 represents
                        October 29, 1997, 13:09:11. Each new second represents an increment of 1 in the
                        sequence.
*. Indicates that a call was cleared from a virtual queue (diverted to an agent’s DN from another virtual
   queue). This status is based on the CallCleared retrospective, instantaneous action. (Refer to the Frame-
   work 8.5 Stat Server User’s Guide for a description of this action.)
                         Note: The StartLocalTime, EndLocalTime, and IxnID fields appear only if the
                                  appropriate script was run to create the STATUS table. Refer to Table 19
                                  on page 116 for descriptions of the scripts.
                         Stat Server writes to this table only if the status-table configuration option is
                         set to yes. Table 23 describes this table’s fields, which are presented in their
                         order of appearance.
 ID                         A unique key field used for internal purposes. Upon reaching 4,294,967,296
                            (that is, 232), Stat Server restarts the counter reusing all values starting from 1,
                            provided that no records are associated with the IDs to be reused.
                            Warning! To store new records after the number of records in the STATUS table
                            reaches 4,294,967,296, clear the STATUS table. To keep previous records, back
                            up this table’s data into a backup database prior to clearing the table.
 AgentDBID                  The database ID (DBID) of an agent, logged into the place (which DBID is
                            displayed in the Place DBID), or 0 (zero).
 Status                     The status of the place whose DBID appears in the PlaceDBID field or the status
                            of the agent whose DBID appears in the AgentDBID field. If agent is logged into
                            a place, he or she shares the status of the place and this status is written to the
                            table. Agent status is written when the agent is not logged into any place.
                            The following lists STATUS field values and their significance:
                            4           WaitForNextCall (Ready)
                            5           OffHook
                            6           CallDialing
                            7           CallRinging
                            8           NotReadyForNextCall
                            9           AfterCallWork
                            13          CallOnHold
                            16          ASM_Engaged
                            17          ASM_Outbound
                            18          CallUnknown
                            19          CallConsult
                            20          CallInternal
                            21          CallOutbound
                            22          CallInbound
                            23          LoggedOut
 StartTime                  A sequence number representing the date and time when the status displayed in
                            the Status field (of this table) began. The sequence begins with January 1,
                            1970, 12:01 AM UTC and increments each second. For example, 878159351
                            represents October 29, 1997, 13:09:11. Each new second is represented by an
                            increment of 1 in the sequence.
 Duration                   The duration, in seconds, of the status displayed in the Status field in this
                            table.
EndTime                     A sequence number representing the date and time when the status displayed in
                            the Status field (of this table) ended. The sequence begins with January 1,
                            1970, 12:01 AM, UTC, and increments each second. For example, 878159351
                            represents October 29, 1997, 13:09:11. Each new second is represented by an
                            increment of 1 in the sequence.
                            Beginning with the 7.1 release, if Stat Server is configured not to set status end
                            times during updates (status-table-update-endtime-at-end-only=yes), this
                            field holds a 0 (zero) value if the status does not complete before the update of
                            long-running statuses.
ConnID                      An identification number that T-Server assigns to the connected call. The value
                            in this field is 0 (zero) if the status is not related to a voice interaction.
                            In multi-site scenarios, if the first transfer connection ID differs from the
                            current connection ID associated with the call, the value stored in this field is
                            the first transfer connection ID. Prior to Stat Server release 7.0.3, this field
                            stored the current connection ID.
StartLocalTime              A string containing a user-defined format for the local time of status start. The
                            format of the start local time is controlled by the time-format option. This field
                            is populated if the local-time-in-status-table configuration option has been
                            enabled.
EndLocalTime                A string that contains a user-defined format for the local time of status end. The
                            format of the end local time is controlled by the time-format option. This field
                            is populated if the local-time-in-status-table configuration option has been
                            enabled.
IxnID                       A string that contains the number that Interaction Server assigns to an
                            interaction. The value of this field is null if the ixn-id-in-status-table
                            configuration option is set to off or if the associated status for this record
                            originated from a source other than Interaction Server. In conjunction with a
                            yes setting for the ixn-id-in-status-table configuration option, it is also
                            recommended, although not required, that you set multimedia-activity-in-
                            status-table to true.
                         Stat Server retrieves Reasons information from data that is attached to the
                         EventAgentReady and EventAgentNotReady TEvents for a DN assigned to a place
                         that has a logged-in agent. Stat Server inserts reason records into the table
                         retroactively—a record is added only after the Reasons value or work mode has
                         changed or the DN state associated with the reason has ended.
                         The data from the Stat Server’s VOICE_REASONS table is not available for custom
                         reporting off the Stat Server database directly; therefore, no description of the
                         VOICE_REASONS table structure is provided in this guide.
                         Reasons data is available to users of Genesys Info Mart releases 7.2–7.6. Refer
                         to the Genesys Info Mart Operations Guide for information about Reasons data
                         in the Info Mart database.
                      Note: The appendix applies to Stat Server applications that operate in regular
                               mode only.
                        Note: Some EndTime fields may hold 0 values for incompleted statuses.
                                 Basing a purge operation solely on this field is not advisable.
                        Therefore, you should break up the operation so that the RDBMS purges data
                        into whatever you determine to be manageable chunks.
                        The following generalized SQL statement deletes data:
                        DELETE FROM StatServerTable WHERE criteria ;
                        To delete rows from the LOGIN table for resources that logged in prior to
                        July 30, 2001, issue the following query against the database:
                        DELETE FROM LOGIN WHERE Time < 996451200 ;
                        [ 996,451,200 = 11,533 days (between 1/1/70 and 7/30/01) * 86,400 sec/day ]
                        This assumes that the volume of data in your database prior to July 30, 2001 is
                        of a manageable enough size to be purged by one DELETE statement without
                        adversely impacting performance.
                      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.5 Deployment Guide, which will help you configure and
                          install other Framework components.
                      •   The Framework 8.5 Stat Server User’s Guide, for information about the
                          makeup of a statistic and the manner in which Stat Server connects and
                          provides data to its clients.
                      •   Genesys Administrator Help, for information about configuring Genesys
                          applications using Genesys Administrator.
                      SIP Cluster
                      •   SIP Cluster Solution Guide, which serves as a central location for the
                          descriptions and deployment instructions of all components of a SIP
                          Cluster.
                      •   SIP Proxy Deployment Guide, which describes the interface for SIP
                          communication between SIP devices and SIP Server components.
                      •   SIP Voicemail Deployment Guide, which describes the options and
                          instructions for configuring a SIP voicemail server.
                       Genesys
                       •   The Genesys 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 Security Deployment Guide, which will help you install the
                           Genesys Security Pack and manage security certificates for the hosts in
                           your contact center.
                       •   The Reporting Technical Reference series, which describes the stat type
                           definitions provided by Genesys solutions.
                       •   Genesys Technical Publications Glossary, available on the Genesys
                           Documentation website 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 (docs.genesys.com).
                       Genesys product documentation is available on the:
                       •   Genesys Customer Care website at http://genesys.com/customer-care.
                       •   Genesys Documentation website at http://docs.genesys.com/.
                       •   Genesys Documentation Library DVD, which you can order by e-mail
                           from Genesys Order Management at orderman@genesys.com.
                       Document Conventions
                       This document uses certain stylistic and typographical conventions—
                       introduced here—that 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 24 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.
O                                                      S
old-stats-remove-interval configuration option 42      segment log option . . . . . . . . . . . . . . 73
                                                       send-timeout configuration option . . . . . . . 45
                                                       Services Layer . . . . . . . . . . . . . . . . . 10
P                                                      show-attached-data configuration option . . . 45
                                                       show-queued-interactions configuration option45
PATH environment variable . . . . . . . . . 57
                                                       silent installation . . . . . . . . . . . . . . . . 99
performance considerations . . . . . . . . . 112          defined . . . . . . . . . . . . . . . . . . . 99
performance counters . . . . . . . . . . . . 18        sml log option . . . . . . . . . . . . . . . . . 94
persistent statistics . . . . . . . . . . . . . . 32
                                                       SNMP connections . . . . . . . . . . . . . . 41
PLACEDBID field                                        solution type
  in LOGIN table. . . . . . . . . . . . . . . 122         Multimedia . . . . . . . . . . . . . . . . . 21
PlaceDBID field
                                                       spool log option . . . . . . . . . . . . . . . . 78
  in STATUS table . . . . . . . . . . . . . . 125      square brackets . . . . . . . . . . . . . . . 136
position-extension-linked configuration option 42      standard log option . . . . . . . . . . . . . . 83
pound sign (#) . . . . . . . . . . . . . . . . 56
                                                       starting . . . . . . . . . . . . . . . . . . . . 108
prerequisites                                          starting Stat Server
  for starting Stat Server . . . . . . . .101, 107        as an Windows NT Service . . . . . . . . 104
print-attributes log option . . . . . . . . . . . 76      on UNIX . . . . . . . . . . . . . . . . . . 103
purge criteria . . . . . . . . . . . . . . . . . 129      on Windows . . . . . . . . . . . . . . 103, 108
purging
                                                       StartLocalTime field . . . . . . . . . . . . 50, 53
  the Stat Server database . . . . . . . . . 129
                                                          in STATUS table . . . . . . . . . . . . . 126
                                                       StartTime field
Q                                                         in QINFO table . . . . . . . . . . . . . . 123
                                                          in STATUS table . . . . . . . . . . . . . 125
QINFO table . . . . . . . . . . . . . . . 52, 122      Stat Server
qinfo-table configuration option . . . . . . . 52         application properties . . . . . . . . . . . . 23
queue statuses . . . . . . . . . . . . . . . . 52         installing. . . . . . . . . . . . . . . . . 95, 96
QUEUEDBID field                                           multiple Stat Servers . . . . . . . . . . . . 54
  in LOGIN table. . . . . . . . . . . . . . . 122         optimizing performance . . . . . . . . . . 112
QueueDBID field                                           starting manually . . . . . . . . . . . 103, 108
  in QINFO table . . . . . . . . . . . . . . 123          statserver section . . . . . . . . . . . . 32–54
queue-disable-dcid-for-missed-calls                    Stat Server cluster . . . . . . . . . . . . . . . 21
        configuration option . . . . . . . . . 42      Stat Server metadata . . . . . . . . . . . . . 14
queue-use-pseudo-actions configuration option .        Stat Server sections
        43                                                db-direct-connection . . . . . . . . . . . . 63
                                                          java-config . . . . . . . . . . . . . . . . . 58
                                                          java-extensions . . . . . . . . . . . . . . . 61
R                                                         jvm-option . . . . . . . . . . . . . . . . . . 60
                                                          log . . . . . . . . . . . . . . . . . . . . . . 72
rebind-delay log option . . . . . . . . . . . . 94        log-filter . . . . . . . . . . . . . . . . . . . 90
reconnect-timeout configuration option . . . 43           log-filter-data . . . . . . . . . . . . . . . . 91
redundancy types . . . . . . . . . . . . . . 15           statserver . . . . . . . . . . . . . . . . . . 30
reg-delay configuration option . . . . . . . . 43      Stat Server solution . . . . . . . . . . . . . 108
reg-dns-chunk-delay configuration option . . 44           stopping . . . . . . . . . . . . . . . . . . 108
reg-dns-chunk-volume configuration option . 44         Stat_Server_810.xml . . . . . . . . . . . . . 14
registering DNs                                        statistics
  chunk size . . . . . . . . . . . . . . . . . . 44       persistent statistics . . . . . . . . . . . . . 32
  interval duration . . . . . . . . . . . . . . . 44   statlib . . . . . . . . . . . . . . . . . . . . . 11
reset-delay configuration option . . . . . . . 26      statserver section . . . . . . . . . 30, 45, 46, 47
rp-handle-queueing-events configuration option .          accept-clients-in-backup-mode configuration
         44                                                    option . . . . . . . . . . . . . . . . . . 31
                                                          allow-asm-outbound-on-established
                                                               configuration option . . . . . . . . . . . 31
                                                          allow-vq-orig-dns-from-environment
U
uninstalling
  the Stat Server application . . . . . . . . . 99
UNIX
  installing Stat Server . . . . . . . . . . . . 95
  starting Stat Server manually . . . . . . . 103
  stopping Stat Server. . . . . . . . . . . . 105
use-server-id configuration option . . . . . . 54
V
vag-statistics-active-agents-only configuration
         option . . . . . . . . . . . . . . . . 46
verbose log option . . . . . . . . . . . . . . 72
version numbering, document . . . . . . . . 135
virtual agent groups . . . . . . . . . . . .46, 68
VOICE_REASONS table . . . . . . . . . . . 54
voice-reasons-table configuration option. . . 54
vq-ignore-third-party-dn configuration option. 47
vq-treat-unknown-third-party-dn-as-agent-dn
         configuration option . . . . . . . . . 47
vq-use-alt-enter-time configuration option .47, 48
W
warm standby mode . . . . . . . . . . . . . 15
warn-unsent-sql-statements configuration option
          54
Windows
  installing Stat Server . . . . . . . . . . . . 96
  starting Stat Server manually . . . . .103, 108
Windows NT Service Control Manager . . . 105
writing
  to the same database table . . . . . . . . . 54
X
x-conn-debug-all log option . . .    .   .   .   .   .   .   80
x-conn-debug-api log option . . .    .   .   .   .   .   .   80
x-conn-debug-dns log option . . .    .   .   .   .   .   .   80
x-conn-debug-security log option     .   .   .   .   .   .   80
x-conn-debug-select log option .     .   .   .   .   .   .   79