81gvp Dep

Download as pdf or txt
Download as pdf or txt
You are on page 1of 522

Genesys Voice Platform 8.

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.

Copyright © 2002–2013 Genesys Telecommunications Laboratories, Inc. All rights reserved.

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.genesyslab.com for more information.
Each product has its own documentation for online viewing at the Genesys Customer Care 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.

Your Responsibility for Your System’s Security


You are responsible for the security of your system. Product administration to prevent unauthorized use is your
responsibility. Your system administrator should read all documents provided with this product to fully understand the
features available that reduce your risk of incurring charges for unlicensed use of Genesys products.

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. © 2013 Genesys
Telecommunications Laboratories, Inc. All rights reserved.
The Crystal monospace font is used by permission of Software Renovation Corporation,
www.SoftwareRenovation.com.

Technical Support from VARs


If you have purchased support from a value-added reseller (VAR), please contact the VAR for technical support.

Technical Support from Genesys


If you have purchased support directly from Genesys, please contact Genesys Customer Care. Before contacting
technical support, please refer to the Genesys Care Program Guide for complete contact information and
procedures.

Ordering and Licensing Information


Complete information on ordering and licensing Genesys products can be found in the Genesys Licensing Guide.

Released by
Genesys Telecommunications Laboratories, Inc. www.genesyslab.com

Document Version: 81gvp_dep_07-2013_v8.1.701.00


Table of Contents
List of
Procedures ................................................................................................................. 11

Preface ................................................................................................................. 15
About Genesys Voice Platform................................................................ 15
Intended Audience................................................................................... 16
Making Comments on This Document .................................................... 16
Contacting Genesys Technical Support................................................... 16
Document Change History ...................................................................... 16

Part 1 Planning ....................................................................... 29

Chapter 1 Introduction........................................................................................... 31
Overview.................................................................................................. 31
Integration with Genesys Framework ................................................. 31
GVP Interactive Voice Response........................................................ 31
Third-Party Servers............................................................................. 32
Features .................................................................................................. 32
Core Telephony Features ................................................................... 32
Advanced Features............................................................................. 33
New in This Release................................................................................ 33

Chapter 2 GVP Architecture.................................................................................. 45


GVP and the Voice Platform Solution...................................................... 45
GVP Components.................................................................................... 46
Resource Manager ............................................................................. 47
Policy Server....................................................................................... 52
CTI Connector .................................................................................... 53
PSTN Connector................................................................................. 56
Media Control Platform ....................................................................... 59
Call Control Platform........................................................................... 65
Fetching Module and Squid ................................................................ 66
MRCP Proxy ....................................................................................... 68

Deployment Guide 3
Table of Contents

Supplementary Services Gateway...................................................... 69


Reporting Server................................................................................. 72
Other Genesys VPS Components........................................................... 76
SIP Server .......................................................................................... 77
Management Framework .................................................................... 77
Composer ........................................................................................... 79
Third-Party Software................................................................................ 80
Automatic Speech Recognition........................................................... 80
Text-to-Speech.................................................................................... 80
Reporting Database ............................................................................ 80
Web Server ......................................................................................... 81
Communication Within GVP .................................................................... 82
Communication Protocols ................................................................... 82
Secure Communications..................................................................... 83
IPv6 Communications ......................................................................... 84
SNMP Monitoring .................................................................................... 85
High Availability and Scalability ............................................................... 85
Resource Manager High Availability Solutions ........................................ 86
External Load Balancer ...................................................................... 86
Virtual IP Takeover Solution—Windows.............................................. 87
Virtual IP Takeover Solution—Linux.................................................... 87
Microsoft NLB—Windows ................................................................... 88
Resource Manager ............................................................................. 91
MRCP Proxy ....................................................................................... 93
Policy Server....................................................................................... 93
Reporting Server................................................................................. 93

Chapter 3 How GVP Works ................................................................................... 95


How the Resource Manager Works......................................................... 95
Session Management ......................................................................... 96
Service Selection ................................................................................ 98
Policy Enforcement ........................................................................... 103
Service-Request Modification ........................................................... 106
Resource Management .................................................................... 106
Full Call Recording Requests (from Cisco UCM).............................. 117
How the Policy Server Works ................................................................ 118
DID Management.............................................................................. 119
Policy Management .......................................................................... 120
Service Description ........................................................................... 125
High Availability................................................................................. 125
How the CTI Connector Works .............................................................. 125
Inbound Call Mapping....................................................................... 126
Outbound Calls ................................................................................. 128

4 Genesys Voice Platform 8.1


Table of Contents

Genesys CTI Deployment Modes ..................................................... 129


Integration with Cisco ICM ................................................................ 130
Cisco CTI Deployment Modes .......................................................... 132
How the PSTN Connector Works .......................................................... 132
Operational Overview ....................................................................... 133
Signaling Protocols ........................................................................... 133
Transfer Services and Features........................................................ 134
Selected Features............................................................................. 136
How the Media Control Platform Works................................................. 139
Operational Overview ....................................................................... 139
Media Services ................................................................................. 144
MSML-Based Media Services .......................................................... 150
Speech Services ............................................................................... 152
Transfers........................................................................................... 153
Conferencing .................................................................................... 164
Debugging VoiceXML Applications ................................................... 164
HTTP Basic Authentication ............................................................... 165
How the Call Control Platform Works .................................................... 165
Operational Overview ....................................................................... 165
Device Profiles .................................................................................. 168
How the Fetching Module Works........................................................... 169
Caching............................................................................................. 170
How the MRCP Proxy Works ................................................................ 175
Operational Overview ....................................................................... 175
Resource Management .................................................................... 175
High Availability................................................................................. 176
Data Collection and Logging............................................................. 176
Support for Multiple Speech Servers ................................................ 177
How the Supplementary Services Gateway Works ............................... 177
Operational Overview ....................................................................... 177
Requests and Responses................................................................. 178
Asynchronous Result Notifications ................................................... 182
Call Initiation Through SIP Server .................................................... 183
Call-Progress Detection .................................................................... 184
Port-Availability Notifications............................................................. 185
Persistent Storage ............................................................................ 186
Processing Requests ........................................................................ 186
Database Cleanup ............................................................................ 188
Support for Nuance SessionXML .......................................................... 189
MRCPv2 Support.............................................................................. 189
Resource Manager Support.............................................................. 189
Logging and Reporting .......................................................................... 190
GVP Logging .................................................................................... 190

Deployment Guide 5
Table of Contents

CDR Reporting ................................................................................. 194


OR Service ....................................................................................... 196
VAR Per-Call IVR Actions Reporting Service ................................... 196
SQA Service ..................................................................................... 197
Reporting Client ................................................................................ 200
Reporting Server............................................................................... 200
Reporting Web Services ................................................................... 202

Chapter 4 Prerequisites and Planning ............................................................... 205


GVP Installation DVDs .......................................................................... 205
Prerequisites.......................................................................................... 207
Dialogic Telephony Cards...................................................................... 212
Antivirus Software.................................................................................. 213
Host Setup............................................................................................. 213
PSTN Connector and GVPi Support in 8.1.5......................................... 214
Voice Platform Solution ......................................................................... 215
Important Information about HMT Permissions and Access Rights ...... 220

Part 2 Installation ................................................................. 221

Chapter 5 Preparing the Operating System for GVP ........................................ 223


Windows Services and Settings ............................................................ 223

Chapter 6 Installing GVP ..................................................................................... 229


Task Summaries .................................................................................... 229
Preparing the Hosts for GVP ................................................................. 232
Configuring Hosts in the Configuration Database............................. 233
Installing GVP by Using the Wizard....................................................... 238
Installing the GAX-GVP Reporting Plugin ............................................. 245
Reports—Using GA vs. Using GAX .................................................. 245
Summary .......................................................................................... 246
GVP-GAX Reporting Plugin Privileges .................................................. 250

Chapter 7 Post-Installation Configuration of GVP ............................................ 253


Task Summary....................................................................................... 253
Configuring the GVP Components ........................................................ 257
Creating Solution Objects ................................................................. 258
Integrating Application Objects ......................................................... 260
Creating a Connection to a Server ................................................... 262
Provisioning the Speech Resources ................................................. 264

6 Genesys Voice Platform 8.1


Table of Contents

Provisioning the MRCP Proxy .......................................................... 270


Configuring the CTI Connector for Cisco ICM .................................. 273
Provisioning the PSTN Connector .................................................... 274
Provisioning the Supplementary Services Gateway ......................... 278
Preparing the Call Control Platform for Outbound Calling ................ 287
Using Resource Groups.................................................................... 288
Creating IVR Profiles and DID Groups ............................................. 291
Assigning Default Tenants and Creating Default Profiles ................. 297
Integrating the Reporting Server User Interface with GVP ............... 300
Configuring the Reporting Server Locale.......................................... 303
Reporting Server Database ................................................................... 304
Before You Begin .............................................................................. 305
Setting Up the Database................................................................... 305
Partitioning CDR and Event Log Tables ........................................... 308
Recovery Model for Microsoft SQL Server ....................................... 309

Chapter 8 Maintaining the Genesys Voice Platform ......................................... 311


Starting and Stopping the Components ................................................. 311
Graceful Shutdown of the Reporting Server ..................................... 313
Uninstalling the Components................................................................. 314
Managing the Cache ............................................................................. 316
Squid Cache Management ............................................................... 317
Page Collector Cache Management ................................................. 319

Part 3 Appendixes................................................................ 321

Appendix A Installing GVP Manually (Windows).................................................. 323


Task Summaries .................................................................................... 323
Preinstallation Activities......................................................................... 327
Creating Application Objects in the Configuration Database ............ 327
Installing GVP (Windows)...................................................................... 337

Appendix B Installing GVP Manually (Linux)........................................................ 355


Task Summaries .................................................................................... 355
Installing GVP (Linux)............................................................................ 360
Installing and Configuring the PSTN Connector.................................... 368
JCT-specific Configuration ................................................................ 368
Configuring Dialogic.......................................................................... 368
Interworking with SIP-Server ............................................................ 369
Dialogic Installation ........................................................................... 371
Configuring Dialogic Boards ............................................................. 373

Deployment Guide 7
Table of Contents

Appendix C Deploying Multiple Media Control Platforms ................................... 389


Task Summary—Genesys Administrator Deployment........................... 389
Task Summary—Manual Deployment ................................................... 392

Appendix D Deploying GVP Multi-Site Environments ......................................... 397


Overview................................................................................................ 397
Requirements for Multi-Site Deployments ........................................ 398
Sites and Segments .............................................................................. 399
Synchronization Across Sites ................................................................ 401
Site Policy Enforcement.................................................................... 401
Site Resource Sharing...................................................................... 406
GVP Multi-Site Reporting ...................................................................... 411
Genesys Administrator Reporting Interface ...................................... 411
Deploying Disaster Recovery Sites ....................................................... 415

Appendix E Resource Manager High Availability ................................................ 419


White Papers about High Availability..................................................... 419
Overview................................................................................................ 419
Integrating GVP with SIP Server for an Active-Active Resource Manager
Configuration .................................................................................... 423
Resource Manager HA (Windows) ........................................................ 426
Task Summary .................................................................................. 426
Resource Manager HA IP Address Takeover for Windows ................... 439
Resource Manager HA (Linux) .............................................................. 445
Task Summary .................................................................................. 446
Creating Alarm Reaction Scripts, Conditions, and Reaction Applications
455

Appendix F Reporting Server High Availability ................................................... 465


Overview................................................................................................ 465
Reporting Server HA Segregated Solution............................................ 467
Reporting Server HA Shared Solution................................................... 468

Appendix G HTTP Caching and Performance Planning ...................................... 471


HTTP Caching in GVP........................................................................... 471
Caching Within the Media and Call Control Platforms ...................... 472
Cache Control........................................................................................ 473
Server-Side Cache Control ............................................................... 473
Client-Side Cache Control ................................................................ 473
Configuration Recommendations .......................................................... 475

8 Genesys Voice Platform 8.1


Table of Contents

Identifying Dynamic and Static HTTP Resources ............................. 475


Registration for ECC Variables—Static and Dynamic....................... 475
Squid HTTP Proxy ............................................................................ 476
Cache Control Settings ..................................................................... 476
Considerations and Usage Notes ..................................................... 477

Appendix H GVP Call Flows ................................................................................... 479


Sample Call Flows................................................................................. 479
Basic Inbound-Call Flow ................................................................... 480
Basic Outbound-Call Flow ................................................................ 482
Basic CTI Call Flow (Inbound) .......................................................... 484
Basic CTI Connector/ICM Call Flows (Inbound) ............................... 486
Basic PSTN Call Flow (Inbound) ...................................................... 490
Basic PSTN Call Flows (Outbound).................................................. 491

Appendix I Specifications and Standards ........................................................... 495


Specifications......................................................................................... 495
Related Standards ................................................................................. 496
RFC 5552 Support................................................................................. 498

Supplements Related Documentation Resources ................................................... 505


Document Conventions ......................................................................... 509

Index ............................................................................................................... 511

Deployment Guide 9
Table of Contents

10 Genesys Voice Platform 8.1


List of Procedures
Setting Service Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Configuring Settings for System Performance . . . . . . . . . . . . . . . . . . . 226
Configuring a Host in Genesys Administrator. . . . . . . . . . . . . . . . . . . . 233
Installing the Local Control Agent (Windows). . . . . . . . . . . . . . . . . . . . 235
Installing the Local Control Agent (Linux). . . . . . . . . . . . . . . . . . . . . . . 236
Importing the Installation Packages into the Repository. . . . . . . . . . . . 239
Using the Deployment Wizard to Install GVP . . . . . . . . . . . . . . . . . . . . 241
Installing the GAX-GVP Reporting Plugin from an executable. . . . . . . 247
Installing the GAX-GVP Reporting Plugin from inside GAX . . . . . . . . . 248
Creating a Resource Solution Object . . . . . . . . . . . . . . . . . . . . . . . . . . 258
Integrating Application Objects with Resource Manager . . . . . . . . . . . 261
Creating a Connection to a Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
Provisioning Speech Resource Application Objects. . . . . . . . . . . . . . . 265
Assigning the MRCP Server to the Media Control Platform . . . . . . . . . 268
Configuring the MRCP Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
Configuring the MRCP Proxy for HA . . . . . . . . . . . . . . . . . . . . . . . . . . 271
Adding a Speech Server as Primary or Backup . . . . . . . . . . . . . . . . . . 272
Configuring the CTI Connector for Cisco ICM Integration . . . . . . . . . . 273
Configuring the PSTN Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
Configuring a Trunk DN for the PSTN Connector . . . . . . . . . . . . . . . . 277
Configuring the Supplementary Services Gateway . . . . . . . . . . . . . . . 279
Configuring DNs for the Supplementary Services Gateway. . . . . . . . . 280
Configuring a Routing Point DN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Configuring a Voice Over IP Service DN . . . . . . . . . . . . . . . . . . . . . . . 284
Configuring a Voice Treatment Ports DN . . . . . . . . . . . . . . . . . . . . . . . 285
Configuring the Call Control Platform . . . . . . . . . . . . . . . . . . . . . . . . . . 287
Creating a Resource Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Creating IVR Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
Adding a Context Services base URL to an IVR Profile . . . . . . . . . . . . 295

Deployment Guide 11
List of Procedures

Creating DID Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296


Adding the Environment Tenant to the Resource Manager . . . . . . . . . 297
Creating a Default Profile for the Default Tenant . . . . . . . . . . . . . . . . . 298
Updating the Tenant Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
Configuring the Reporting Server User Interfaces . . . . . . . . . . . . . . . . 301
Configuring the Reporting Server Locale . . . . . . . . . . . . . . . . . . . . . . . 303
Setting Up a Database for the Reporting Server . . . . . . . . . . . . . . . . . 307
Starting and Stopping GVP Solution Objects . . . . . . . . . . . . . . . . . . . . 312
Starting and Stopping GVP Application Objects. . . . . . . . . . . . . . . . . . 313
Configuring Application Objects to Start Automatically . . . . . . . . . . . . 314
Uninstalling GVP Components by Using Genesys Administrator. . . . . 315
Uninstalling GVP Components Manually (Windows) . . . . . . . . . . . . . . 315
Scheduling the Caching Logs Rotation (Windows) . . . . . . . . . . . . . . . 318
Purging the Page Collector Cache Manually . . . . . . . . . . . . . . . . . . . . 320
Using the Create New Application Wizard . . . . . . . . . . . . . . . . . . . . . . 328
Importing Application Object Templates Manually . . . . . . . . . . . . . . . . 329
Creating Application Objects Manually. . . . . . . . . . . . . . . . . . . . . . . . . 334
Installing the Squid Caching Proxy (Windows). . . . . . . . . . . . . . . . . . . 337
Installing the Fetching Module (Windows) . . . . . . . . . . . . . . . . . . . . . . 339
Installing the Media Control Platform (Windows) . . . . . . . . . . . . . . . . . 340
Installing the Call Control Platform (Windows) . . . . . . . . . . . . . . . . . . . 343
Installing the Resource Manager (Windows) . . . . . . . . . . . . . . . . . . . . 344
Installing the Reporting Server (Windows) . . . . . . . . . . . . . . . . . . . . . . 345
Installing the Supplementary Services Gateway (Windows) . . . . . . . . 348
Installing the CTI Connector (Windows) . . . . . . . . . . . . . . . . . . . . . . . . 349
Installing the PSTN Connector (Windows) . . . . . . . . . . . . . . . . . . . . . . 350
Installing the Policy Server (Windows) . . . . . . . . . . . . . . . . . . . . . . . . . 351
Installing the MRCP Proxy (Windows) . . . . . . . . . . . . . . . . . . . . . . . . . 352
Installing the Fetching Module (Linux) . . . . . . . . . . . . . . . . . . . . . . . . . 361
Installing the Media Control Platform (Linux) . . . . . . . . . . . . . . . . . . . . 363
Installing the Call Control Platform (Linux) . . . . . . . . . . . . . . . . . . . . . . 365
Installing the Resource Manager (Linux) . . . . . . . . . . . . . . . . . . . . . . . 366
Installing the Supplementary Services Gateway (Linux) . . . . . . . . . . . 367
Installing the PSTN Connector (Linux) . . . . . . . . . . . . . . . . . . . . . . . . . 370
Installing LiS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
Installing Dialogic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372

12 Genesys Voice Platform 8.1


List of Procedures

Configuring DMV Boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374


Configuring JCT Boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
Installing the Policy Server (Linux) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
Installing the MRCP Proxy (Linux) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384
Installing the Reporting Server (Linux) . . . . . . . . . . . . . . . . . . . . . . . . . 385
Using the Media Control Platform Configuration Wizard . . . . . . . . . . . 391
Manually Configuring Multiple Applications on a Single Server . . . . . . 394
Configuring Resource Manager HA (Windows 2003). . . . . . . . . . . . . . 428
Configuring Resource Manager HA (Windows 2008). . . . . . . . . . . . . . 430
Configuring the Resource Manager HA-Pair . . . . . . . . . . . . . . . . . . . . 433
Specifying the NICs to Monitor (Windows) . . . . . . . . . . . . . . . . . . . . . . 435
Configuring the INIT and NLB Script Files (Windows) . . . . . . . . . . . . . 437
Configuring the Resource Manager Service (Windows). . . . . . . . . . . . 438
Configure Resource Manager High Availability Using Virtual IP Address
Takeover for Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
Search the Windows Registry for a Physical Device Identifier . . . . . . . 444
Configuring Simple Virtual IP Failover . . . . . . . . . . . . . . . . . . . . . . . . . 447
Configuring Bonding Driver Failover for RHEL 5 and Lower . . . . . . . . 449
Configuring Bonding Driver Failover for RHEL 6.x . . . . . . . . . . . . . . . . 451
Configuring the INIT and NLB Script Files (Linux) . . . . . . . . . . . . . . . . 453
Specifying the NICs for Monitoring (Linux) . . . . . . . . . . . . . . . . . . . . . . 454
Creating the Third Party Server Template . . . . . . . . . . . . . . . . . . . . . . 456
Creating the Reaction Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
Creating and Configuring the Alarm Reaction Scripts . . . . . . . . . . . . . 459
Creating an Alarm Condition for RM stopped intentionally. . . . . . . . . . 461
Creating an Alarm Condition for RM stopped unexpectedly. . . . . . . . . 463

Deployment Guide 13
List of Procedures

14 Genesys Voice Platform 8.1


Preface
Welcome to the Genesys Voice Platform 8.1 Deployment Guide. This
document provides detailed installation and configuration instructions for
Genesys Voice Platform (GVP). This document prefixes component names
with VP; for example, VP Resource Manager.
This document is valid for the 8.1.x releases of this product only.

Note: For versions of this document created for other releases of this
product, visit the Genesys Technical Support website, or request the
Documentation Library DVD, which you can order by e-mail from
Genesys Order Management at [email protected].

This preface contains the following sections:


 About Genesys Voice Platform, page 15

Intended Audience, page 16

Making Comments on This Document, page 16
 Contacting Genesys Technical Support, page 16

Document Change History, page 16
For information about related resources and about the conventions that are
used in this document, see the supplementary material starting on page 505.

About Genesys Voice Platform


GVP is a software suite that constitutes a robust, carrier-grade voice processing
platform. GVP unifies voice and web technologies to provide a complete
solution for customer self-service or assisted service.
As part of the Voice Platform Solution (VPS), GVP is fully integrated with the
Genesys Management Framework. GVP uses Genesys Administrator, the
standard Genesys configuration and management graphical user interface
(GUI), to configure, tune, activate, and manage GVP components and GVP
voice and call-control applications. GVP interacts with other Genesys
components and can be deployed in conjunction with other solutions, such as

Deployment Guide 15
Preface Intended Audience

Enterprise Routing Solution (ERS), Network Routing Solution (NRS), and


Network-based Contact Solution (NbCS).

Intended Audience
This document is primarily intended for system integrators and administrators.
It has been written with the assumption that you have a basic understanding of:
• Computer-telephony integration (CTI) concepts, processes, terminology,
and applications.
• Network design and operation.
• Your own network configurations.
You should also be familiar with the Genesys Framework architecture.

Making Comments on This Document


If you especially like or dislike anything about this document, feel free to
e-mail your comments to [email protected].
You can comment on what you regard as specific errors or omissions, and on
the accuracy, organization, subject matter, or completeness of this document.
Please limit your comments to the scope of this document only and to the way
in which the information is presented. Contact your Genesys Account
Representative or Genesys Technical Support if you have suggestions about
the product itself.
When you send us comments, you grant Genesys a nonexclusive right to use or
distribute your comments in any way it believes appropriate, without the
incurrence of any obligation to you.

Contacting Genesys Technical Support


If you have purchased support directly from Genesys, please contact Genesys
Customer Care.
Before contacting technical support, please refer to the Genesys Care Program
Guide for complete contact information and procedures.

Document Change History


This section lists topics that are new or that have changed significantly since
the first release of this document.
Release 8.1.7 • Chapter 3, “How GVP Works,” on page 95:

16 Genesys Voice Platform 8.1


Preface Document Change History


Added the section “Support for Nuance SessionXML” on page 189.
• Chapter 4, “Prerequisites and Planning,” on page 205:

Updated Table 12, “Versions Compatible With GVP,” on page 215 for
GVP 8.1.7.
• Chapter 6, “Installing GVP,” on page 229 (shortened the chapter title):

Modified the section “Installing the GAX-GVP Reporting Plugin” on
page 245.

Added a list of Service Quality Reports to Table 17, “GAX-GVP
Reporting Plugin Report Types,” on page 246.

Added the section “GVP-GAX Reporting Plugin Privileges” on
page 250.
• Appendix E, “Resource Manager High Availability,” on page 419:

Revised the note White Papers about High Availability, page 419.

Added the section Integrating GVP with SIP Server for an
Active-Active Resource Manager Configuration, page 423.
 Added the section “Notes on Resource Manager Configuration for
Active-Active (Load Balancing)” on page 440.
• Appendix G, “HTTP Caching and Performance Planning,” on page 471:
 Added the section “Registration for ECC Variables—Static and
Dynamic” on page 475.
Release 8.1.6 • Throughout this book, changed the “GVP” prefix for component names to
the official prefix “VP”; for example, VP Resource Manager.
• Chapter 2, “GVP Architecture,” on page 45:

Added a note regarding SQ reports and NGi to the section “SQ
Reporting Service” on page 74.
 Added a note about GVP reporting’s inability to track Media Server
services use at the tenant level, on page 76.

Added the section “High Availability and Scalability” on page 85,
which includes these solutions:
 “External Load Balancer”
 “Virtual IP Takeover Solution—Windows”

“Virtual IP Takeover Solution—Linux”
 “Microsoft NLB—Windows”

“HA Using Virtual IP”

“HA Using an External Load Balancer”.
• Chapter 3, “How GVP Works,” on page 95:

Added a description of the action taken if the gvp-tenant-id parameter
is missing, following step 1 in section “Multi-Tenant GVP” on
page 100.

Added the section “Speech Resource Limit Policy” on page 105.
 Added the section “Service Level Policies” on page 122, including the
procedure “Setting Service Levels” on page 123.

Deployment Guide 17
Preface Document Change History


Added the section “CTI Connector (ICM) in Type 8 Network VRU
Deployment” on page 131.

Added Table 3, “CPA Categories and Sub-types as Supported with
Dialogic,” on page 138.

Added the MCP-supported codec GSM 6.10 to a table in the section
“Codec Negotiation” on page 148.

Added the section “MSML-Based Media Services” on page 150.

Added a note concerning the SIP transfer method REFER to Table 5,
“SIP Transfer Methods and Supported VoiceXML Transfer Types,” on
page 158.

Added Table 7, “PSTN Connector- and NGI-supported Transfers,” on
page 162.

Added the section “Support for Multiple Speech Servers” on page 177.

Added the section “How the Supplementary Services Gateway Works”
on page 177.

Added a bullet point concerning CODEC and transcoding to the
section “Media Control Platform–Specific Attributes” on page 195.

Moved Reporting Server from Genesys Media Server DVD #1 to
Genesys Media Server DVD #2 in Table 9, “CD Contents,” on
page 205.
 Added the section “SQA and NGI Compatibility” on page 197.
• Chapter 4, “Prerequisites and Planning,” on page 205:
 Added a note about configuring the “Dialogic Circular Buffer Size” on
page 212.

Added GVP 8.1.6 row to Table 12, “Versions Compatible With GVP,”
on page 215.
• Chapter 5, “Preparing the Operating System for GVP,” on page 223:

Added a note about support of VMware to page 223.
• Chapter 6, “Installing GVP,” on page 229:

Added the section “Installing the GAX-GVP Reporting Plugin” on
page 245.
• Chapter 7, “Post-Installation Configuration of GVP,” on page 253:

Added step 12 to the existing procedure “Provisioning Speech
Resource Application Objects” on page 265.
 Added a note to the existing section “Provisioning the MRCP Proxy”
on page 270.

Added the procedure “Adding a Speech Server as Primary or Backup”
on page 272.

Added a note concerning mandatory tenant configuration to the section
“Assigning Default Tenants and Creating Default Profiles” on
page 297.
• Appendix A, “Installing GVP Manually (Windows),” on page 323:

18 Genesys Voice Platform 8.1


Preface Document Change History

• Added a note about limited availability of the Dialogic boards that are
required by PSTNC to the procedure “Installing the Policy Server
(Windows)” on page 351.
• Appendix B, “Installing GVP Manually (Linux),” on page 355:

Rearranged multiple pre-installation notes into the section
“Pre-installation Notes” on page 360, which includes the entirely new
section “/etc/hosts and the local IP Address” on page 361.

Added the section “Installing and Configuring the PSTN Connector”
on page 368.

Added the procedure “Installing the PSTN Connector (Linux)” on
page 370.

Added the procedure “Installing LiS” on page 371.

Added the procedure “Installing Dialogic” on page 372.

Added the procedure “Configuring DMV Boards” on page 374.

Added the procedure “Configuring JCT Boards” on page 378.
• Appendix E, “Resource Manager High Availability,” on page 419:

Added the new section “White Papers about High Availability” on
page 419.
 Added the new section “Resource Manager HA IP Address Takeover
for Windows” on page 439, including these procedures:

“Configure Resource Manager High Availability Using Virtual IP
Address Takeover for Windows”

“Search the Windows Registry for a Physical Device Identifier”
 Edited a Note following step 8 of the procedure “Specifying the NICs
to Monitor (Windows)” on page 435.

Removed “Linux” from the section title “Resource Manager HA
(Linux)” on page 445.
Release 8.1.5 • Chapter 2, GVP Architecture, page 45:

The section, “Media Control Platform Functions” on page 62 has been
updated to include new functions in this release.
 The section, “Call Control Platform Functions” on page 65 has been
updated to include new functions in this release.

The section, “Fetching Module Caching” on page 67 has been updated
to the real-time caching mechanism.

The section, “Supplementary Services Gateway Functions” on page 71
has been updated to include new functions in this release.
 A new section, “IPv6 Communications” on page 84 has been added to
describe how GVP components support IPv6.

The section, “Call Control Platform Functions” on page 65 has been
updated to include new functions in this release.
• Chapter 3, How GVP Works:

Deployment Guide 19
Preface Document Change History


The section, “Policy Enforcement” on page 103 has been updated to
describe policy management of speech resource reservation, context
services authentication and JSON formats in the Transaction list.

The section, “Failed Requests” on page 114 has been updated to
describe how speech resource reservations are treated when a request
for media services fails.

A new section, “HTTP Basic Authentication” on page 165 to describe
how the Media Control Platform’s Next Generation Interpreter (NGI)
handles HTTP basic authentication.

A new section, “Connection to SIP Server in HA Mode” on page 184
to describe how the Supplementary Services Gateway connects to SIP
in High Availability (HA) mode.
• Chapter 4, Prerequisites and Planning:

Tables 10 and 11, Software Requirements for Windows and Linux
have been updated to include the latest supported versions.
• Appendix D, Deploying GVP Multi-Site Environments:

This new appendix has been added to describe how GVP functions in
multi-site environments and this configuration is implemented.
Release 8.1.41 • Appendix E, Resource Manager High Availability:

A new section, “Creating Alarm Reaction Scripts, Conditions, and
Reaction Applications” on page 455 has been added to describe how to
create and provision Alarm scripts and conditions.
Release 8.1.4 • Chapter 1, Introduction:

The sub section, “Release 8.1.4” on page 37 has been added to the
section, “New in This Release” on page 33, to introduce and describe
new features for GVP 8.1.4.
• Chapter 2, GVP Architecture, page 45:

Figure 1 on page 46 has been updated to include two new
components—Policy Server and MRCP Proxy.
 Two sub sections have been added to the section “GVP Components”
on page 46 for each of the new components—“Policy Server” on
page 52 and “MRCP Proxy” on page 68.

Figure 2 on page 52 has been added to describe Policy Server’s secure
architecture.
• Chapter 3, How GVP Works:

Two sections have been added to describe how the new components
work—“How the Policy Server Works” on page 118 and “How the
MRCP Proxy Works” on page 175.
 The section, “Sample Call Flows” has been removed from this chapter
and placed in Appendix H.
• Chapter 4, Prerequisites and Planning:

The section “GVP Installation DVDs” on page 205 and Table 9 have
been updated with information about GVP 8.1.4 components.

20 Genesys Voice Platform 8.1


Preface Document Change History


Two new components, Policy Server and MRCP Proxy, have been
added to the section, “Voice Platform Solution” on page 215.
• Chapter 7, Post-Installation Configuration of GVP:

A new section, “Provisioning the MRCP Proxy” on page 270 has been
added with includes procedures to configure the MRCP Proxy in
standalone and HA mode.

A new section, “Configuring the CTI Connector for Cisco ICM” on
page 273 has been added with includes procedures to integrate the CTI
Connector with Cisco ICM.
• Appendix A, Installing GVP Manually (Windows):

The section “Installing GVP (Windows)” on page 337 has been
updated to include two new procedures, one to install Policy Server
(page 351) and one to install the MRCP Proxy (page 352).
• Appendix B, Installing GVP Manually (Linux):
 The section “Installing GVP (Linux)” on page 360 has been updated to
include two new procedures, one to install Policy Server (page 383)
and one to install the MRCP Proxy (page 384).
• Appendix H, GVP Call Flows:
 A new appendix, that contains the section “Sample Call Flows”, which
was previously in Chapter 3.

Two new call flows have been added to a new section, “Basic CTI
Connector/ICM Call Flows (Inbound)” on page 486.
Release 8.1.3 • Chapter 1, Introduction:

The sub section, “Release 8.1.3” on page 38 has been added the
section, “New in This Release” on page 33, to introduce and describe
new features for GVP 8.1.3.
• Chapter 4, Prerequisites and Planning:

Table 10 on page 207 and Table 11 on page 210 have been updated
with the currently supported versions of Windows and Linux operating
systems.
• Chapter 6, Installing GVP

Task Summary: Deploying GVP by Using Genesys Administrator, on
page 232 has been updated with new steps to deploy GVP.
• Chapter 7, Post-Installation Configuration of GVP:

Task Summary: Post-Installation Configuration of GVP, on page 253
has been updated to include task for 8.1.3 HA Resource Manager. (See
step 11 in the post-installation configuration of GVP components.)
 Three new procedures have been added to the section, “Provisioning
the Supplementary Services Gateway” on page 278. These procedures
describe how to create and configure Routing Point DNs, Voice Over
IP (VoIP) Service DNs, and Voice Treatment Port (VTP) DNs.

Deployment Guide 21
Preface Document Change History

• Appendix B, Installing GVP Manually (Linux):



Task Summary: Preparing Your Environment for GVP (Linux), on
page 355 has been updated with changes to the Reporting Server
prerequisites. (See the “Complete the prerequisites” section, step 1a
through 1h.
• Appendix E, Resource Manager High Availability:

A note has in “Before You Begin” on page 420 relating to port conflict
when the Supplementary Services Gateway and the HA Resource
manager are sharing a host.
Release 8.1.2 • Chapter 1, Introduction:

The sub section, “Release 8.1.2” on page 39 has been added the
section, “New in This Release” on page 33, to introduce and describe
new features for GVP 8.1.2.
• Chapter 2, GVP Architecture:
 Figure 1, “Genesys Voice Platform Solution Architecture,” on page 46
has been updated to include the PSTN Connector and the related
connections to other VPS components.

The section, “Resource Manager” on page 47, has been updated to
include information about Hierarchical Multi-Tenancy (HMT).

The subsection, “SIP Notifier” on page 48, has been updated to include
information about HMT environments, and the new Differentiated
Services (DS) field for outbound SIP packets.
 The subsection, “Tenant Selection” on page 49, has been added to
describe how the Resource Manager selects tenants in HMT
environments, and selects resources using the new prediction factor
option.

The subsection, “Service Parameters” on page 50, has been updated to
include information about how policies are enforced in HMT
environments and how the Resource Manager performs resource
selection when geo-location information is present.
 The section, “PSTN Connector” on page 56, includes information
about the new PSTN Connector component, including its role,
functions, interfaces, and supported transfers.
• Chapter 3, How GVP Works:
 Two new sections, “Basic PSTN Call Flow (Inbound)” on page 490
and “Basic PSTN Call Flows (Outbound)” on page 491 have been
added to describe PSTN call flows to and from TDM networks.
Figures 49, 50, and 51 have been added to provide a graphic
description of the call flows.

The subsection, “Policy Enforcement” on page 103 was updated to
include the section, “HMT Policy Enforcement” on page 103.

The subsection, “Resource Groups in HMT Environments” on
page 107 has been added to describe how resources are managed and
assigned by the Resource Manager.

22 Genesys Voice Platform 8.1


Preface Document Change History


The subsection, “Notification of Resource Status” on page 108 has
been added to describe how the Resource Manager provides
port-availability notifications when deployed in HMT environments.

The subsection, “Locating Resources Using Geo-Location” on
page 110, has been added to describe how the Resource Manager uses
geo-location information to locate resources within the enterprise.

The subsection, “Outbound-Call Distribution” on page 111 has been
added to describe how the Resource Manager uses the prediction factor
to predict the ratio of agent calls to customer calls in a campaign.

The section, “How the PSTN Connector Works” on page 132 describes
how the PSTN Connector works within GVP.

The subsection, “Codec Negotiation” on page 148 has been updated to
include the new codecs that are supported in GVP 8.1.2.

The subsection, “SDP Negotiation for Telephony Events” on page 149
has been added to describe how the media server module supports SDP
negotiation for telephony events for PSTN Connector.

The subsection, “AT&T Transfer Types” on page 153 has been added
to describe the new transfer types that are used when calls are transfer
using DTMF tones.
 The subsection, “Transfer Methods for AT&T Transfer Connect” on
page 155 has been added to describe the transfer methods that are
includes in AT&T Transfer Connect.

Table 6, “PSTN Transfers and Supported VoiceXML Transfer Types,”
on page 160 has been added to provide information about the new
PSTN transfers.

The section, “SQA Service” on page 197 has been added to describe
the new service quality analysis features.
 The section, “Reporting Server” on page 200 has been updated to
include information about the new SQ alarm generation and database
partitioning features.

The section, “Reporting Web Services” on page 202 has been updated
to include the new SQA web services and reports.
• Chapter 4, Prerequisites and Planning:

The section, GVP Installation DVDs, has been updated to include the
new PSTN Connector component.
 Table 10, “Software Requirements—Windows,” on page 207 and
Table 11, “Software Requirements—Linux,” on page 210 have been
updated to includes new and updated software versions required for
GVP 8.1.2.

The new section, “Dialogic Telephony Cards” on page 212 has been
added to describe the Dialogic telephony cards that are supported in
this release.

Deployment Guide 23
Preface Document Change History


The section, “Host Setup” on page 213 has been updated to include
information about setting up the host when multiple Media Control
Platforms are installed on a single host.

The section, “Voice Platform Solution” on page 215 has been updated
to include the latest version of all components that are supported in this
VPS release.

The new section, “Important Information about HMT Permissions and
Access Rights” on page 220 has been added to provide information
about HMT permissions and access rights that user need to know as
they are planning their environment.
• Chapter 5, Preparing the Operating System for GVP:

Task Summary: Specifying Windows Services and Settings, on
page 224 has been updated to describe how to modify the
Type-of-Service (ToS) option in the Windows Registry.
• Chapter 6, Installing GVP:

Task Summary: Preparing Your Environment for GVP, on page 229
has been updated to reflect the changes for GVP 8.1.2.

The Procedure: Using the Deployment Wizard to Install GVP, on
page 241 has been updated to include the changes in the installation
steps for Reporting Server to include standard and enterprise editions
for the Reporting Server database.
• Chapter 7, Post-Installation Configuration of GVP:

Task Summary: Post-Installation Configuration of GVP, on page 253
has been updated to include new tasks to complete the Media Control
Platform configuration, tasks required to configure the PSTN
Connector, and tasks that reflect the changes to the Fetching Module
and Squid in GVP 8.1.2.
 New procedures have been added to configure the PSTN Connector,
create a default IVR Profile, and create DID Groups.

Procedure: Creating a Resource Group, on page 288 and Procedure:
Creating IVR Profiles, on page 292 have been modified to reflect
changes in GVP 8.1.2.
 The Procedure: Creating a Resource Group, on page 288 and
Procedure: Creating IVR Profiles, on page 292 have changed to reflect
the changes to the Resource Group and IVR Profile Wizards.

Table 30, “Database Script Files,” on page 306 has been updated with
the latest version of the Reporting Server database script files.

The new section, “Partitioning CDR and Event Log Tables” on
page 308 has been added to describe the partitioning features of the
Reporting Server database.

24 Genesys Voice Platform 8.1


Preface Document Change History

• Appendix A, Installing GVP Manually (Windows):



The Task Summary table at the beginning of the chapter has been
renamed and split into two separate tables to better define the
objectives. They contain all of the same information that was
previously included in the release 8.1.1 task table.

Task Summary: Preparing Your Environment for GVP (Windows), on
page 323 has been updated to provided prerequisite changes for
GVP 8.1.2 and to add information about Dialogic software
prerequisites for the PSTN Connector.

Task Summary: Preparing Your Environment for GVP (Windows), on
page 323 has been changed to provide information about the
integration of the Fetching Module and option to install Squid. It also
includes the task to install the new PSTN Connector component.

The new Procedure: Installing the PSTN Connector (Windows), on
page 350 has been added.
• Appendix B, Installing GVP Manually (Linux):
 The Task Summary table at the beginning of the chapter has been
renamed and split into two separate tables to better define the
objectives. They contain all of the same information that was
previously included in the release 8.1.1 task table.

Task Summary: Preparing Your Environment for GVP (Linux), on
page 355 has been changed to provide information about the
integration of the Fetching Module and the option to install Squid. It
also includes information that the prerequisite Apache, is no longer
required in GVP 8.1.2.
• Appendix C, Deploying Multiple Media Control Platforms is a new
appendix containing information about and a procedure describing how to
deploy multiple Media Control Platforms on a single server.
• Appendix E, Resource Manager High Availability:
 The section, “Resource Manager HA (Windows)” on page 426
contains information about and a new procedure describing how to
configure the Resource Manager for High Availability on Windows
2008.

The Procedure: Configuring Simple Virtual IP Failover, on page 447
and Procedure: Configuring Bonding Driver Failover for RHEL 5 and
Lower, on page 449 have been modified to reflect the changes required
to support GVP 8.1.2.
• Appendix I, Specifications and Standards has been updated with new RFCs
that are supported in GVP 8.1.2 and out of date standards have been
removed.
Release 8.1.1 • Chapter 1, Introduction:
 The sub section, “Release 8.1.1” on page 41 has been added the
section, “New in This Release” on page 33, to introduce and describe
new features for GVP 8.1.1.

Deployment Guide 25
Preface Document Change History

• Chapter 2, GVP Architecture:



Figure 1, “Genesys Voice Platform Solution Architecture,” on page 46
has been updated to include the Supplementary Services Gateway, the
Trigger Application (TA), and the related connections to other VPS
components.

The subsection, “SIP Notifier” on page 48 has been added to section,
“Resource Manager Roles” to describe a new role for the Resource
Managers in release 8.1.1 as a notifier when accepting SUBSCRIBE
messages from SIP Server.

The subsection, “Media Control Platform Functions” on page 62 has a
new bullet item to include Call Progress Detection (CPD) in the list of
functions.

The section, “Supplementary Services Gateway” on page 69 has been
added to describe the Supplementary Services Gateways architecture,
its role, services, and functions.

The section, “Management Framework” on page 77 has a new bullet
item to describe the type of configuration information that the
Supplementary Services Gateway receives from the Genesys
Management Framework.

The section titled, “Composer Voice” has been changed to
“Composer” on page 79 to reflect the new name of the Genesys
Composer development tool. The name has been changed wherever
mentioned in this section and throughout this document.
 The subsections “Communication Protocols” on page 82 and “Secure
Communications” on page 83 have been updated to add the
Supplementary Services Gateway as one of the GVP components that
use HTTP and HTTPS to communicate.

The section, “SNMP Monitoring” on page 85 has been updated to
include the Supplementary Services Gateway as one of the GVP
components that can be configured for SNMP monitoring.
• Chapter 3, How GVP Works:

The subsection, “Basic Outbound-Call Flow” on page 482 has been
added to the section, “Sample Call Flows” to describe a typical
outbound call flow including a graphic depiction of the steps in the call
flow (see Figure 45 on page 482).
 The subsection, “Transfers” on page 153 in the section, “How the
Media Control Platform Works” has been updated to include a
description of how the Media Control Platform supports the new
AT&T Transfer Connect transfer methods and Table 5 on page 158
now includes these transfers.

The section, “How the Supplementary Services Gateway Works” on
page 177 has been added to describe how the Supplementary Services
Gateway functions when interacting with Trigger Applications, the
Media Control Platform through Resource Manager, and SIP Server to
process requests for outbound call initiation.

26 Genesys Voice Platform 8.1


Preface Document Change History

• Chapter 4, Prerequisites and Planning:



Table 10, “Software Requirements—Windows,” on page 207 and
Table 11, “Software Requirements—Linux,” on page 210 have been
updated to include the software requirement for the Supplementary
Services Gateway.

The section, “Voice Platform Solution” on page 215 has been updated
to include information about the Supplementary Services Gateway
dependencies and prerequisites.
• Chapter 6, Installing GVP:

The Task Summary: Deploying GVP by Using Genesys Administrator,
on page 232 has been updated to include the tasks required to prepare
your environment for the Supplementary Services Gateway, and to
install, and provision it by using Genesys Administrator.

The section describing the post-installation activities in the Task
Summary: Deploying GVP by Using Genesys Administrator, on
page 232 has been moved to the task summary table in Chapter 7.
 The Procedure: Using the Deployment Wizard to Install GVP, on
page 241 has been updated to include the steps to install the
Supplementary Services Gateway.
• Chapter 7, Post-Installation Configuration of GVP:
 A new Task Summary: Post-Installation Configuration of GVP has
been added to include the post-installation activities section which was
previously included in the task summary table in Chapter 6.

The section, “Integrating Application Objects” on page 260 has been
updated to include additional information about why GVP
Applications are integrated with the Resource Manager.

The procedure, “Creating a Connection to a Server” on page 262 has
been updated to include information about the connection required
between SIP Server and the Supplementary Services Gateway, and a
note has been added to provide further information about creating a
connection to the SNMP Master Agent. The Purpose statement and
steps 6 and 7 in the Procedure: Creating a Connection to a Server in
this section, have been changed to include information about the
connection to the SNMP Master Agent.

The section titled, “Preparing GVP to Make an Outbound Call” has
been removed and a new section, “Provisioning the Supplementary
Services Gateway” on page 278 has been added which includes the
new Procedure: Configuring the Supplementary Services Gateway.

The Procedure: Creating IVR Profiles, on page 292 has been updated
to include a note after Table 25 on page 293 which describes a change
to the Service Properties page of the Genesys Administrator IVR
Profile Wizard. Also, Steps 9 to • have been added to describe the
configuration parameters on the new Dialing Rules page of the
wizard.

Deployment Guide 27
Preface Document Change History

• Appendix A, Installing GVP Manually (Windows):



The section describing the post-installation activities in the Task
Summary: Preparing Your Environment for GVP (Windows), on
page 323 has been moved to the task summary table in Chapter 7.

The Task Summary: Preparing Your Environment for GVP
(Windows), on page 323 has been updated to include the tasks required
to prepare your environment for the Supplementary Services Gateway,
and to install, and provision it manually on Windows.

The Procedure: Installing the Supplementary Services Gateway
(Windows), on page 348 has been added to describe the steps to install
the Supplementary Services Gateway manually on Windows.
• Appendix B, Installing GVP Manually (Linux):

The section describing the post-installation activities in the Task
Summary: Preparing Your Environment for GVP (Linux), on page 355
has been moved to the task summary table in Chapter 7.
 The Task Summary: Preparing Your Environment for GVP (Linux), on
page 355 has been updated to include the tasks required to prepare
your environment for the Supplementary Services Gateway, and to
install, and provision it manually on Linux.

The Procedure: Installing the Supplementary Services Gateway
(Linux), on page 367 to describe the steps to install the Supplementary
Services Gateway manually on Linux.
• Appendix I, Specifications and Standards:

The section, “Related Standards” on page 496 has been updated to
includes additional open standards that are supported (either fully or in
part) in the GVP 8.1.1 release.
• Supplements:

The section titled, “Composer Voice” has been changed to
“Composer” on page 506 to reflect the new name of the Genesys
Composer development tool. The document titles in this section have
also been changed to reflect the name change.

28 Genesys Voice Platform 8.1


Part

1 Planning
Part One of this Deployment Guide describes the architecture of the Genesys
Voice Platform (GVP), how GVP works, and how to plan the deployment. This
information appears in the following chapters:
• Chapter 1, “Introduction,” on page 31
• Chapter 2, “GVP Architecture,” on page 45
• Chapter 3, “How GVP Works,” on page 95
• Chapter 4, “Prerequisites and Planning,” on page 205

Deployment Guide 29
Part 1: Planning

30 Genesys Voice Platform 8.1


Chapter

1 Introduction
This chapter provides a high-level overview of Genesys Voice Platform
(GVP) 8.1 and its features. It contains the following sections:

Overview, page 31

Features, page 32
 New in This Release, page 33

Overview
Genesys Voice Platform is a software suite that integrates a combination of
call-processing, reporting, management, and application servers with Voice
over Internet Protocol (VoIP) networks to deliver Web-driven dialog and
call-control services to callers and enables Genesys customers to deliver
interactive, media-centric applications to end users.

Integration with Genesys Framework


GVP is a major component of the Voice Platform Solution (VPS), which
integrates GVP with the Genesys Framework to deliver next-generation voice
processing that meets advanced call routing and voice self-service needs for an
enterprise contact center. Although GVP is commonly used in enterprise
self-service environments that use voice over telephone, many other
applications—including assisted service, multimedia interactions, and
applications outside the contact center—are possible.

GVP Interactive Voice Response


GVP differs from traditional Interactive Voice Response (IVR) solutions, in
that it separates the voice and call-control applications from the call-processing
environment. GVP does not rely on proprietary hardware, and it executes voice
and call-control applications that are created in nonproprietary coding

Deployment Guide 31
Chapter 1: Introduction Features

languages—Voice Extensible Markup Language (VoiceXML) and Call Control


Extensible Markup Language (CCXML). For the coding languages and other
open standards that GVP supports, see Appendix I on page 495.
The GVP software includes a voice and call-control browser that interprets
VoiceXML and CCXML documents into call-processing events.
The voice and call-control applications are configured as IVR Profile objects
that are provisioned through the Genesys Administrator Web-based user
interface. The IVR Profiles define how requests received by the VPS are
translated into concrete service requests that GVP components in the
deployment can execute.

Third-Party Servers
Third-party application servers within a GVP deployment store and deliver the
VoiceXML and CCXML applications. VoiceXML and CCXML documents
can be generated dynamically by using any number of Web-based
technologies, such as Active Server Pages (ASP) or Java Server Pages (JSP),
or by using a complete application development and execution environment,
such as Genesys Composer. For more information about Composer, see
“Composer” on page 79.
GVP supports automatic speech recognition (ASR) and speech synthesis
(text-to-speech [TTS]) as part of a VoiceXML dialog through supported
third-party ASR and TTS engines that use the open standards listed in
Appendix I, “Specifications and Standards,” on page 495.

Features
GVP provides a variety of features that support call handling for voice and
call-control applications through either Time Division Multiplexing (TDM) or
VoIP functionality. As a flexible, standards-based voice processing platform,
GVP also expands traditional IVR functionality with self-service and
assisted-service capabilities that are tightly integrated with the Genesys
product suite.

Core Telephony Features


GVP 8.1 provides the following core telephony features:
• Call handling through Session Initiation Protocol (SIP).
• Support for major Private Branch Exchange (PBX) switches through the
SIP Server.
• Support for major media gateways.

32 Genesys Voice Platform 8.1


Chapter 1: Introduction New in This Release

• Support for blind and consultative IP call transfers triggered by SIP REFER
messages. SIP REFER messages also trigger Time Division Multiplexing
(TDM)/Public Switched Telephone Network (PSTN) network transfers
when the media gateway supports this functionality.
• Call Bridging, in which the inbound and outbound legs are maintained (for
the call duration) when GVP sits in front of the switch.
• Media services, including voice prompts, menus, and data collection—for
example, Dual-Tone Multi-Frequency (DTMF) or speech.
• Acceptance and processing of information delivered with a call from the
media gateway, including Automatic Number Identification (ANI), Dialed
Number Identification Service (DNIS), and Calling Line Identification
(CLID).

Advanced Features
The following advanced features are available:
• Support for voice and call-control applications written in standard
VoiceXML and CCXML, respectively. For the coding language standards
supported by GVP, see Appendix I on page 495. GVP also supports
extensions, to assist in the call-control requirements of a voice application.
• Support for automatic speech recognition.
• Support for text-to-speech.
• Conferencing.
• Call parking, providing multi-site contact centers with the ability to enable
self-service and call queuing on GVP, before transferring or bridging the
call to an agent.
• Intelligent call routing provided by Genesys Enterprise Routing Solution
(ERS) and Network Routing Solution (NRS), when GVP is combined with
other Genesys products.
• Graphical User Interface (GUI) for the development of VoiceXML
applications using Composer. For more information, see “Other Genesys
VPS Components” on page 76.
• Provisioning, configuration, deployment, and monitoring using Genesys
Administrator.

New in This Release


This section contains a brief description of the new features in Genesys Voice
Platform 8.1.x releases.
Release 8.1.7 Support for:
• Red Hat Enterprise Linux (RHEL) 6.x.

Deployment Guide 33
Chapter 1: Introduction New in This Release

• IPv6 (migration from IPv4).


• Latest Nuance Versions Supported:

Nuance Speech Server 6.2.2 required as MRCP interface for:

Nuance NR10.2.4 with MRCP v1 and v2

SessionXML for Nuance NR10.2 MRCP v2

Nuance Vocalizer 5.7.2 over MRCP v1 and v2

SessionXML for Nuance Vocalizer 5.7 v2

Notes:

Nuance License Manager 11.7 required and provided with Nuance
NR10 and Vocalizer

Optional Nuance Management Station 5.2.5 provided (Available
with all NR10 Tiers)

For a few specific languages, NR9 applications can be deployed
with NR10. Please see the product manager.

Note: Using SessionXML requires the following new templates, located


in the /templates directory on the release CD and in the
downloaded IP:
• VP_MCP_MRCPv2_ASR_NUANCE6_817.tpl
• VP_MCP_MRCPv2_TTS_NUANCE6_817.tpl

• Call Duration Reports in GAX


• Service Quality Reports in GAX
• File-based Call Recording
Release 8.1.6 • 32 and 64-bit GVP application binaries are available for Windows and
Linux 32 and 64-bit operating systems, respectively.
• Support for Cisco ICM v8.0.1.
• Support for treating the ScriptID or Call Variable as DNIS for pre-routed
calls using the Cisco ICM solution.
• Support for multiple Trunk Group IDs per PIM process of Cisco ICM's
Peripheral Gateway.
• Control to retain/delete pending outbound requests in DB after an SSG
restart.
• PSTN Connector support on Linux RHEL 4 and RHEL 5 for Dialogic
DMV cards only.
• Nuance Recognizer 9.0.18 and Vocalizer 5.0.5 with MRCP Server v1 and
v2.NSS 5.1.7 Windows and Linux
Reporting
• Peak Media Use Reporting - by tenant and service
• Media Reporting Packaged with Media Server

34 Genesys Voice Platform 8.1


Chapter 1: Introduction New in This Release

• All GVP and Media Reporting in GAX 8.1.3


LRM & HPE Support
• Peak Reporting of Call Parking and GVP sessions
Media
• Support TIAS Bandwidth in SDP for Video
• Max_ptime is configurable in MCP
• Support for MP3 over RTSP with Real Helix
• RTP Packet Interval for Conferencing at 20ms
Speech
• Policy Limits on Speech Resource Access
• MRCP Proxy HA for Speech
• ASR Session Release Event now logged as metrics event
High Availability
• IP Takeover for RM HA with SIP Server
• SNMP Alert for Start/Stop of MCP
Cisco ICM 8.5
• QA testing of all call flow types on ICM 8.5
• Passing Call/ECC variables to ICM in NEW_CALL message
• ICM Trunk Group Handling
Genesys GQM Support
• Beep Tone
• Geo-Location for Active Recording
• NICE HA Support
Other Feature Requests
• A command line tool to clear the SSG call queue.
• Suppression of Sensitive Information - aaiexpr in call transfer metrics
Packaging Changes
• Reporting Server and GAX Plugin now e bundled with Genesys Media
Server (GMS) DVD.
• GMS "Play Application" VoiceXML use requires installation of GVP and
the purchase of GVP licenses. VoiceXML use on GMS must be selected
during GMS installation acknowledging GVP ports are required.
• Daily Peak PPU measures for GVP and SIP Qualification & Parking
sessions now available.
• LRM is the vehicle for PPU metrics billing, though GMS/GVP reporting
shows the information. LRM 8.1.1 not available at the time of the GVP
8.1.6 Release.
Latest Genesys Components shipped with GVP 8.1.6 at time of Release:

Deployment Guide 35
Chapter 1: Introduction New in This Release

• SIP Server English (United States) 8.1.0


• Composer Voice English (United States) 8.1.2
• Genesys Voice Platform English (United States) 8.1.6
• Genesys Media Server English (United States) 8.1.64
• Management Framework English (United States) 8.1.2
• Genesys Security Pack English (United States) 8.1.0
• Genesys Administrator English (United States) 8.1.33
• IVR Server English (United States) 8.1.0
Latest Genesys Compatibility at time of this Release:
• Conversation Manager 8.1.0
• Genesys Quality Management 8.1.5
• Hosted Provider Edition 8.1.2
• LRM 8.1.0
Latest Nuance1 Compatibility at time of Release:
• Nuance Recognizer 9.0.18
• Nuance Vocalizer 5.0.5
• Nuance Speech Server 5.1.7 with MRCP v1 and v2.
OS/DB Compatibility
• Both 32-bit binary compatible for 32-bit/64bit OS and new 64-bit native
versions are available for Windows and Linux for 64-bit OS.
• PSNTC2, only available with GVP 8.1.4, remains a 32bit only binary. The
Dialogic SR is 6.0 SU 261 and is supplied.
• VMware ESXi4 and ESXi5 are supported.
• Oracle 11g RAC R2 and MS SQL 2008, compatible with clustered and
replicated DB configurations.
Notes
1Genesys makes every effort to keep its Nuance software inventory up to
Genesys tested release levels. However, our shipping versions might lag
relative to the latest minor releases offered by Nuance and/or tested by
Genesys. If the minor release level is a concern, contact your Genesys Nuance
account manager.
2
PSTN Connector is not a 64-bit component. It interoperates with MCP 8.1.4.
If a GVP 8.1.6 customer wants TDM/Dialogic via PSTNC, then they need to
order, in addition to GVP 8.1.6, the MCP 8.1.4 and the PSTN connector.
3
GA and GAX 8.1.3 is on the same DVD. GVP provides a GAX Plugin for
integration to GAX.
4Genesys Media Server DVD now contains the GVP/GMS Reporting Server
software such that Reporting Server can be used with other products using the
Genesys Media Server component.

36 Genesys Voice Platform 8.1


Chapter 1: Introduction New in This Release

Release 8.1.5 The following new features and components are supported:
• 32 and 64-bit GVP application binaries are available for Windows and
Linux 32 and 64-bit operating systems, respectively.
• Native 64-bit operating system.
• Dual stack IPv6, IPv4.
• VoiceXML access to operational parameters defined by GAX.
• Multi-site reporting and policy management of tenants and applications
(summary reporting data only).
• Access authentication for Web Services API and Conversation Manager.
• Call Detail Records (CDR) that identify the SIP Server site from which a
GVP call originates.
• CDRs that identify specific resource usage during a call.
• Real-time cache clearing.
• Functions as a Media Server for T-Server for Cisco UCM.
• Playback and Recording in MP3 containers.
• Throttling for Reporting Server recovery.
• Increased call throughput for Reporting Server (up to 300 CAPS).
• New Per-Call IVR Action Report.Enhanced video features, such as text
overlay, split screen conferencing, and high resolution (1280x720).
• Conferences can have as many participants (legs) as a single media server
can handle on the physical hardware. The 32-participant-per-conference
limitation has been removed.
• NGI support for dynamic ECMAScript grammar generation.
• Resource selection and call rejection, based on MRCPv1 speech resource
and availability.
• Identification and tracking of active loudest speaker in video conferences
by using MSML.
• H.263 & H.264 video format transcoding, transrating, transcaling, and
transframing.
• Recognition of leading zeros in the Dialed Number (DN).
• ASR and TTS system peaks data in CDRs to facilitate resource
management.
• Nuance Recognizer 9.0.16 and Vocalizer 5.0.5 with MRCP Server v1 and
v2.
Release 8.1.4 The following new features and components are supported:
• The Policy Server, which validates DIDs and policies in response to
requests from Genesys Administrator.
• The MRCP Proxy, which provides ASR and TTS resource load balancing.

Deployment Guide 37
Chapter 1: Introduction New in This Release

• The Media Control Platform supports partitioning of network traffic across


various network interfaces.
• Support for the Call Recording Solution (through third-party recording
servers)
• The CTI Connector now supports Cisco ICM Connector for CTI
integration.
• The CTI Connector now supports Red Hat Enterprise Linux 5.x 32 bit.
• TLS is supported for secure communication between the Supplementary
Services Gateway and SIP Server.
• Support for secure communication with Composer.
• Support for FIPS compliance on TLS interfaces.
• Provision of CPD tuning capabilities.
• Support for DTMF only bargein.
• An new RFC 3890 compliant bandwidth configuration option to support
bandwidth handling requirements for third-party vendors.
• Support for the passing of tenant and application IDs to Nuance Speech
Server.
• Support for DNS SRV on Resource Manager.
• Reporting Server provides data for the following new reports and
dashboards:
 CTIC Dashboard, which provides reporting metrics for Genesys CTI
and Cisco CTI frameworks.

ASR/TTS usage and usage peaks reports.

SNMP reporting data.
• Reporting Server is now supported on Oracle 11g RAC.
Release 8.1.3 The following new features and components are supported:
• GVP now interoperates with the following database, and operating
systems:
 Windows Server 2008 64-bit (except for PSTN Connector).

Red Hat Enterprise Linux 5.4 64-bit.
 MS SQL 2008 with clustered and/or replicated (for Reporting Server)
compatibility for high availability.
• Reporting Server has been enhanced to operate in a mode that does not
require a backend persistent database. This mode of operation is optional
and still allows for support of the real-time reports such as, the dashboards
and the Active Call Browser report.
• CTI Connector now supports IVR Server 8.x in standard environments.
• Media Control Platform, Call Control Platform, and CTI Connector now
support SIP static routing with an active–active pair of Resource Managers.

38 Genesys Voice Platform 8.1


Chapter 1: Introduction New in This Release

• Starting with this release, GVP components are backwards compatible


when deployed with future GVP 8.x releases.
Release 8.1.2 The following new features and components are supported:
• Multi-tenancy—To support hosted and managed-service providers with
principally hierarchical multi-tenancy features, which allows
administrators to customize configuration, policy management, and
reporting on a per-tenant basis to suit their customers needs.
• Reporting Server—Now supports the following features:

Enhanced and expanded reporting features to display, summarize, and
list multiple levels of call statistics in a multi-tenant structure. Using
Genesys Administrator, reports can be accessed remotely by the
service provider’s customers.

Multi-site reporting to provide scaling options by aggregating reports
from multiple independent Reporting Severs, allowing administrators
to view an aggregation of data across multiple sites.

Addition of new report filters, six-week-average reporting to provide
information about usage trends, and reports that provide information
about an entire call on one screen.
 Operational reporting information available for the PSTN and CTI
Connectors.

Real-time dashboard reports available for the PSTN Connector and
Supplementary Services Gateway.

CDR and Call Events data organized into partitioned tables to improve
efficiency, with each partition representing a specific period of time.
 New Direct Inward Dialing (DID) Groups containing single DNs or
DN ranges.

Virtual Object report filters which enable the user to define customized
filter tags to query call data.
• Media Control Platform—Now supports the following features:

Multiple Media Control Platform instances supported on a single host.
 Status notification enhancements to support the deployment of multiple
Media Control Platforms.

New Media Server Markup Language (MSML) elements supported,
including MSML conference, DTMF Gen, DTMF Collect, and MSML
Record.

New codec formats are provided for voice delivery that is associated
with outbound calling, call parking, call recording, conferencing, and
IVR prompting.
• Media Server module—Now supports the following features:

Deployment Guide 39
Chapter 1: Introduction New in This Release


Enhanced functionality to include features that were previously
provided by Genesys Stream Manager (7.x). Media Server now
provides media services and new codec formats for voice delivery
associated with outbound calling, call parking, call recording,
conferencing, and IVR prompting.

Differentiated Services (DS) field settings to support outgoing RTP
packet transmission and an RTP jitter buffer.

Flexible packet size and configurable SDP ptime, which controls the
duration and, indirectly, the arrival time for RTP packets.

Support for the new PSTN Connector component.

Support for VoIP ticket reporting and VoIP metrics activities as defined
in RFC 3611.
• Call Control Platform—Support for MSML dialog requests.
• Fetching Module—Now integrated with the Media and Call Control
Platforms (no longer a separate component), making the Squid third-party
caching proxy optional (no longer a prerequisite).
• Resource Manager—Now supports the following features:

Geo-location information, now configured in gateway resources to
enable allocation of resources that meet specific criteria, regardless of
where the resource is located.

The Differentiated Services (DS) field can be used to set the
type-of-service priority for outbound SIP message packets for UDP,
TCP, and TLS transport protocols.
 Outbound-call distribution enhanced to include prediction factor
(factor-p), which represents the expected ratio of agent calls to
customer calls in a campaign.

Active–active mode now available when the Resource Manager is
configured in a High Availability cluster. In active–active mode, the
Resource Manager instances are served by an external load balancer.
• PSTN Connector—A new component to support TDM networks through
an IP gateway for Dialogic boards, This component facilitates ease of
migration to GVP 8.x for those customers who are using Dialogic
technology.
• Supplementary Services Gateway—Supports the following new features:

Outbound calls by using the Legacy GVP Interpreter (GVPi).

Digest access authentication, which a method of negotiating
credentials with a web server by using the HTTP protocol.
 Extended compatibility features—GVP now interoperates with the
following telephony and routing system devices, protocols, and
operating systems:
 Windows Server 2008

Red Hat Enterprise Linux 5.0 Advanced Server

MS SQL 2008 and Oracle 11g (for Reporting Server)

40 Genesys Voice Platform 8.1


Chapter 1: Introduction New in This Release


Oracle 10g Real Application Cluster (Reporting Server)
• GVP capacity enhancements—Provided through an extended number of
ports per management domain, and for single and multiple site
configurations. Also provided through an extended number of tenants, and
the number of toll-free and DID numbers for each tenant, when a single
GVP system is deployed for Software as a Service (SaaS).
• Service Quality Advisor—A new tool to measure system performance
based on service quality metrics that impact the caller experience. The tool
includes alarm generation and detailed reporting.
• Genesys Administrator—GVP-specific functions on the Monitoring tab:

The GVP dashboard UI now provides a breakdown of active calls into
their current call state.
Release 8.1.1 The following new features and components are supported:
• Supplementary Services Gateway (SSG)—Manages the initiation of
outbound call sessions. Implemented through a SIP Server interface, the
Supplementary Services Gateway establishes independent outbound
sessions to allow applications to request Media Control Platform services
through Resource Manager.
• All GVP components—Now installed as Windows services and
configurable to start automatically.
• Next Generation Interpreter (NGI)—Enhanced functionality to support:
 AT&T transfer connect (inband only)

New security features, such as a configurable size limit on documents
and temporary file folders, and a configurable subdialog-stack depth
limit.

Only relative paths for the Full Call Recording (FCR) feature. The
path, which is specified by <local-directory-name>, is treated as a
path that is relative to the full call-recording root path.
• Genesys Voice Platform interpreter (GVPi)—Enhanced functionality to
support:
 AT&T transfer connect (inband only).

Send and receive SIP INFO messages, which are received
asynchronously and accessible to the VoiceXML applications.

ASR session release, which includes explicit and implicit freeing of
MRCP resources if they are not in use.
 The legacy 7.x GarbageCollector Dynamic Link Library (DLL), which
cleans up call-generated files in the temp, logs and Microsoft Internet
Information Services (IIS) log folders, and includes a Scheduler to
provide well-defined cleanup tasks at preconfigured intervals.
 External DTMF grammars for <grammar> elements that refer to
external grammar files.
• Media Control Platform—New and enhanced functionality to support:
 Media Server Markup Language (MSML) call processing.

Deployment Guide 41
Chapter 1: Introduction New in This Release


New headers in the initial SIP INVITE message as defined in RFC
3455, such as P-Asserted-Identity and P-Called-Party-ID.

Call Progress Analysis (CPA) with three states of progress detection
for outbound calling, with an MSML record attribute that determines
whether the media that is received during CPA is recorded.

Extraction of Session Description Protocol (SDP) content from an
incoming SIP message with the content-type, multipart/mixed (as
defined in RFC 2046).

New video and audio codecs, such as AMR Wideband (AMR-WB),
G722, and H264.
• Resource Manager—Supports the new outbound-calling feature in the
following ways:

Acting as a notifier, accepting SIP SUBSCRIBE requests from SIP Server.
The Resource Manager can maintain multiple independent
subscriptions from the same or different SIP devices. The Resource
Manager periodically generates SIP NOTIFY requests to subscribers
(tenants) about the total number of ports and number of available ports.
 Managing call-information policies for outbound calls.

Accepting campaign, tenant, and IVR Profile information from SIP
Server for outbound requests.

Supporting the media dialog through the Media Server module of the
Media Control Platform with the addition of a new msml service type.
• Resource Manager—Now supports passive resources and the Genesys
model for deployment of High Availability (HA) solutions. Passive
resources are configured as part of a load-balancing pool, but are used only
if an active resource fails.
• Reporting Server—New and enhanced reporting features, such as:

The report manifest now containing the Reporting Server time-zone
information. The time-zone and daylight-saving-time information are
included in the manifest separately.
 Thirty-minute (30) summaries that are maintained for one week, by
default.

An aggregate of the number of calls for Operational Reporting and
VAR summaries, and aggregate call peaks, the number of failed calls,
and the percentage of successful calls.
• Reporting Server—Additional reporting metrics that are gathered from the
Supplementary Services Gateways, such as current queue length, number
of failed calls, and percentage of successful calls.
• Genesys Administrator IVR Profile Wizard—Enhanced with new
configuration options to:
 Support policies by enabling and disabling transcoding of AMR and
G729 codecs and the use of video codecs.

42 Genesys Voice Platform 8.1


Chapter 1: Introduction New in This Release


Accept or reject outbound calls or transfers and configure dialing rules
for them. Up to 100 rules can be added for outbound calls and can be
recorded.
• Genesys Administrator Resource Group Wizard—Enhanced to enable
configuration of both SIP and SIPS ports. Provides a drop-down list to
configure Redundancy as either Active or Passive.
• Genesys Administrator—GVP-specific functions on the Monitoring tab:

IVR Profile Utilization reports in the Dashboard that now include
columns for VAR and Supplementary Services Gateway data.

Reporting that now includes 30-minute summaries that are maintained
for one week by default.

The Real-Time Reports Active Call List that now has additional filters
with relative-time data available for active calls.

The VAR call browser that is now merged with the Historical Call
Browser.
Release 8.1 The following new features and components are supported:
• Red Hat Enterprise Linux Advanced Server 4.0, 32-bit version—An
additional, supported operating system (besides Windows) on which GVP
components can be installed.
• Computer Telephony Integration Connector (CTIC)—In VoIP and TDM
environments, a component that integrates with IVR Server through an
XML interface (either the Next Generation Interpreter [NGI] or Genesys
Voice Platform Interpreter [GVPi]) to access functionality provided by the
larger Genesys suite of products.
• GVP Interpreter (GVPi)—The 7.6 legacy VoiceXML interpreter. GVPi is
introduced in this release primarily to support existing 7.6 VoiceXML and
call-control applications. GVPi also supports the interaction with IVR
Server through the CTI Connector.
• High Availability (HA) for Reporting Server—Configured in warm active–
standby mode, with two High Availability solutions to choose from.
• High Availability (HA) for Resource Manager—Can now be configured in
hot standby mode.
• Genesys Deployment Wizard—Enables you to install GVP components
individually with a basic configuration, or to install multiple instances of
the same component.
• Genesys Administrator IVR Profile Wizard—Consolidates tasks such as
configuring service-types and Dialed Number (DN) mappings, and creates
profiles for GVP resources that use common services.
• Genesys Administrator Resource Group Wizard—Groups common
resource types to facilitate load balancing and simplify resource
management. This wizard replaces the Logical Resource Group wizard in
Genesys Administrator 8.0

Deployment Guide 43
Chapter 1: Introduction New in This Release

• Third-party speech engines—Additional third-party speech engines, such


as IBM, Nuance (ASR and TTS), and Telisma (ASR only), now supported.
• Operational Reporting—Now available for the Call Control Platform,
reporting CCXML peak sessions per call type.
• Next Generation Interpreter (NGI)—Now controls ASR session release.
• Media Control Platform—Now supports inband DTMF detection
• IVR Profiles—The Announcements service type, which has been added,
and Bursting policies that now have three thresholds.
• Enhanced Security features—GVP components that now support the
masking of sensitive data.
• Genesys Administrator—Addition of a GVP Dashboard on the Monitoring
tab.
• Additional features—An offboard DTMF Recognizer now supported.

44 Genesys Voice Platform 8.1


Chapter

2 GVP Architecture
This chapter describes the primary components and basic architecture of
Genesys Voice Platform (GVP) 8.1. It contains the following sections:

GVP and the Voice Platform Solution, page 45

GVP Components, page 46
 Other Genesys VPS Components, page 76

Third-Party Software, page 80

Communication Within GVP, page 82
 SNMP Monitoring, page 85

High Availability and Scalability, page 85

Resource Manager High Availability Solutions, page 86

GVP and the Voice Platform Solution


GVP, Session Initiation Protocol (SIP) Server, Management Framework, and
Genesys Administrator together constitute the Voice Platform Solution (VPS),
which integrates voice self-service, agent-assisted service, and
application-management functions into a single, IP-based contact-center
solution.
GVP 8.1 provides a unified communication layer within the Genesys suite, and
offers a robust solution that incorporates all required call control—including
computer-telephony integration (CTI)—and media-related functions.
Figure 1 depicts the GVP architecture and the communication channels among
GVP components in the VPS.

Deployment Guide 45
Chapter 2: GVP Architecture GVP Components

Genesys Voice Platform


Media RTP/SRTP RTP/SRTP
Gateway Speech
CTI Connector RTSP-MRCPv1 or SIP/SIPS-MRCPv2 Server*
ICM SIP/SIPS RTSP (MRCP)
TCP/IP Client CTI Adaptor Media GVPi

SIP Control RTSP- MRCPv1


SIP NGI
IVR Platform
Server* (VoiceXML) MRCP RTSP
Resource Proxy* Streaming
(IVR XML)
SIP
Manager Fetching Module RTSP Server*
T-lib
HTTP/HTTPS
Squid HTTP/HTTPS
SIP SIP/SIPS Caching
Supplementary
Server T-lib Call Proxy*
Services Application
Gateway*
Control
Trigger Platform* Squid Server*
HTTP Caching
Application (CCXML) HTTP/HTTPS
(TA) Policy Proxy*
RTP/RTSP Server*
PSTN Fetching Module

Connector* HTTP
HTTP/HTTPS
SIP
Genesys Web
PBX/ACD Administrator Composer Reporting GVP RS WS
Services
TDM Signals (User Interaction Voice* Server
Layer) User

Note: Additional connections not shown here: *Optional in Voice


 TCP connections between GVP Reporting Server and RM , MCP, and CCP.
Platform Solution.
 Connections between User Interaction Layer and all other Genesys components.

Figure 1: Genesys Voice Platform Solution Architecture

For more information about the VPS, see the Voice Platform Solution 8.1
Integration Guide.

GVP Components
As Figure 1 shows, GVP comprises the following components:
• Resource Manager
• Policy Server, on page 52
• CTI Connector, on page 53
• PSTN Connector, on page 56
• Media Control Platform, on page 59
• Call Control Platform, on page 65
• Fetching Module and Squid, on page 66
• MRCP Proxy, on page 68
• Supplementary Services Gateway, on page 69
• Reporting Server, on page 72
There is an installation package (IP) for each of these GVP components. Each
component is configured as an Application object in Genesys Management
Framework. (The Fetching Module is integrated with the Media Control
Platform IP in release 8.1.2 and later, and is no longer a separate IP.)

46 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture GVP Components

Resource Manager
The Resource Manager controls access and routing to all resources in a
GVP 8.1 deployment.
The Resource Manager is the first element to process requests for services, and
it interacts with the Configuration Server to determine the Interactive Voice
Recognition (IVR) Profile, Voice Extensible Markup Language (VoiceXML),
Call Control Extensible Markup Language (CCXML), Announcement, and
Conference application, resource, and service profile required to deliver the
service. It then pushes the profile to a component that can deliver the service,
such as the Media Control Platform or Call Control Platform, or CTI
Connector.
Hierarchical The Resource Manager also supports Hierarchical Multi-Tenant (HMT)
Multi-Tenant configurations for service providers, enabling them to apportion a select
Configurations number of inbound ports for each customer, which provides greater flexibility
when enforcing policies during service selection. For more information about
HMT policy enforcement, see “Service Parameters” on page 50.
This section provides an overview of the following topics:
• Resource Manager Roles
• Resource Manager Functions, on page 48

Resource Manager Roles


The Resource Manager performs the following key roles in a GVP
deployment—SIP Proxy, SIP Registrar, and SIP Notifier.

SIP Proxy
The Resource Manager resides between all SIP resources within the GVP
system architecture. It acts as a proxy for SIP traffic between any two SIP
components.
As a SIP proxy, the Resource Manager is the interface to a collection of
media-processing resources, such as the Media Control Platform, the Call
Control Platform, audio and video conferencing, and other resources. SIP
devices and VoiceXML or CCXML applications can then make use of
media-centric services through the proxy, without information about the actual
location of these resources or how to manage various routing decisions:
• External clients, such as media gateways or soft switches, can access GVP
services without knowing the topology or other details of the resource
fulfilling the request.
• Internal media resources can access the services offered by other
components without knowing the location or status of the resource that are
fulfilling the request.

Deployment Guide 47
Chapter 2: GVP Architecture GVP Components

SIP Registrar
The Resource Manager acts as a registrar for GVP resources; however, it
accepts registration only from those resources that are added to the
Connections section of the Resource Manager Application object. Registration
occurs through SIP REGISTER messages; therefore, GVP supports transparent
relocation of call-processing components.
Currently, the Media Control Platform, Call Control Platform, and CTI
Connector do not register with the Resource Manager at startup. The Resource
Manager detects instances of these components through configuration
information that is retrieved from the Configuration Database.
If the Media Control Platform Resource group has been configured for
monitoring, the Resource Manager monitors resource health by using SIP
OPTIONS messages. For example, to determine whether the resources in the
group are alive, the Resource Manager periodically sends SIP OPTIONS
messages to each Media Control Platform resource in the group. If the
Resource Manager receives a 200 OK response, the resources are considered
alive.

SIP Notifier
The Resource Manager acts as a notifier, accepting SIP SUBSCRIBE requests
from SIP Server and maintaining multiple independent subscriptions for the
same or different SIP devices. The subscription notices are targeted for the
tenants that are managed by the Resource Manager. In this role, the Resource
Manager periodically generates SIP NOTIFY requests to subscribers (or tenants)
about port usage and the number of available ports.
The Resource Manager supports multi-tenancy by sending notifications that
contain the tenant name and the current status (in- or out-of-service) of the
Media Control Platform (active or passive) that is associated with the tenant.
For information about how the Resource Manager provides resource status
information, see “Notification of Resource Status” on page 108.

Resource Manager Functions


The Resource Manager performs the following functions:
• Resource management—The Resource Manager allocates and monitors
SIP resources to maintain a current status of the resources within a GVP
deployment. The Resource Manager provides load balancing and high
availability for each resource type, as the workload is evenly distributed
among resources of the same type. These processes ensure that new,
incoming services are not interrupted when a resource is unavailable. (See
also the description of the resource selection function on page 51, and
“High Availability and Scalability” on page 85.)
• Session management—The Resource Manager combines two logical
functions of session management:

48 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture GVP Components


Physical resource management—The Resource Manager monitors
the status of the various GVP resources and, based on
request-for-service and capability mapping, routes to other resources
that offer a particular set of capabilities or services.

Logical service management—The Resource Manager applies
high-level application and business logic to select the service that is
delivered and the parameters that are applied. This means that the
resource to fulfill the service does not need to be specified in advance.
In this way, the Resource Manager provides session management functions
to handle logical call sessions, individual calls within a logical session, and
the lifetime and coordination of call legs within a call session.
• Service selection—When a call session arrives at the Resource Manager,
the Resource Manager maps the call to an IVR Profile and, if applicable, to
a tenant, and selects a service for the request.
Application There are various ways in which the Resource Manager determines which
Selection IVR Profile to execute. GVP most commonly uses one of the following
methods:

Dialed Number Identification Service (DNIS) mapped to the IVR
Profile—GVP uses the DNIS to identify which application to run. In
this scenario, the incoming call corresponds directly to the DNIS.

Voice application specified as a treatment within a call—Another
Genesys component (for example, the CTI Connector) acts as a master
and executes a number of slave applications on GVP. When a service is
required as part of a call flow, the voice application invokes a treatment
on GVP. In this scenario, the voice service is invoked as part of the
master call flow that the master application executes.

Note: For a description of how the Resource Manager executes IVR


Profiles when the CTI Connector is deployed, see “How the CTI
Connector Works” on page 125.

Tenant Selection When the platform administrator segregates services into a multi-tiered
hierarchy, the Resource Manager also identifies the tenant for which a
request is intended. The IVR Profile, policy enforcement, and service
parameters are determined by the tenant that is associated with the request.
In a HMT environment, when a tenant is selected, the policies enforced,
and application and service parameters associated with that tenant, also
affect the child tenants within that tenant object.
Service Selection After the Resource Manager has determined the IVR Profile for a session,
it identifies the service type and the service prerequisites for each call leg.
The Resource Manager supports the Differentiated Services (DS) Field for
outbound SIP message packets for UDP, TCP, and TLS transport protocols.
The DS Field value, which prioritizes the type-of-service (ToS), is
configured in the sip.transport.[n].tos parameter. For a complete list of

Deployment Guide 49
Chapter 2: GVP Architecture GVP Components

supported TOS standard values, see the Genesys Voice Platform 8.1 User’s
Guide.

Note: A separate set of SIP transports are used for processing SUBSCRIBE
requests (for which the Resource Manager acts as a SIP User Agent).
However, subscribers can also use the Resource Manager proxy
transport for subscriptions.

Service For each type of service within an IVR Profile, you can configure a set of
Parameters service parameters that the Resource Manager forwards to the VoiceXML
or CCXML application to affect the way that the application is executed.
For example, you can configure the default languages for the VoiceXML
services for voice applications.
• Policy enforcement—For each IVR Profile and, if applicable, for each
tenant, you can configure policies such as usage limits, dialing rules, and
service capabilities. The Resource Manager enforces policies by imposing
them on the VoiceXML or CCXML application to determine whether or
not to accept a SIP session. If the session is accepted, the Resource
Manager locates a resource to handle it. The Resource Manager also
enforces policies related to how a VoiceXML or CCXML application uses
a resource.

Multi-tenant policy enforcement—For multiple tenants, you can
configure the Resource Manager to apply and enforce policies in a
hierarchical manner. HMT enables you (a service provider or parent
tenant) to allocate portions of its inbound ports to each reseller (or
child tenant). The reseller can, in turn allocate ports to a number of
child tenants within its tenant object. When tenant policies are enforced
at the child tenant level, the policies are propagated to all other child
tenants within that child tenant object. For more information about how
the Resource Manager enforces tenant policies in a multi-tenant
environment, see “HMT Policy Enforcement” on page 103.
• Service request modification—Before the Resource Manager forwards a
request to a resource that can handle the mapped service, it can modify the
SIP request to add, delete, or modify the SIP parameters. You can
configure this user-defined information on a per-service/per-application
basis.

Note: Definitions of the service parameters that are required for a service
within a voice or call-control application are specific to the
component that is providing the service. The Resource Manager
merely provides the framework within which an application defines
the parameters that influence the way an application is executed.

50 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture GVP Components

• Resource selection—After the Resource Manager has identified an IVR


Profile and service type, it identifies a Resource Group that can provide the
service. Then, on the basis of the load-balancing scheme for the group and
the status of individual physical resources in the group, it allocates the
request to a particular physical resource.
• Resource selection with geo-location information—When the Resource
Manager receives a request with geo-location information from a gateway
resource (SIP Server), it checks the Resource Groups to determine if the
geo-location parameter that is configured for the group matches the
geo-location in the request. If it finds a match, the Resource Manager
routes the call to the group based on port availability, preference and other
criteria.
For more information about how the Resource Manager processes
geo-location information during resource selection, see “Notification of
Resource Status” on page 108.
• Resource selection for outbound campaigns—For outbound-call
campaigns, the Resource Manager can predict the ratio of agent calls to
customer calls by using a prediction factor (factor-P) parameter and,
when there are multiple Media Control Platforms in a deployment, it can
distribute calls based on the maximum number of calls and free ports for a
particular campaign.
Requests for conference services are not handled in the same manner as
requests for other services, because the Resource Manager must route
requests for a particular conference ID to the same conference resource,
even if it is from a different Resource Manager session. For more
information, see “Resource Selection for Conference Services” on
page 111.
For service types other than conferencing, there is no special correlation
required for requests from different Resource Manager sessions.
• Call-data reporting—When data collection and logging events occur, the
Resource Manager sends these log events to the Reporting Server. For
more information, see “CDR Reporting” on page 194.
For the CTI and PSTN Connectors, the Resource Manager submits
Component Arrival and Peak data for Historical reporting services.
For a description of how Resource Manager selects resources when the
CTI Connector is deployed, see the section, “CTI Connector”.
For information about installing the Resource Manager with a basic
configuration, see Chapter 6 on page 229.
• Detection and monitoring of Recording Servers and Clients—To
provide and facilitate GVP call recording services, when the Media
Control Platform is acting as a Recording Client and to support third-party
recording devices. See also, “Recording Servers and Clients”, Chapter 3 in
the Genesys Media Server 8.1 Deployment Guide.

Deployment Guide 51
Chapter 2: GVP Architecture GVP Components

Policy Server
The Policy Server component validates and resolves GVP-specific business
rules (the policies that are enforced by the Resource Manager) and provides
this information to Genesys Administrator in response to HTTP queries. It is a
stand-alone Java process that exposes an HTTP interface through which it
connects to Management Framework. The read permissions that are granted
when a user logs into Genesys Administrator determine which Management
Framework objects are accessible.
Secure Within the GVP system architecture, the Policy Server resides behind Genesys
Architecture Administrator and reads data from Management Framework. Genesys
Administrator is considered to be in a lower security zone, because it can be
deployed on a WAN or opened up to the Internet. If Genesys Administrator is
compromised, the attacker would have access equal to the logged-in user only.
In this way, access to a platform-wide view of a the GVP environment can be
secured and managed.
Policy Server is designed as a separate component rather than a module within
Genesys Administrator, so that it can be placed in a higher security zone. See
Figure 2.

Figure 2: Policy Server Architecture

Policy Server runs as a system service and has permission to view all objects in
the deployment. The current release of Policy Server is used by Genesys
Administrator only, however, it has been designed for use by other
components, user interfaces, or third-party tools in the future.

52 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture GVP Components

Policy Server Functions


Policy Server performs the following functions:
• Resolves Resource Manager policies within the a multi-tenant hierarchy
and IVR Profiles.
• Manages DID ranges (newly created and existing) within the deployment
by checking for overlaps.
• Provides a service that returns a Web Application Description Language
(WADL) document that describes all of the Policy Server services,
including information about the server instance.
For more information about how Policy Server performs its functions, see
“How the Policy Server Works” on page 118.

Policy Server Interfaces


Policy Server interacts with components within the architecture by using two
interfaces—an HTTP interface to receive incoming policy queries and an
interface with Management Framework to retrieve configuration and
provisioning information.

CTI Connector
The CTI Connector supports two modes of CTI deployments—Genesys CTI
and Cisco CTI integration. A single instance of CTI Connector can support
either Genesys CTI or Cisco CTI integration, which can be selected by the user
during installation.
In both the deployment, the CTI Connector offers functions, such as the ability
to obtain call related information (for example, ANI, DNIS), read or attach call
data, play treatments to the caller, and transfer the call to the agent.
For more information about the role of the CTI Connector in the VPS and
functionality offered by Management Framework, see the Genesys Voice
Platform Solution 8.1 Integration Guide.
This section provides an overview of the following topics:
• CTI Connector Role
• CTI Connector Functions, on page 54

CTI Connector Role


The CTI Connector acts as a SIP B2B UA to provide a SIP interface to the
GVP components and it communicates with CTI by using the following
protocols and interfaces:
• XML over TCP/IP with Genesys IVR Server
• GED-125 interface over TCP/IP with Cisco ICM.

Deployment Guide 53
Chapter 2: GVP Architecture GVP Components

The CTI Connector acts as a border element within GVP, interfacing with the
CTI network on one side, and through the Resource Manager, interacts with
the Media Control Platform on the other side.
Third-party components do not use the CTI Connector directly. The CTI
Connector supports both NGI and GVPi when it is integrated with IVR Server,
however, when CTI Connector is integrated with Cisco ICM, only NGI is
supported.

CTI Connector Functions


This section describes the various CTI Connector functions when integrated
with IVR Server and Cisco ICM.

Resource Selection
CTI sessions receive special handling from the Resource Manager. For
example, requests from the Media Control Platform are sent to the same CTI
Connector that was used to establish the call. In addition, when the CTI
Connector attempts a transfer, the Resource Manager sends the request to the
same gateway from which the call originated. The behavior is described as
follows:
• If an incoming call is received from a gateway, and the use-cti
configuration option in the Gateway group is set to 1, the Resource
Manager identifies the CTI Connector resource group (not an IVR Profile)
to provide the service.
• If an incoming call is from a gateway and if use-cti = 2, then Resource
Manager maps an IVR Profile, extracts the CTI service parameters that are
configured in the profile and forwards these parameters in the INVITE
message that is sent to the CTI Connector.
• If use-cti = 0, the Resource Manager does not treat the incoming call as a
CTI call and proceeds with the DNIS-to-IVR Profile mapping.

SIP Back-to-Back User Agent


The CTI Connector acts as a SIP B2BUA. It remains in the call signaling path,
and receives inbound calls through the Resource Manager or receives
outbound-call requests (transfers) from the Media Control Platform (through
the Resource Manager). The CTI Connector intercepts SIP messages that are
intended for itself, and acts as a pass-through for SIP messages that are
intended for other SIP endpoints in the call.

Call Treatments
Call handling is determined by the interaction between the CTI Connector and
the ICM framework. Treatments are used to start and control external
applications. These applications then process calls that return the data that is
used to route the call. For example, if the ICM framework specifies a particular

54 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture GVP Components

treatment for a call, the CTI Connector can translate that treatment into a
request for a specific Media Control Platform service.
IVR Server • The CTI Connector can also route calls to, and receive instructions from,
Integration ICM and Universal Routing Server (URS). The CTI Connector supports
the following URS treatments for both the NGI and the GVPi:

Play Application—Used to invoke specific branching from the IVR
script.

Play Announcement—Used to play an announcement for the caller.

Play Announce and Collect Digits—Used to play an announcement for
and collect digits from the caller.

Music—Used to play a .vox or .wav file.
Cisco ICM • The CTI Connector supports the following treatment for NGI:
Integration 
Script Execution—Used to invoke specific branching from the IVR
application, based on the script ID that is received.

Transfers for CTI Connector with IVR Server


The CTI Connector supports three types of transfers:
• Blind transfers through the GVP platform.
• Blind transfers through the CTI framework (using OneStepXfer)
• Bridge transfers through the GVP platform

Note: CTI transfers are supported when the CTI Connector is deployed in
behind-the-switch mode only.

Blind transfers can occur in one of two ways:



Through the CTI framework—Used in VoIP and TDM environments,
but blind transfers only and supported when IVR Server is in behind
mode (behind-the-switch) only.
 Through GVP—The CTI Connector is acting as a SIP B2BUA. This
transfer is supported when IVR Server is in any mode (in-front, behind,
or network).
For information about how the CTI Connector can be configured to
interact with IVR Server, see the Voice Platform Solution 8.1 Integration
Guide.

Transfers for CTI Connector with Cisco ICM


GVP performs blind and bridge transfers, based on the mode of operation, as
follows:
• In SCI mode, it performs a blind or bridge transfer, based on the ICM
script.

Deployment Guide 55
Chapter 2: GVP Architecture GVP Components

• In CRI mode, it performs a blind or bridge transfer, based on the


VoiceXML application

Note: GVP supports three types of transfers: blind, bridge, and consultation,
however, CTI Connector supports blind and bridge transfers only.

For more information about blind and bridge transfers, see “Transfers” on
page 153.

PSTN Connector
The PSTN Connector is a stand-alone component that provides connectivity to
traditional telephony networks and equipment, such as a private branch
exchange (PBX) or automatic call distribution (ACD). For existing
deployments that use Dialogic TDM cards, the PSTN Connector provides
seamless integration and migration to the IP-based GVP 8.1 architecture.
The PSTN Connector supports inbound and outbound calling by acting as a
border element, interfacing with a PSTN cloud or PBX or ACD on one side,
and through SIP Server, interacting with the Media Control Platform through
the Resource Manager on the other.
This section provides an overview of the following topics:
• PSTN Connector Roles
• PSTN Connector Functions, on page 56
• PSTN Connector Interfaces, on page 57
• PSTN Connector Supported Transfers, on page 58

PSTN Connector Roles


The PSTN Connector acts as a media gateway by using Dialogic boards to
interface with the TDM side of the network and translate TDM calls to SIP
calls so they can be handled by SIP Server and the GVP components.

PSTN Connector Functions


PSTN Connector functions are primarily based on GVP 7.x Voice
Communication Server (VCS), but with a few enhancements. The VoIP
interface is compliant with RFC 3261 for SIP session control and with RFC
3550 for packetization and control of RTP packets.
The PSTN Connector performs the following functions:
• Captures and transmits DTMF tones (using Dialogic technology) to and
from the TDM networks
• Receives and controls ISDN and non-ISDN calls from TDM networks

56 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture GVP Components

• Detects and emits DTMF tones to and from the Media Server over VoIP
networks
• Converts TDM signals and media to SIP messages and RTP over VoIP
networks
• Works with the Media Server to provide media playback and buffer
management
• Provides Dialogic port management and the ability to re initialize ports that
are stuck (by using Genesys Administrator)
• Captures dynamic call, port, and Dialogic board statistics in SNMP MIB
tables, and generates traps for critical information or failures
• Passes Dialogic port numbers on to the CTI Connector in SIP custom
headers to facilitate integration with IVR Server
• Supports User-to-User Information (UUI) messages by using the codeset
that is sent from a user to the network to transfer information to another
remote user
• Provides bidirectional port functionality and a strategy for managing glare
• Supports Call Progress Analysis for outbound calls using PSTN Connector
• Provides media prefilling
• Supports features for inbound-call support, such as:

Disable ISDN Alerting and Overlap Receive DNIS/ANI
 Extracting data such as, Redirecting Number (RN), Presentation and
Screening Indicators, Numbering Plan, Numbering Type, Billing
Number, and Information Indicator Digits from ISDN Information
Elements (IE)
• Supports features for inbound and outbound call support, such as:
 Disconnect Cause Propagation
For more information about how the PSTN Connector performs its functions,
see “How the PSTN Connector Works” on page 132.

PSTN Connector Interfaces


The PSTN Connector provides interfaces to support the following three
signaling protocols:
1. Integrated Services Digital Network (ISDN)—Comprised of digital
telephony and data-transport services offered by regional telephone
carriers. ISDN uses digitization to transmit voice, data, text, graphics,
music, video, and other source material over existing telephone wires.
2. Robbed-bit signaling (RBS)—A specific type of Channel Associated
Signaling (CAS), which robs the least significant bit of information in a T1
signal from the channels that carry voice and uses it to transmit framing
and clocking information.

Deployment Guide 57
Chapter 2: GVP Architecture GVP Components

3. CAS for channelized E1 lines—Commonly used in Latin America, Asia,


and Europe and is configured to support channel banks in the network that
convert various battery and ground operations on analog lines into
signaling bits, which are forwarded over digital lines.
To find out how these signaling protocols interacts with the PSTN Connector,
see “How the PSTN Connector Works” on page 132.

PSTN Connector Supported Transfers


The PSTN Connector supports many types of call transfers for both inbound
and outbound calls, including the following types of transfers:
• Dialogic Transfers—Dialogic blind and bridge transfers are treated the
same as any other blind and bridge transfers within GVP. See “Transfer
Types” on page 153.
Subscribed • AT&T Transfer Connect—Transfer Connect is an AT&T service which
Transfer Services enables subscribers to redirect or transfer a call to another location or target
party (TP). The toll-free subscriber that receives and transfers the incoming
call is referred to as the redirecting party (RP)—in this case, GVP. This
service supports data forwarding for inbound and outbound calls, and
in-band and out-of-band transfers.
• Two B-Channel Transfer—Two B-Channel Transfer (TBCT) service
enables a controller (or subscriber) on a PRI to request the Stored Program
Control Switch (SPCS) to connect two independent calls on the
controller’s interface (in this case, the PSTN Connector). When the SPCS
accepts the request, the controller is released and the two calls are
connected directly.
• Release Link Trunk Transfer—The Release Link Trunk (RLT) call transfer
accepts calls on two different B-channels, pulls the calls back from the
GVP, and bridges them at the switch. It then releases both B-channels for
further inbound or outbound calls. RLT works with Nortel DMS-100 and
DMS-250 switches on ISDN PRI T1 trunk groups.
• Explicit Call Transfer—Explicit Call Transfer (ECT) enables an ISDN PRI
user (in this case, GVP) to send requests to the switch to connect two
independent calls on the users interface. The two calls can use the same
PRI trunk or different PRI trunks. GVP implements a supplemental ECT
service, as defined in EN 300 367 and EN 300 369-1. ECT, and supports
the ECT_AUS, ECT_UK, and ECT_NZ variants.
• Q. SIG Call Transfer—Q Signaling (Q.SIG) is a signaling protocol that uses
Remote Operation Support Element (ROSE) encoding and object
identifiers to provide various supplementary services, including transfers,
call control, and path-replacement. The GVP implementation conforms to
the method recommended by the European Telecommunications Standard
Institute (ETSI) and is based on the ITU-T Q.931 standard.

58 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture GVP Components

Although Q.SIG is not technically a subscribed service, GVP must be on a


network that supports Q.SIG to access its call control and transfer features. In
addition, the following conditions must be met:
• The two connected calls must have compatible B-channels.
• Both incoming and outgoing calls from the PSTN Connector must be
answered.
To use TBCT, RLT, or ECT you must subscribe to the service and the
following conditions must be met:
• The two connected calls must have compatible B-channels.
• One of the two calls must be answered.
• If the other call is outgoing (from PSTN Connector), it can be answered or
alerting.
• If the other call is incoming (to PSTN Connector), it must be answered.
For more information about how the PSTN Connector integrates with the
PSTN network to utilize these transfer services and signaling protocols, see
“How the PSTN Connector Works” on page 132.

Note: The PSTNC is only available on the GVP 8.1.4 CD, but it functions
properly with GVP 8.1.6.

Media Control Platform


The Media Control Platform is the core component of GVP, because it
executes the actual voice applications in the solution. In addition, it is used by
other communication layer components, such as SIP Server, to provide broader
customer service scenarios, such as agent interactions, and many other
functions.
This section provides an overview of the following topics:
• Media Control Platform Components
• Media Control Platform Services, on page 60
• Media Control Platform Functions, on page 62
• Interpreters, on page 62

Media Control Platform Components


The Media Control Platform is composed of:
• A core executable file that consists of the Call Manager application
programming interface (CMAPI) and the SIP Line Manager.

Deployment Guide 59
Chapter 2: GVP Architecture GVP Components

• The Media Server, which is a group of libraries (and third-party transcoder


dynamic-link libraries [DLL]) that run in-process in the Media Control
Platform, for media processing and Real-time Transport Protocol (RTP)
streaming.

Note: The library files in the GVP installation packages for Linux have a
.so file extension (not .dll).

• The Next-Generation Interpreter (NGI), which is a DLL that runs


in-process in the Media Control Platform. The interpreter DLL is loaded
by the CMAPI application.
• The legacy GVP Interpreter (GVPi), which is a DLL that runs in-process in
the Media Control Platform on Windows only. The interpreter DLL is
loaded by the CMAPI application.

Note: For more information about NGI and GVPi, see “Interpreters” on
page 62.

• The Media Resource Control Protocol (MRCP) Client, which is a group of


libraries that runs in-process in the Media Control Platform, to handle
MRCPv1 or MRCPv2 communication with automatic speech recognition
(ASR) and text-to-speech (TTS) speech engines.
• The Fetching Module, previously a separate component, is now integrated
with the 8.1.2 Media Control Platform and communicates directly with the
NGI.
For information about how the Fetching Module performs caching, see
“Fetching Module and Squid” on page 66.
For information about installing the Media Control Platform, with basic
configuration, see Chapter 6 on page 229.

Media Control Platform Services


VoiceXML Media Control Platform services are defined by voice applications that are
executed when a SIP session is established between the Media Control
Platform and the service user. The Media Control Platform can host various
application execution environments and use multiple implementations of a
particular language. The Media Control Platform is most often used to deploy
dialog-based services that are built using VoiceXML.
NETANN The Media Control Platform supports two other predefined services:
announcements and conferencing. In conjunction with an underlying
media-processing resource, the Media Control Platform can provide extended
versions of all services defined in Network Announcements (NETANN)—for
example, announcements with pre-recorded audio prompts.

60 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture GVP Components

The Media Control Platform also supports a record service that is initiated
when an incoming SIP INVITE message contains the record parameter in the
Request URI and annc is in the user part of the request.
The Media Control Platform offers services in accordance with the Internet
Engineering Task Force (IETF) Request for comments (RFC) 3261 (SIP) and
RFC 4240 (NETANN) standards and the Burke Draft (SIP interface to
VoiceXML media services). The NETANN interface is accessed through the
Resource Manager, but it can be accessed directly in a standalone
configuration.

Note: NETANN defines a number of extensions to SIP that clients use to


request execution of particular classes of applications, including simple
announcements, conferences, and dialogs. NETANN is defined in RFC
4240.

MSML The Media Control Platform supports the conferencing service through Media
Server Markup Language (MSML). In conjunction with an underlying
media-processing resource, the Media Control Platform can provide extended
MSML conferencing features, such as the ability to set the conference role,
perform prechecks to ensure the audio or video prompt file is found before the
conference begins, and support for relative path URIs to the media file.
The Media Control Platform supports dual-channel Call Recording service
through MSML that is initiated when an incoming SIP INVITE message
contains the record parameter in the Request URI and the msml parameter is in
the user part of the request, In this case, however, a different type of
conference-based recording is indicated. See “Dual-Channel Call Recording”
on page 145.
In addition, the Media Control Platform supports a DTMF URL scheme
through MSML, which enables the specification of a sequence of DTMF digits
to generate, record, and collect DTMF events within a single SIP session.
The Media Control Platform can be deployed without VoiceXML support, as
an MSML only server. It implements MSML server functionality through its
MSML application module according to the draft.saleem.msml.txt standard.
For a list of the supported standards for Media Control Platform services, see
Appendix I on page 495.

Service Delivery
The Media Control Platform controls overall execution of the voice
applications, but the applications rely heavily on access to media-processing
resources. One or more underlying, third-party media-processing resources
(such as media servers, speech recognition servers, or speech synthesis servers)
deliver ASR and TTS services.
The media-processing resources handle RTP packets in three ways:
• By using direct or indirect RTP streams to interact with the service user.

Deployment Guide 61
Chapter 2: GVP Architecture GVP Components

• By processing or interpreting RTP packets received from the service user.


• By generating RTP packets for transmission to the service user.
Interaction with the media-processing resources occurs by various methods
that include the RFC 4240 standard and MRCPv1 and MRCPv2.

Media Control Platform Functions


The Media Control Platform performs the following functions:
• Initiates outbound calls
• Handles network-initiated call disconnections
• Performs application-initiated calls
• Supports VoiceXML applications
• Plays audio, video, and TTS prompts
• Streams TTS, audio, and video
• Records utterance data
• Records audio and video
• Supports dual audio channel and dual video channel call recordings
• Collects call recordings
• Performs ASR and dual tone multi-frequency (DTMF) input handling
(barge-in or non-barge-in)
• Streams audio data to an ASR server for speech recognition
• Reserves ASR and TTS resources at call initiation
• Transfers calls
• Sends active speaker notifications to the conference creator
• Conference calls that use audio and video, and support an unlimited
number of participants
• Performs transcoding from one media codec to another when required—for
example, by bridging media sessions
• Logs data and produces metrics
• Performs Call Progress Detection (CPD) and analysis
• Provides dual-stack functionality, where one call leg uses IPv4
communication and the other IPv6
For more information about how the Media Control Platform performs its
functions, see “How the Media Control Platform Works” on page 139.

Interpreters
The Next Generation Interpreter (NGI) and the Legacy GVP Interpreter
(GVPi) are Voice Extensible Markup Language (VoiceXML) interpreter
components on the Media Control Platform. The CCXML Interpreter

62 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture GVP Components

(CCXMLI) is the Call Control Extensible Markup Language (CCXML)


interpreter on the Call Control Platform used for executing call-control
applications.
VoiceXML The VoiceXML interpreters request VoiceXML pages from a web application
Interpreters server (optionally through a fetching/caching proxy), compile the pages into an
internal representation, and execute them to manage a dialog with a user. As
part of this dialog management process, the VoiceXML interpreter also
requests resources (such as speech recognition and speech synthesis sessions)
from other platform components.
The interpreters are responsible for driving the underlying platform to execute
the VoiceXML application. The interpreters interpret the VoiceXML
applications to determine the interactions that occur with a caller, and the
Media Control Platform provides the media services.
The VoiceXML interpreters are Windows dynamic-link libraries (DLL) or
Linux Shared Objects that run in-process on the Media Control Platform. In
GVP 8.1, the GVPi is available only for Windows.
For Windows deployments, the Media Control Platform can run one or both
VoiceXML interpreters (NGI and GVPi), and both are installed by default.
Voice application, or IVR Profile, provisioning determines which interpreter to
use for a particular voice application. You can also specify which interpreter to
use as the default VoiceXML interpreter for GVP.
The following subsections briefly describe the GVP 8.1 interpreters, to provide
a context for the syntactic and semantic differences between the applications
that they support.

NGI
The NGI is the default VoiceXML interpreter for voice applications that are
running on GVP 8.x. It was introduced with GVP 8.0 and is built on scalable
architecture that leverages multi core and multiprocessor environments. This
architecture provides higher levels of performance and positions the NGI for
support of evolving standards, such as VoiceXML 3.
The NGI parses VoiceXML documents in stricter accordance with the
VoiceXML and Speech Synthesis Markup Language (SSML) schemas, with
GVP extensions. Any element or attribute that violates the schemas generates a
parsing error.
In 8.1.5, a new parser is introduced for XML documents that are retrieved by
using the <data> element. Its behavior differs from the previous parser in the
following ways:
• Entity declaration elements (<!ENTITY> elements) in the XML document
type declaration are not handled and an error.semantic is generated when
XML documents that contain these elements are retrieved.
• Namespace declaration attributes (xmlns attributes) within an element are
not exposed as normal attributes in the exposed DOM object.

Deployment Guide 63
Chapter 2: GVP Architecture GVP Components

• If there is no namespace declaration with a local name in the XML


document, the prefix property of the Node object in the exposed DOM
• If the same local name is redefined with another namespace URI, the
document does not treat the re-definition correctly.
• The Attr object's child Nodes property is evaluated to null, instead of the
value of the attribute.
• The evaluation of the <data> name variable returns the XML document. In
the old implementation, it returned the “[object VG_DOM_CLASS]” string.

Note: You can revert the NGI back to the old behavior by setting the value
of the data.use_xerces_dom_parser configuration object in the
[vxmli] section of the Media Control Platform Application to true.

For more information about NGI support for the VoiceXML and SSML
schemas and GVP extensions, see the Genesys Voice Platform 8.1 Genesys
VoiceXML 2.1 Reference Help.
The NGI supports the CTI interface through SIP INVITE and REFER messages,
and in GVP 8.1, supports Linux as well as Windows.

GVPi
The GVPi, which is new in GVP 8.1, is the legacy GVP 7.6.x VoiceXML
interpreter that was present in the IP Communication Server (IPCS). It enables
GVP to support VoiceXML 2.1 applications implemented in GVP 7.6. GVPi
also supports interactions with IVR Server through CTI Connector. The Media
Control Platform and CTI Connector communicate by using SIP.
In addition to VoiceXML 2.0 and 2.1 applications, the GVPi can process XML
applications that use Telera XML (TXML) extensions for call-control
functionality. TXML call-control functions include creating outbound-call legs
or bridging calls without using the <transfer> tag, queuing calls, and
managing the call legs.
Within GVPi, the Page Collector module uses HTTP and HTTPS to retrieve
VoiceXML documents, scripts, grammars, and media content, similar to what
the Fetching Module does for the NGI. The functionality that was provided by
the Call Flow Assistant (CFA) in earlier releases of GVP is now divided
between GVPi and the CTI Connector.
CTI Interface GVPi (on the Media Control Platform) interacts with the CIT Connector
through the SIP protocol by using SIP INFO messages. All of the CTI features
available in GVP 7.6 are supported in this release—for example, treatments,
transfers, user data, and interaction data.

Note: GVPi is supported on Windows operating systems only.

64 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture GVP Components

For more information about GVPi support for VoiceXML and for TXML call
control, see the Genesys Voice Platform 8.1 Legacy Genesys VoiceXML 2.1
Reference Manual.

Call Control Platform


The Call Control Platform is an optional GVP component that is required only
for configurations that use CCXML.
The Call Control Platform supports the execution of CCXML 1.0 applications
in SIP-based environments. Therefore the Call Control Platform services are
defined by applications written in CCXML.
CCXML is not a media/dialog language like VoiceXML, so it does not provide
any dialog resources on its own. Instead, it supports moving calls around and
connecting them to dialog resources. Therefore, the Call Control Platform
frequently makes use of Media Control Platform services.
This section provides an overview of the following topics:
• Call Control Platform Components
• Call Control Platform Functions
• Session Data, on page 66

Call Control Platform Components


The Call Control Platform is composed of a core executable file and the
CCXML Interpreter (CCXMLI), which runs in-process in the Call Control
Platform.
The Fetching Module, previously a separate component, is now integrated with
the GVP 8.1.2 Call Control Platform and communicates directly with the
CCXMLI.
For information about installing the Call Control Platform, with a basic
configuration, see Chapter 6 on page 229.

Call Control Platform Functions


The Call Control Platform conforms to the W3C CCXML standard for call
control to accept, reject, join, or redirect calls.
The Call Control Platform performs the following functions:
• Initiates conferencing.
• Initiates VoiceXML dialogs on the Media Control Platform through the
Resource Manager.
• Creates outbound calls through an IP/Public Switched Telephone Network
(PSTN) gateway.

Deployment Guide 65
Chapter 2: GVP Architecture GVP Components

• Applies implicit transcoding through the Media Control Platform Media


Server.
• Starts new CCXML sessions when:

It receives requests from an incoming call.

It receives requests from an HTTP client on its HTTP interface.

An existing CCXML session creates a new CCXML session by using
createccxml.
• Logs data and produces metrics.
• Supports MSML dialog requests.
• Supports IPv6 in SDP.
To receive requests from, and send requests to, the GVP components, the Call
Control Platform acts as a SIP back-to-back user agent (B2BUA). The Call
Control Platform achieves call control by sending a request to the Resource
Manager to acquire access to the resource. When the request is received, the
Resource Manager finds the appropriate resource—for example, the Media
Control Platform or a bridging server—and forwards the request.
The Call Control Platform uses the NETANN and Burke Draft SIP messaging
standards for requests for service.
An HTTP interface enables external entities to use HTTP POST to initiate a new
CCXML session through the createsession event I/O processor.
For more information about how the Call Control Platform performs its
functions, see “How the Call Control Platform Works” on page 165.

Session Data
The Call Control Platform maintains the current, peak, and total count data
and exposes it to a GUI for monitoring. Data is captured for the following
objects:
• CCXML connections
• CCXML dialogs
• CCXML conferences
• Conference participants
• Bridging server participants
• CCXML sessions

Fetching Module and Squid


The Fetching Module (previously an executable file [pwproxy.exe] in GVP 8.x)
is integrated with the Media and Call Control Platform Installation Packages
[IP]). The 8.1.2 and later releases of the Fetching Module support
HTTP/1.1-compliant caching and is responsible for fetching VoiceXML and
CCXML files, as well as HTTP/HTTPS resources.

66 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture GVP Components

The Fetching Module efficiently passes fetch results and other information
back to the NGI (on the Media Control Platform host) or CCXMLI (on the Call
Control Platform host).

Squid Caching Proxy


The third-party Squid software acts as a caching proxy for the Fetching
Module. Like any other caching mechanism, the Squid Caching Proxy caches
frequently used files so that fetching a copy of a file needs to occur only once;
after that, the file is retrieved from the cache.
The Squid software is included on the GVP DVD. In GVP 8.1.1 and earlier 8.x
releases, the Squid Caching Proxy must be installed before the Fetching
Module. In GVP 8.1.2, the Squid proxy is optional to provide more flexibility
in the deployment. For example, when it is deployed with a web server,
multiple Media Control Platform instances can share the same Squid proxy to
optimize caching.
For information about how to install Squid Caching Proxy and the Fetching
Module, see Chapter 6 on page 229.

GVP Caching
Audio and video recordings are common in VoiceXML documents, and they
can be very large. Because their content is also mostly static, using cached
content significantly improves performance.
GVP can perform the caching function itself (through the Fetching Module and
Squid), or you can add another server—a caching appliance, or a web proxy
server.

External Caching
External cache servers can be beneficial. For example, if you have a site with
10 GVP servers, and an audio file expires, each server must fetch a new copy
of the audio file. If there is an external cache server, fetching a new copy of the
audio file occurs only once. Also, the external cache servers typically have
very robust cache management tools to purge and refresh content.

Fetching Module Caching


The Fetching Module performs caching, as follows:
1. The 8.1.2 Fetching Module itself performs in-memory caching, which is
HTTP/1.1-compliant. (GVP 8.1.1 and earlier versions of the Fetching
Module are not HTTP/1.1-compliant.)
2. If the Fetching Module determines that it cannot serve the request from its
in-memory cache, it goes to the Squid Caching Proxy to try to fetch the
content. The Squid Caching Proxy performs HTTP/1.1-compliant caching.

Deployment Guide 67
Chapter 2: GVP Architecture GVP Components

3. If Squid determines that it cannot serve the content from its cache, it goes
to the web server to try to fetch the content.

Note: It is important that the clocking between the HTTP server and client
be synchronized, so that the caching policies—such as max-age and
max-stale—work properly.

The Media and Call Control Platforms support clearing of the Fetching
Module in-memory cache at runtime. In Genesys Administrator a custom
command (CLEARFMCACHE) can be triggered and sent to the Media or Call
Control Platform through Management Framework’s CCLib.
For more information about how the Fetching Module performs caching, see
“Caching” on page 170.

Page Collector Caching


Page Collector is the caching mechanism within GVPi. It fetches XML pages,
determines the document format, and passes the pages on to the appropriate
parser (VoiceXML or Transportation Extensible Markup Language (TXML).
The cache consists of two types of files—an index file and the actual cached
files.
Index File The index file stores thumbnail data for each cached file in binary format,
which facilitates a fast search. The thumbnail data consists of the URL, the
local file location, response headers, and the last access time. At process
startup, the index file is read into memory. After that, the in-memory image is
persisted to the index file at periodic intervals and during shutdown.
At process startup the index file is read using best effort. If a file is missing or
corrupt, the process starts up with whatever data it can retrieve. During an
HTTP operation, the index file is searched for the entry. If the entry is not
found, the request is sent to the web server. If the entry is found, it is validated
(using the RFC 2616 standard) to determine whether the cached entry should
be returned to the client or whether a request should be sent to the web server.
Caching Files Each response that can be cached is stored in a local file. The file location is
<MCP Install_Dir>/data/CnCache/<server>/CACxxxx.tmp, where <server> is
the name of the web server (as it appears in the URL) from which the response
was received, and xxxx is a random number. Each time a response is cached, a
corresponding thumbnail entry is created in the index file.
For information about how to use HTTP caching to improve performance, see
Appendix G on page 471.

MRCP Proxy
The MRCP Proxy can be placed between the Media Control Platforms and the
MRCPv1 resources within a GVP deployment. Deploying the MRCP Proxy
enables ASR/TTS usage reporting data to be sent to the Reporting Server.

68 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture GVP Components

MRCP Proxy Functions


MRCP Proxy manages access and routing to the MRCPv1 resources and
performs the following additional functions:
• Manages MRCPv1 resources in the following ways:

Routes requests to the supported resources.

Provides round-robin load balancing between resources.

Monitors the health status of resources.
• Sends ASR and TTS peak usage data to the Reporting Server.
• Provides highly available MRCPv1 services to the Media Control Platform
through a warm active–standby High Availability (HA) configuration.

MRCP Proxy Interfaces


MRCP Proxy supports three component interfaces:
• MRCP interface—To manage speech resource requests. MRCPv1
Requests from clients (Media Control Platform) and requests sent to
speech servers (ASR/TTS) are supported through MRCPv1.
• Management Framework interface—To integrate with CCIlib and the EMS
Logger library to receive configuration information, send logging data, and
send and receive status information.
• Operational Reporting interface—To integrate with the Operational
Reporting API to send peak ASR and TTS usage data for IVR Profiles,
tenants, other resources, and the overall deployment to Reporting Server.
In addition, MRCP Proxy supports a User Interface (UI) to integrate with the
Genesys Administrator web-based UI.
For more information about how the MRCP Proxy performs its functions, see
“How the MRCP Proxy Works” on page 175.

Supplementary Services Gateway


The Supplementary Services Gateway manages the initiation of outbound
sessions in GVP 8.1.x. It provides services for customer applications through
the SIP Server to the Resource Manager to establish outbound calls between
the caller and the Media Control Platform. This allows the Resource Manager
to enforce policies, such as usage limits and dialing or translation rules, or to
prevent certain customers from placing outbound calls.
For information about how the Resource Manager enforces policies, see
“Policy Enforcement” on page 103.
This section provides an overview of the following topics:
• Trigger Applications
• Supplementary Services Gateway Interfaces

Deployment Guide 69
Chapter 2: GVP Architecture GVP Components

• Supplementary Services Gateway Services, on page 70


• Supplementary Services Gateway Functions, on page 71

Trigger Applications
The Supplementary Services Gateway uses the standard HTTP
request/response method when communicating with trigger applications (or
customer applications), which generally resides at the customer premises.
Trigger applications send requests to the Supplementary Services Gateway
server to initiate outbound-call sessions. The requests are validated and stored
before processing and the Supplementary Services Gateway sends final call
results (success or failure) to the trigger applications through notification
URLs (which are part of the call initiation requests sent by the trigger
application).

Supplementary Services Gateway Interfaces


The Supplementary Services Gateway performs outbound-call initiation
through the following interfaces:
• Customer Application interface—Enables the Supplementary Services
Gateway to receive customer requests and manage the initiation of
outbound calls with the help of SIP Server. SIP Server initiates two call
legs and bridges them to establish a media path between the Media Control
Platform (through the Resource Manager) and the external party.
Through this interface the Supplementary Services Gateway acts as an
HTTP Server, collecting HTTP call requests from trigger applications,
providing authentication using HTTPS, validating the input data, and
storing it in its external database. If the customer input is not sufficient to
make a call or if data is missing, the Supplementary Services Gateway
returns an error to the trigger application.
• T-Lib Client interface—Enables the Supplementary Services Gateway to
batch and initiate requests to SIP Server to establish third-party call control
from the Media Control Platform to external parties or destinations.
• HTTP Client interface—Enables the Supplementary Services Gateway to
post results to a notification URL at the logical conclusion of a call.

Supplementary Services Gateway Services


The Supplementary Services Gateway can establish instances of outbound-call
sessions across multiple instances of the Media Control Platform. The
interfaces that are used by the Supplementary Services Gateway rely on the
Resource Manager to distribute the outbound-call-processing load across
multiple Media Control Platforms.

70 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture GVP Components

Gateway Services • In a hosted environment, third-party clients accessing the Supplementary


Services Gateway do not require direct access to the Media Control
Platform or other GVP components because the Supplementary Services
Gateway provides an external interface for outbound-call-processing
requests. Multiple Supplementary Services Gateways can reside between
private customer networks and GVP.
Tenant Services • The Supplementary Services Gateway supports outbound-call requests
from tenants in the following scenarios:

Multiple requests for a VoiceXML application from multiple trigger
applications

Requests for multiple VoiceXML applications from a trigger
application

Requests for multiple VoiceXML applications from multiple trigger
applications

Supplementary Services Gateway Functions


The Supplementary Services Gateway performs the following functions:
• Outbound-call initiation—Outbound calls are initiated and VoiceXML
applications provide IVR functions for end users.
• Outbound-call triggers—Trigger applications use HTTP POST requests to
initiate call triggers for single and bulk requests to generate outbound calls.
Initial and reattempt outbound-call triggers are queued and prioritized.
• Batched and queued requests—Batches of outbound session creation
requests are accepted and executed by using application-specified limits on
concurrent port usage and launch rates.
• Persistent call trigger data—Call trigger data is stored persistently in the
Supplementary Services Gateways external database until ports are
available. Storing the data persistently prevents data loss where multiple
restarts may occur. Any outbound call that is attempted but not completed
when the Supplementary Services Gateway restarts is reinstated as a new
call, or removed from database, based on the configuration, when the
server is fully operational again.
• Result notification for requests—The trigger application is notified by
using HTTP URLs when an outbound call succeeds or fails. Notifications
are sent after the call has been successfully established, the TTL has
expired, or after a call fails the specified number of attempts.
• Cancellation of outbound requests—Trigger applications can use HTTP
POST or DELETE to cancel requests for calls that are not yet initiated. The
Request ID that is returned to the trigger application for the create request
is specified in the cancel request.

Deployment Guide 71
Chapter 2: GVP Architecture GVP Components

• Status of outbound requests—Trigger applications use HTTP GET or POST


requests to obtain the status of a request stored in the Supplementary
Services Gateways external database. The Request ID that is returned to
the trigger application for the create request is specified in the query
request.
• Call Progress Detection (CPD) results—The Supplementary Services
Gateway can use either a media gateway or the Media Server as a CPD
provider. The trigger application can also specify that CPD is not required
for a call. The Supplementary Services Gateway controls whether CPD is
started either with the first media packet received or after the call is
connected and can specify whether the IVR should be started for specific
CPD results.
• HTTP access from IPv6 networks—The Supplementary Services
Gateway supports HTTP access from IPv6 networks for all requests.
• Connectivity to SIP Server on IPv6 networks—The Supplementary
Services Gateway supports connectivity to SIP Server on IPv6 networks
for T-Lib activities.
• SNMP—MIBs and trap generation are supported in the same way as all
other (monitored) GVP components.
For more information about how the Supplementary Services Gateway
performs its functions, see “How the Supplementary Services Gateway
Works” on page 177.

Reporting Server
The Reporting Server component of GVP provides a comprehensive view of
the calls serviced by a GVP deployment. The Reporting Server receives data
from the Media Control Platform for VoiceXML applications, from the Call
Control Platform for CCXML applications, and from other components
involved in servicing a call, such as the Resource Manager.
The Reporting Server is one of the key components of the GVP logging and
reporting feature, which is referred to as GVP Reporting.

Notes: In GVP 8.1.2, the Reporting Server is an optional component. See


“Options to Deploying VP Reporting Server” on page 219.
Reporting Server 8.1.3 and later are backwards compatible with 8.1.1
and 8.1.2 reporting clients.

This section provides an overview of the following topics:


• GVP Reporting Architecture
• Reporting Server Functions

72 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture GVP Components

GVP Reporting Architecture


GVP Reporting uses a client/server architecture. Figure 3 illustrates the GVP
Reporting architecture.

Call Processing Server Reporting Server


Component
VAR Stats Generator
EMS SQ CDR Operational

Genesys Administrator
Logging Service Service Reporting Summarization

Data Access Layer


Storage Services
Process
CCI Lib Reporting Client
Service Quality
Alarming Service

DB Maintenance
Management Framework Process

Web Services

Web Service Client


Log Files

Configuration Server
Message Server

MS SQL or Oracle Database

Figure 3: GVP Reporting Architecture

GVP Logging • Each component, or GVP Application object, uses a GVP Logging
interface to emit call and logging events that are related to component
activity and to route the logs to one or more log sinks. For more
information, see “GVP Logging” on page 190.
An API that is used by each call-processing component (Media Control
Platform, Call Control Platform, or Resource Manager) submits logging,
reporting, service-quality, latency, and Operational Reporting data, such as:
CDR Service 
Call Detail Record (CDR) Service, through which the components
submit CDRs that contain specific call information—such as start time,
end time, and the IVR Profile and tenant that are associated with the
call—to the Reporting Server. For more information about CDRs, see
“CDR Reporting” on page 194.
OR Service  Operational Reporting Service, which accumulates call arrival and call
peak statistics. (These statistics are applicable for the Resource
Manager, Media Control Platform, and Call Control Platform.) For
more information about Operational Reporting, see “OR Service” on
page 196.

Deployment Guide 73
Chapter 2: GVP Architecture GVP Components

SQ Reporting 
Service Quality (SQ) Reporting Service, in which the Media Control
Service Platform generates INFO-level logs that are used by the Reporting
Server to generate SQ and latency calculations and call-tracking
information. For more information about Service Quality Reporting,
see “SQA Service” on page 197.

Service Quality reports apply to NGi VoiceXML applications, and are
found in Genesys Administrator. GVP 8.1.5 and thereafter are
NGi-only platforms unless you run MCP 8.1.4 to incorporate support
for GVPi applications.
VAR • A <log> tag interface supports the Voice Application Reporter (VAR)
reporting product, which is delivered by the Reporting Server. The <log>
tag interface enables users to demarcate their VoiceXML applications into
logical transactions, and to assign success or failure either to individual
transactions or to a call as a whole. The <log> tag interface also provides a
means of attaching application-specific data—such as call notes and
custom name-value pairs—to calls.
The Reporting Server accumulates summary statistics based on the
processing of appropriately formatted VAR <log> tags. The summary
statistics that it derives are accessible through web services and Genesys
Administrator.
For more information, see “VAR Metrics” on page 192. For more
information about how developers can use Composer to customize the
VAR and SQA reporting features, see “Customizing SQA and VAR by
Using Composer” on page 75.
Reporting Client • A Reporting Client on each call-processing component is responsible for
reliable delivery of accumulated data to the Reporting Server. In GVP 8.1,
the data is transported over TCP. For more information, see “Reporting
Client” on page 200.
Reporting Server • The Reporting Server stores and summarizes data and statistics that are
submitted from the Reporting Clients on the call-processing servers, to
provide 5-minute, 30-minute, hourly, daily, weekly, and monthly reports.
The Reporting Server manages the following types of data:
 Call-detail records

Call events

Call arrival and peak data
 Usage-per-IVR Profile data

Usage-per-tenant data

Service-quality (SQ) summary statistics
 SQ latency histograms
 VAR summary statistics
The Reporting Server receives data from the Reporting Clients on a TLS
socket, which can be configured by using the options in the messaging
section of the Reporting Server Application. See the section, “Important

74 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture GVP Components

Reporting Server Configuration Options”, in the Genesys Voice


Platform 8.1 User’s Guide.
For more information about the Reporting Server, see “Reporting Server
Functions” and “Reporting Server” on page 200.
One Reporting Server in a GVP deployment can provide adequate call-data
management; however, high availability configuration for Reporting
Server, which is supported in GVP 8.1 and later releases, requires two
Reporting Servers.
For more information about HA for Reporting Server, see “High
Availability and Scalability” on page 85.

Customizing SQA and VAR by Using Composer


The SQA and VAR features represent two separate reporting features; the first
forces an SQA failure, the second defines a VAR call result. If you are
customizing these features by using Composer, keep the following information
in mind:
SQA • If a VoiceXML <log> tag is logged with the label
com.genesyslab.quality.failure or com.genesyslab.quality.failure, the
session is considered a failed call for SQA.
VAR • The platform provides an extension to the <log> tag, using the
label=com.genesyslab.var.CallResult label, that allows application
developers to specify a VAR Result for a call in the following syntax:
<log label="com.genesyslab.var.CallResult">result[|reason]</log>
 result must be SUCCESS, FAILED, or UNKNOWN (default). The call result
is not case-sensitive and any preceding or trailing white space is
ignored.

reason is an optional, textual reason for the call result. The maximum
length of the reason is 256 characters and it is not case sensitive. Any
text beyond the character limit is truncated.

Reporting Server Functions


The Reporting Server retrieves accurate call related data, VAR reports (call
peak and arrival summary data which are not call-specific), OR summaries,
and call events. The OR summaries and VAR reports are rolled into higher
level summary reports.
The Reporting Server provides:
• Near-real-time call event and CDR data collection and processing
information is submitted as soon as it is available or committed.
• Data reliability through guaranteed data delivery policies. These policies
ensure that accumulated data is not lost if the Reporting Server or the
Reporting Server database are offline for a period of time.

Deployment Guide 75
Chapter 2: GVP Architecture Other Genesys VPS Components

• Efficient organization of the database, by partitioning CDR and Call Event


tables so that each partition represents a predetermined period of time (1
hour to 1 day), allowing database operations to occur at times when data
accumulation is heavy, such as, when the call rate is high or the data
retention period is long.
• Multi-site reporting, by aggregating reports from multiple independent
Reporting Servers, allowing administrators to view data that is aggregated
across multiple sites.
• Open data access interfaces (through Reporting Web Services) that allow
multiple user interfaces, including third-party interfaces, to access
call-related data.
• An interface that provides relevant data in various reporting formats to suit
many business and operational needs.
• XML reports that correspond to report requests made through Reporting
Web Services. The Web Services are exposed over HTTP, and returned in
XML format.
• Provides support for queries and traps by communicating with the Genesys
SNMP Master Agent through its SNMP interface.
• Retrieves application data from the Supplementary Services Gateway
components.
For more information about how GVP Reporting works, see “Logging and
Reporting” on page 190.
For information about high availability for Reporting Server, see “High
Availability and Scalability” on page 85.
For information about installing the Reporting Server, with a basic
configuration, see Chapter 6 on page 229.

Note: GVP reporting is unable to track Media Server services use at the
tenant level (by tenant or by application). Applications that use URS
centric routing have the following reporting issue:
During an MSML call into GVP, if SIP Server changes the
X-Genesys-gsw-ivr-profile-name or the X-Genesys-gvp-tenant-id
parameters in the middle of the call (e.g. applying different treatments
that use different IVR profiles), the change is reflected by Resource
Manager, Media Control Platform or Reporting Server. All reporting
for the call will be against the original IVR profile.

Other Genesys VPS Components


The GVP components integrate with other Genesys Suite components to
extend the features and functionality of the voice platform, thereby increasing
the flexibility of your deployment.

76 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture Other Genesys VPS Components

This section describes the following non-GVP Genesys components of the


VPS:
• SIP Server
• Management Framework
• Composer
SIP Server and Genesys Management Framework, including the User
Interaction Layer, are required to create an overall VPS solution.

SIP Server
SIP Server is a T-Server for IP environments in which Genesys T-Lib
applications—such as Universal Routing Server, Outbound, and Agent
Desktop—deliver services in SIP environments. SIP Server is a critical
integration point for GVP components that interact with network and T-Lib
applications.
Interfaces Unlike other T-Servers, SIP Server operates in environments where there are
no switches present. It supports direct interfaces and connectivity to IP agents,
voice platforms, gateways, soft switches, and other elements that are used to
establish inbound and outbound communication sessions with customers.
SIP Server acts as a SIP B2BUA, and controls the flow of SIP requests and
responses between SIP endpoints, performing the switching functions that are
normally performed by the PBX or ACD.
Routing SIP Server can be used in conjunction with an IP PBX or ACD. When used in
this way, SIP Server controls the routing and transformation of requests, but
does not act as a registrar with which agents communicate. This type of control
is normally provided by a CTI link.
For more information about SIP Server and integration with GVP, see the
Voice Platform Solution 8.1 Integration Guide.

Management Framework
GVP 8.1 is fully integrated into Genesys Management Framework. The GVP
component processes are configured as Application objects in the Genesys
Configuration Layer, the GVP Application and IVR Profile objects are stored
in the Configuration Database, and Configuration Manager is required for bulk
provisioning of DNs and Places.
The GVP components interface with Management Framework to obtain the
configuration information they need to communicate with other GVP
components:
• The Resource Manager obtains configuration information about the SIP
resources that it manages—for example, the Media Control Platform and
the Call Control Platform. The Resource Manager must be aware of these
SIP resources and the services they offer.

Deployment Guide 77
Chapter 2: GVP Architecture Other Genesys VPS Components

• The Media Control Platform and Call Control Platform obtain


configuration information about SIP proxies in the deployment (the
Resource Manager). The call-processing components must be aware of the
SIP proxy resources and the services they offer.
• The Supplementary Services Gateway and PSTN Connector obtain
configuration information about SIP T-Servers in the deployment (SIP
Server). These components relies on SIP Server to obtain access to media
processing services offered by the Media Control Platform through the
Resource Manager.
• GVP Reporting obtains logging information from the component log sinks,
and it is integrated with Management Framework to accumulate summary
statistics that are used by Reporting Server.

User Interaction Layer


The User Interaction Layer of Management Framework is the unified
Web-based interface that controls applications and solutions. It acts as a
manager and administrator for all Genesys components, including GVP
components. It provides an interface to the Configuration and Management
layers and to other Genesys solutions.
For more information about the User Interaction Layer, see Framework 8.1
Architecture Help.

Genesys Administrator
Genesys Administrator is the Web-based GUI that is used to manage all
Genesys products, including GVP, with a single user interface. It is part of the
Management Framework User Interaction Layer.
Functions Use Genesys Administrator to access the following functions within the User
Interaction Layer:
• Configuration
• Provisioning
• Hierarchical Multi-Tenant configurations and management.
• Management operations (starting or stopping applications)
• Monitoring of current status
• Service Quality (SQ) metrics and latency alarming.
• Installation
• Deployment
• Data collection and logging
• Data management
Genesys Administrator retrieves information about GVP IVR Profiles (voice
or call-control applications) and components from the Configuration Database.

78 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture Other Genesys VPS Components

Therefore, you can use Genesys Administrator as an interface to create,


modify, delete, and save GVP information.
It also provides multi-site reporting statistics—aggregating reports from
multiple independent Reporting Servers, and allowing an administrator to view
data that is aggregated across multiple sites.
To access Genesys Administrator for your deployment, go to the following
URL:
http://<Genesys Administrator host>/wcm
For more information about Genesys Administrator, see Framework 8.1
Genesys Administrator Help.

Composer
Genesys Composer is a voice application development tool that is used to
develop VoiceXML and CCXML applications. Composer is the preferred tool
for customers who write their own applications, but you can use any tool you
choose—Composer is optional in the VPS.
The Composer GUI enables you to build voice and call-control applications by
using drag-and-drop operations.
The integrated Composer development environment simplifies the creation of
voice applications. Developers use the Composer authoring tool to build voice
applications from a visual call flow editor or a rich XML editor. Applications
are compiled and deployed directly to a web application server, and are then
fetched and executed by GVP.
Composer includes a run-time tool that debugs VoiceXML applications in real
time, while the developer performs testing by using a SIP phone.

Note: The runtime debugger, and the code that is created with it, work only
with the NGI. If you are using Genesys Studio, you can migrate your
CTI applications to GVP 8.1 by using the CTI Connector and the
GVPi.

Composer Functions
Composer performs the following functions:
• Creates voice applications by using a visual call-flow editor
• Generates VoiceXML code from the visual call flow
• Provides context-rich Editors for writing and editing VoiceXML, CCXML,
and Grammar Extensible Markup Language (GRXML)
(speech-recognition grammars) code
• Tests and debugs VoiceXML applications
• Provides project management

Deployment Guide 79
Chapter 2: GVP Architecture Third-Party Software

• Obtains version history and team support


• Creates CTI applications by using SIP Server (non-CTIC) for NGI
• Creates CTI applications by using CTIC for NGI

Note: Genesys Composer supports the testing and debugging of VoiceXML


applications that are written by using third-party development tools.
For applications that are written for the Legacy GVP interpreter
(GVPi), use Genesys Studio. For more information about Genesys
Studio, see the Genesys Voice Platform 7.6 Studio Help.

Third-Party Software
In addition to the Squid Caching Proxy described on page 67, GVP either
requires or optionally supports the use of additional third-party software in the
VPS.
This section describes the following third-party software that is used in
conjunction with GVP:
• Automatic Speech Recognition
• Text-to-Speech
• Reporting Database
• Web Server
For information about other third-party software requirements for GVP, and for
details about the supported versions of the third-party software, see
“Prerequisites” on page 207.

Automatic Speech Recognition


GVP uses MRCP speech-recognition technology to incorporate automatic
speech recognition for use in voice applications. Using ASR in a GVP
deployment is optional.

Text-to-Speech
GVP uses MRCP speech synthesis technology to incorporate text-to-speech for
use in voice applications.
Using TTS in a GVP deployment is optional.

Reporting Database
VP Reporting Server works with a relational database-management system
(RDBMS) and currently works with Microsoft SQL Server and Oracle Server.

80 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture Third-Party Software

The RDBMS provides storage and queries the data that is in the relational
database. The Reporting Server is responsible for controlling the RDBMS and
providing reporting web services on top of the relational database.
To store GVP usage information for later analysis, Reporting Server database
in your GVP deployment is mandatory.

Web Server
The GVP voice and call-control applications reside on a web server that the
GVP interpreters access on every call; by using either standard HTTP or
HTTPS. GVP supports interactions with multiple web servers. If voice or
call-control applications reside on separate web servers, these web servers can
be located on a web farm architecture in a local or remote network
configuration.
Communication between the web server and GVP is analogous to the desktop
web browser model. In a standard Web-based application, desktop browsers
make requests to an application server to provide HTML so that they can
render the Web-based application. The browser renders a web page, and
establishes links to other pages on the Web. When you click a link, the browser
issues a request to the designated URL, which results in the retrieval and
rendering of another web page. When the page or its contents change, the next
request from any browser retrieves the changed page.
Requests and information exchanged on GVP are handled in a similar fashion,
but the markup languages are CCXML and VoiceXML instead of HTML. The
HTTP Client requests pages from web servers.
Call-control and voice applications can be developed by using Active Server
Pages (ASP) or Java Server Pages (JSP), manually by using CCXML and
VoiceXML (rather than being generated by the ASP or JSP pages), or by using
Genesys Composer.
The Call Control Platform and Media Control Platform interpreters parse the
CCXML or VoiceXML to affect:
• Call handling (answering, bridging, and disconnecting calls).
• Media management (playing greetings, prompts, and messages by using
cached voice files and TTS).
• Caller input (collecting touch-tone digits and performing speech
recognition).
The Media Control Platform and Call Control Platform enable VoiceXML and
CCXML applications to drive an interaction with a caller in the same way that
the desktop web browser would interact with an application server to render a
screen, and to react to keyboard or mouse input. As with the desktop browser,
depending on the page’s cache control headers, any changes to the call-control
or voice application on the application server generally becomes effective the
next time a page is requested.

Deployment Guide 81
Chapter 2: GVP Architecture Communication Within GVP

Communication Within GVP


The VPS is a complex solution that requires GVP to handle various types of
communications.

Communication Protocols
As Figure 1 on page 46 shows, GVP uses the following communication
protocols:
• SIP—For call-control messaging between the Resource Manager and SIP
Server, and for resource-management messaging between the Resource
Manager and GVP resource components.
• HTTP—For fetch communications among the NGI/CCXMLI, Fetching
Module, and Squid Caching Proxy, and between the Fetching Module and
web application server. HTTP is also used for communication between the
Reporting Clients and Reporting Server, between the Reporting Web
Services and Genesys Administrator, and between the Supplementary
Services Gateway and third-party Trigger Application.
• MSML—For media services communications between SIP Server and the
Media Server through the Resource Manager.
• MRCP—For managing speech services between the Media Control
Platform and the ASR or TTS speech engines. GVP 8.1 supports MRCPv1
over Real-time Streaming Protocol (RTSP) and MRCPv2 over SIP.
• RTP—For delivering media (audio and video data) between the Media
Control Platform and the external media gateway, and between the Media
Control Platform and the speech engines.
• IVR XML—For accessibility to CTI functionality through the IVR Server
to the CTI Connector, and the CTI connector to the GVP components.
• GED-125—For interacting with Cisco ICM.
For the exact specifications that GVP supports, see Appendix I on page 495.

Note: The GVP components support IPv6 communications with compatible


devices and networks. For information about how to enable IPv6
support in the GVP component Applications, see Chapter 3 in the
Genesys Voice Platform 8.1 User’s Guide.

82 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture Communication Within GVP

Secure Communications
GVP 8.1 supports the following protocols for secure communications:
• Secure SIP (SIPS)—SIP over the Transport Layer Security (TLS) protocol,
for call-control and resource-management messaging between the
Resource Manager and Media Control Platform and Call Control Platform
resources.
GVP supports TLSv1.
• Secure HTTP (HTTPS)—HTTP over Secure Socket Layer (SSL) and TLS
version 1 (TLSv1), for fetch communications among the
NGI/GVPi/CCXMLI, Fetching Module, and Squid caching proxy, and
between the Fetching Module and web application server. The Reporting
Server supports HTTPS for receiving and responding to authenticated
reporting requests from Genesys Administrator or an HTTP Client. The
Supplementary Services Gateway supports HTTPS for requests from the
third-party Trigger Application.
GVP supports SSL version 2 (SSLv2), SSL version 3 (SSLv3), SSL
version 23 (SSLv23), and TLSv1.
• Secure RTP (SRTP)—A profile of RTP that provides encryption and
authentication of audio and video data in RTP streams between the Media
Control Platform and the Media Gateway.
SRTP encryption keys and options are exchanged in SIP INVITE and
response messages, preferably using SIPS.
The GVP components ship with a generic private key and SSL certificate, and
default SIP transports for TLS are configured in the Application object for
each component. Therefore, basic security is implemented without having to
configure it. However, for more stringent security, Genesys recommends that
you obtain your own SSL keys and certificates.
For more information about obtaining SSL keys and certificates, and
configuring the GVP components to use SIPS, HTTPS, and SRTP in the GVP
deployment, see the section about enabling secure communications in the
Genesys Voice Platform 8.1 User’s Guide.

Considerations and Usage Notes


Before you implement widespread use of HTTPS in your GVP deployment,
consider the following:
• Complete use of SSL will affect platform performance and capacity. Lags
in fetch times and high CPU usage are normal when SSL is used, because
the web server must encrypt every byte of data, and the platform must then
decrypt the received data. In addition, an SSL handshake takes place
between the web server and the platform before data transmission starts.
• Data fetched with HTTPS will not be cached.

Deployment Guide 83
Chapter 2: GVP Architecture Communication Within GVP

• Before you use HTTPS to reference grammars, ensure that your ASR
engine supports it.
• Be aware that, if a VoiceXML page was fetched with HTTPS, and
resources within the page (such as audio files, grammars, and scripts) are
referenced with a relative Uniform Resource Identifier (URI), the full URI
for the resource will also use https. If you want to use HTTP to fetch a
resource from a page that was fetched with HTTPS, ensure that the
VoiceXML page explicitly references the resource as an http URI.

IPv6 Communications
GVP components support IPv6 communications with compatible devices and
networks. The dual-stack functionality supports scenarios where one call leg is
on IPv4 and the other, IPv6.

Notes: While GVP 8.1.5 is IPv6 ready, other Genesys and third party
interfaces are not. Investing in GVP assures that as vendors and other
Genesys products adopt IPv6, GVP is ready. In addition, GVP 8.1.5
is dual-mode enabled, so it preserves compatibility with existing
supported interfaces that use IPv4 only.
GVP components support non-linked-local IPv6 addresses only.
When using IPv6, do not use linked-local addresses.

Local Port Ranges Users can configure a TCP or TLS local port range by using the
sip.tcp.portrange and sip.tls.portrange configuration parameters,
respectively. This parameter can be configured in all four Resource Manager
service configuration sections: monitor, proxy, registrar, subscription.
These port range configuration option values are empty, by default. If they are
not configured, the operating system selects the local port.

Note: The CTI Connector supports SIP IPv6. However, Cisco ICM supports
IPv4 only. Therefore, the current ICM implementation in
CTI Connector supports IPv4 only.

IPv6 in Initial SDP A default IP version can be defined for SDP offers. The [mpc]
Offer preferredipinterface configuration option defines this behavior. If the default
IP version is not specified, IPv4 is used as the default version. This
configuration defines the IP version that will be used when the Media Control
Platform generates an SDP offer.

Note: The IP version that is used for SDP negotiation (IPv4 or IPv6) is
independent of the version that is used for SIP transport.

SSG Connectivity The Supplementary Services Gateway supports connectivity to SIP Servers
to SIP Server that are running on IPv6 networks. The enable-ipv6 configuration option in

84 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture SNMP Monitoring

the Common section of the Supplementary Services Gateway Application


enables IPv6 support.
The Supplementary Services Gateway sends the ip-version parameter as a
transport parameter to T-Lib and is required to define the preferred protocol
version in the DNS of the SIP Server.
Web Services The Reporting Server supports web services access through a network
Access interface that is configured to use an IPv6 address. Genesys Administrator can
use this interface to the Reporting Server and detect the database mode to
determine which dashboards and reports to display and hide.
If you are planning to use IPv6 in your environment, you must configure the
GVP components accordingly. For information about how to enable IPv6
support in the component Applications, see Chapter 3 in the Genesys Voice
Platform 8.1 User’s Guide.

SNMP Monitoring
GVP supports Simple Network Management Protocol (SNMP) monitoring for
the Resource Manager, Media Control Platform, Call Control Platform,
Supplementary Services Gateway, and Fetching Module components. Using
SNMP in a GVP deployment is optional.
The Master Agent handles all queries from the Management Data GUI and any
Network Management Systems (NMS), and sends AgentX queries to the
appropriate subagent (in other words, to the appropriate GVP process).
Traps, which are generated from logs, flow from the subagent to the Master
Agent, and then to trap destinations as configured on the Master Agent.
The traps are defined in the GVP Management Information Bases (MIBs),
which are available in their own installation package. For more information
about the GVP MIBs, see the Genesys Voice Platform 8.1 SNMP and MIB
Reference.

High Availability and Scalability


GVP 8.1.x supports GVP High Availability in three ways—by configuring the
Resource Manager for HA, by configuring the Reporting Server for HA, and
by combining the call-processing components into resource groups.

Deployment Guide 85
Chapter 2: GVP Architecture Resource Manager High Availability Solutions

Resource Manager High Availability


Solutions
SIP Server with Resource Manager (RM) and GVP with RM offer several
options for HA:
• External Load Balancer, page 86
• Virtual IP Takeover Solution—Windows, page 87
• Virtual IP Takeover Solution—Linux, page 87
• Microsoft NLB—Windows, page 88
Each option has conditions and limitations.

External Load Balancer

Figure 4: External Load Balancer (F5/Radware) for RM active-cluster

This configuration is applicable for RM active-cluster. GVP deployment can


be Windows or Linux. There are separate hosts for SIP-Server, RM and MCPs
(preferred).
SIP-Server goes through the load balancer to RMs.
RM inserts the Load-Balancer IP address in the Record-Route header so that
messages sent within the dialog traverse through the Load-Balancer.
It is possible, but not preferred, to have RM and MCP on the same host.
The load balancer must reside on its own host.

86 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture Resource Manager High Availability Solutions

Virtual IP Takeover Solution—Windows

Figure 5: Virtual IP Takeover Solution (Windows) – RM active-standby

This configuration is applicable for RM active-standby. GVP deployment is for


Windows. Separate hosts are required for SIP-Server and RMs. MCPs can be
in the same host or in a separate host (preferred) from Resource Manager.
Virtual IP Takeover is tied to just one NIC.
Genesys recommends you configure alarm conditions and reaction scripts for
handling the failover/switchover condition in this case.
Furthermore, due to some ARP cache update issues in Windows 2008, the
third-party utility arping is used by this solution.

Virtual IP Takeover Solution—Linux

Figure 6: Virtual IP Takeover Solution (Linux) – RM active-standby

Deployment Guide 87
Chapter 2: GVP Architecture Resource Manager High Availability Solutions

This configuration is applicable for RM active-standby. GVP deployment is for


Linux. Simple IP Takeover for single NIC is supported; if multiple NICs are
present in the system, then a Linux bonding driver can be used. Separate hosts
are required for SIP-Server, RMs and MCPs.
Genesys recommends that you configure alarm conditions and reaction scripts
for handling the failover/switchover condition in this case.

Microsoft NLB—Windows

Figure 7: Microsoft NLB (Windows) – RM active-standby

This configuration is applicable for RM active-standby. GVP deployment is for


Windows.
NLB is used in unicast mode. NLB ensures that other elements can
communicate with RMs from outside local network, or within the same subnet.
NLB configuration requires that RMs be in separate hosts from SIPS or MCPs.
Each RM host must have multiple NICs; one dedicated to this NLB cluster
communications, and the other NIC for non-NLB communications.

HA Using Virtual IP
With this HA solution, multiple hosts share the same “virtual” IP address, with
only one instance actively receiving network traffic. A switchover from active
to backup instances in the HA pair can occur with no apparent change in IP
address, as far as the SIP dialog is concerned.

88 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture Resource Manager High Availability Solutions

Media Gateway
Web Application Speech Server
Server (Optional)

Server 1 Server 2 Server 3 Server 4 Server 5...


Private IP 10.0.0.100 Private IP 10.0.0.101 Private IP 10.0.0.102 Private IP 10.0.0.103 Private IP 10.0.0.104...
Virtual IP 10.0.1.100 Virtual IP 10.0.1.100 Virtual IP 10.0.1.101 Virtual IP 10.0.1.101

SIP Server Primary sync SIP Server Backup RM Primary sync RM Backup MCP

Figure 8: HA Using a Virtual IP Configuration

Feature Limitation
When using Windows Network Load Balancing (NLB) for virtual IP-based
HA, only processes running outside the Windows NLB cluster can address that
cluster. If SIP Server uses Windows NLB and Resource Manager/Media
Control Platform are running on the same machine as SIP Server, then
RM/MCP cannot address SIP Server using the cluster address.
With Windows NLB, a local process will always resolve a virtual IP address to
the local host. This means that if an MCP process on a particular server tries to
contact a failed Resource Manager, Windows NLB will resolve the virtual IP
address in the configuration to the local host, and the same local Resource
Manager will be contacted, instead of the backup Resource Manager on the
backup host.

Sample Configuration
The following task table outlines the basic steps required for an HA
deployment on Windows, with the following assumptions:
• This is a two-machine deployment, with one SIP Server and Resource
Manager instance co-deployed on each machine.

Task Summary: Configuring HA through Virtual IP for Windows

Objective Key Procedures and Actions

1. Configure SIP Server instances See the Framework 8.1 SIP Server
using Windows NLB. Deployment Guide for more information.

2. Configure RM applications. Go to: Provisioning > Environment >


Applications
• Set the Resource Manager option
cluster.ha-mode to active-active.

Deployment Guide 89
Chapter 2: GVP Architecture Resource Manager High Availability Solutions

Task Summary: Configuring HA through Virtual IP for Windows

Objective Key Procedures and Actions

3. Configure GVP components. See the Genesys Voice Platform 8.1


Deployment Guide for more information.

4. Configure GVP DNs. Go to: Provisioning > Switching >


Switches
• In the GVP Trunk DN, set the contact
and contact-backup options to the two
Resource Manager IP addresses.
• For the Voice over service IP
Service DN, create two separate DNs
with each contact option set to one of
the Resource Manager IP addresses.

For More Information


For detailed procedures, or for information about HA on Linux, see the
Genesys Voice Platform 8.1 Deployment Guide.

HA Using an External Load Balancer


This HA method uses an external hardware load balancer to manage clusters of
active nodes. The load balancer owns a virtual IP address that is used to
forward requests to the active cluster. The load balancer can apply its own
load-balancing rules when forwarding the requests.

Use of Active SIP Server Pairs


In some deployments, the customer network does not allow the use of virtual
IP addresses. In this case, both SIP Server and Resource Manager pairs can be
deployed as active instances. The SIP Server instances are deployed as
separate active instances without synchronization. The load balancer will
load-balance across the set of active SIP Server hosts. Without the
active-backup relationship between the SIP Server instances, SIP Server will
lose the state of mid-dialogs if it fails, even though the call will not be
immediately dropped.

Note: This HA solution is not recommended for deployments that require


the use of URS routing strategies. If routing is required, Genesys
recommends using the load balancer with active-backup detection, so
that SIP Server can be deployed as an active-backup HA pair.

90 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture Resource Manager High Availability Solutions

Use of Active-Active Clusters for Resource Manager


Resource Manager can be deployed as an active-active cluster, where both
instances run together as the active instance, each with a unique IP address.
The active pair then synchronizes active session information, so that both
instances can correctly route incoming requests.
The next figure shows a sample deployment with an external load balancer,
using the following assumptions:
• SIP Server instances are configured as two separate active instances with
no synchronization.
• Resource Manager instances are configured as an active-active cluster with
synchronization.
Media Gateway
Web Application Speech Server
Server (Optional)

Load Balancer

Server 1 Server 3 Server 5...


Private IP 10.0.0.100 Private IP 10.0.0.102 Private IP 10.0.0.104...

SIP Server 1 RM Cluster


MCP 2
Address: sips_cluster Address: rm_cluster

sync
Server 2 Server 4
Private IP 10.0.0.101 Private IP 10.0.0.103

SIP Server 2 RM Cluster


Address; sips_cluster Address: rm_cluster

Figure 9: HA Using An External Load Balancer

Resource Manager
GVP 8.1.x supports HA for Resource Manager on both Windows and Linux
operating systems.

HA (Windows)
Windows Network Load Balancing (NLB) provides HA for the Resource
Manager. You can configure two Resource Managers to run as hot standby, or
warm active–standby pairs that have a common virtual IP.
Incoming IP traffic is load-balanced by using NLB, in which two Resource
Manager servers use a virtual IP number to switch the load to the appropriate
server during failover. The network interface cards (NICs) in each Resource
Manager host in a NLB cluster are monitored to determine when network
errors occur. If any of the NICs encounter an error, the Resource Manager

Deployment Guide 91
Chapter 2: GVP Architecture Resource Manager High Availability Solutions

considers the network down, and the load balancing of the incoming IP traffic
is adjusted accordingly.
To determine the current status of the Resource Manager at any time, check the
traps in the SNMP Manager Trap Console to which the traps are being sent. In
the Console, check the most recent trap from each Resource Manager in the
HA-pair. If the specific trap ID is 1121, the Resource Manager is active. If the
specific trap ID is 1122 the Resource Manager is in standby mode.
In the following example, 5898: Specific trap #1121 trap(v1) received
from: 170.56.129.31 at 12/8/2008 6:34:31 PM, the IP address 170.56.129.31
represents the Resource Manager that is active, therefore, the other Resource
Manager in the HA-pair is in standby mode.

Scalability
NLB also provides scalability, because adding Resource Manager hosts to a
cluster increases the management capabilities and computing power of the
Resource Manager function in the GVP deployment.
Multiple clusters of Resource Manager instances that operate largely
independently of one another can be deployed to support large-scale
deployments, such as those that involve multiple sites. Each Resource
Manager cluster manages its own pool of resources.

Note: GVP 8.1.x does not support more than two Resource Managers in a
cluster.

HA (Linux)
There are two ways to achieve HA for Resource Manager on Linux: by using
Simple Virtual IP failover or Bonding Driver failover.
In each of these options, each host in the cluster maintains a static IP address,
but all of the hosts share a virtual public IP address that external SIP endpoints
use to interact with the Resource Manager hosts in the cluster. If an instance of
the Resource Manager fails on any host, the virtual IP address remains valid
and provides failover.
When the Bonding Driver failover option is used, two or more network cards
are required for the same server and the bonding driver controls the active–
standby capabilities for the network interfaces.

Scalability
On Linux systems, scalability for Resource Manager is achieved in the same
way that it is for Windows. See “Scalability” on page 92.

92 Genesys Voice Platform 8.1


Chapter 2: GVP Architecture Resource Manager High Availability Solutions

Resource Groups in HA Environments


When the call-processing components are provisioned in Resource groups, the
Resource Manager provides HA for GVP resources in the same way that it
normally manages, monitors, and load-balances the resource groups. For
example, provided that more than one instance of the Media Control Platform
has been provisioned in a VoiceXML resource group, the Media Control
Platform service is still available to other VPS components, even if one of the
HA provisioned instances is not available.
You can set up your HA Resource Manager environment in one of two ways,
depending on the Windows or Linux OS version:
• The active–standby configuration, in which the active Resource Manager
instance only processes SIP requests. Windows 2003, Windows 2008, or
RHE Linux 4 or 5 is required.
• The active–active configuration, in which an external load balancer is used
and either of the active nodes can process SIP requests.Windows 2003 or
Windows 2008 is required.
For information about configuring the Resource Manager for HA, see
Appendix E on page 419.

MRCP Proxy
GVP 8.1 supports the MRCP Proxy in HA mode to provide highly available
MRCPv1 services to the Media Control Platform through a warm active–
standby HA configuration.
To support the MRCP Proxy in HA mode, the latest versions of Management
Framework and LCA must be installed and the Solution Control Server (SCS)
Application configured to support HA licenses. For more information about
HA licenses for the SCS, see Framework 8.1 Deployment Guide and
Framework 8.1 Management Layer User’s Guide.

Policy Server
GVP 8.1 supports the Policy Server in warm active–standby HA mode. The
active–standby status is determined by the Solution Control Server (SCS),
which must be configured to support HA licenses. (See “MRCP Proxy”.) Also,
the Policy Server is stateless, therefore, data does not require synchronization.

Reporting Server
GVP 8.1 supports HA for Reporting Server by using a primary/backup
paradigm and an Active MQ message store in one of two solutions—
Segregated Storage or Shared Storage.

Deployment Guide 93
Chapter 2: GVP Architecture Resource Manager High Availability Solutions

Active MQ The Reporting Server has JMS queues to which data from reporting clients is
submitted. The JMS queues implementation used in GVP 8.1 is Active MQ. If
the Oracle or Microsoft SQL database is unavailable, but the Reporting Server
is still operational, the Active MQ must persist and store the submitted data to
the hard disk drive (HDD), thereby ensuring that the data that was submitted to
the Reporting Server is not lost if the Reporting Server fails before the
database server is restored.

Segregated Solution
In the Segregated Solution, each Reporting Server instance in the cluster uses
its own independent Active MQ message store. However, only the server that
is designated primary activates its message store. The other independent
message store is activated only if the primary Reporting Server fails.
When the Segregated Solution is used, the backup and primary Reporting
Servers are configured in Genesys Administrator.

Shared Storage Solution


In the Shared Storage Solution, the Reporting Servers in a cluster share a
connection to one Active MQ message store that receives, queues, and
dequeues data from Reporting Clients. Only one Reporting Server instance
obtains and holds the Active MQ message-store lock.
When the Microsoft Cluster Service (MSCS) is used, two distinct Reporting
Servers access a single shared drive. Switch-over to the backup server occurs
when the primary server goes down. After the MSCS is configured, the
administrative user interface can be used to manage the primary and backup
Reporting Servers.
For more information about configuring the Reporting Server for HA, see
Appendix F on page 465.

94 Genesys Voice Platform 8.1


Chapter

3 How GVP Works


This chapter describes how the Genesys Voice Platform (GVP) components
operate in a GVP deployment. It contains the following sections:

How the Resource Manager Works, page 95

How the Policy Server Works, page 118
 How the CTI Connector Works, page 125

How the PSTN Connector Works, page 132

How the Media Control Platform Works, page 139
 How the Call Control Platform Works, page 165

How the Fetching Module Works, page 169

How the MRCP Proxy Works, page 175
 How the Supplementary Services Gateway Works, page 177

Logging and Reporting, page 190

How the Resource Manager Works


The Resource Manager interacts with other components by using three main
interfaces: a SIP interface for call handling, the Genesys Management
Framework interface for retrieving configuration and provisioning
information, and a Reporting Server interface for reporting events related to
call processing.
This section describes in more detail what the Resource Manager does with
service requests, such as the call described in “Sample Call Flows” on
page 479.
The Resource Manager performs the following functions:
• Session Management
• Service Selection on page 98
• Policy Enforcement on page 103

Deployment Guide 95
Chapter 3: How GVP Works How the Resource Manager Works

• Service-Request Modification on page 106


• Resource Management on page 106
• Recording Server and Client Resources on page 115
• Multi-Site Resources on page 115
• Full Call Recording Requests (from Cisco UCM) on page 117
For information about how the Resource Manager reports its activities to the
Reporting Server, see “Logging and Reporting” on page 190.

Session Management
A session is a set of related services that are used to deliver an end-user
experience.
There is a global logical session that encompasses the Resource Manager
interactions with SIP Server. This global session is managed by SIP Server.
Within the global session, the Resource Manager manages logical call sessions
for specific GVP services, and individual call legs within a call session.
The Resource Manager manages GVP call sessions, as follows:
1. The Resource Manager creates a new call session when it receives a new
SIP INVITE request for a GVP service.
2. The Resource Manager generates a GVP Session ID, and inserts this
information in the X-Genesys-GVP-Session-ID SIP extension header. For
more information about session IDs, see the section about GVP identifiers in
the Genesys Voice Platform 8.1 User’s Guide.
3. The Resource Manager maps the session to an IVR Profile (a voice or
call-control application) and identifies the type of service for each
component session (call leg). For more information, see “Service
Selection” on page 98.
4. In multi-tenant environments, before mapping the session to an IVR
Profile, the Resource Manager first checks the resource from which the
request originated. If the resource is one that is managed by this specific
Resource Manager, and it is a gateway resource, the Resource Manager
determines which tenant owns the gateway resource and proceeds to map
the IVR Profile. For more information, see “Service Selection” on page 98.
5. The Resource Manager adds the following parameters to the
X-Genesys-GVP-Session-ID header:
 gvp.rm.datanodes—To identify itself as the Resource Manager for the
session. In GVP 8.1, it is used mainly to configure cluster information.
When Resource Manager is in stand-alone mode, the value is
node-id=1. When Resource Manager is clustered, either member of the
cluster can have a value of node-id=1|2 (primary) or node-id=2|1
(secondary), depending on its current status.

96 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Resource Manager Works


gvp.rm.cti-call—To identify a call that is routed through the
Computer Telephony Integration Connector (CTIC). In GVP 8.1, the
value of this parameter is set to 1 to invoke a CTI service.

gvp.rm.tenant-id—To identify the voice or call-control application
under which the session is executed. The value of this parameter is the
name of the IVR Profile that was assigned when the profile was
configured. For more information about IVR Profile IDs, see the
section about GVP identifiers in the Genesys Voice Platform 8.1 User’s
Guide.
6. The Resource Manager inserts the X-Genesys-GVP-Session-ID header when
it forwards new SIP INVITE requests. The Resource Manager also adds the
X-Genesys-GVP-Session-ID header when it forwards responses, if the
header does not already exist in the response.
7. The Resource Manager inserts the X-Genesys-RM-Application-dbid header
when it forwards the first SIP INVITE request to a GVP resource, to
identify the IVR Profile under which the session is executed. The value of
this parameter is the Database Identifier (DBID) that Configuration Server
assigned for the IVR Profile object.
The GVP components need this information to log the IVR Profile DBID
in the call-detail records (CDR) that they send to the Reporting Server.
8. When the Resource Manager receives a SIP INVITE request for a new call
leg within an existing session (as identified by the
X-Genesys-GVP-Session-ID header), it consults the policies of the IVR
Profile and tenant related to the existing session, to determine whether the
call leg can be created. For more information, see “Policy Enforcement” on
page 103.
If the Resource Manager cannot identify an existing session from the
X-Genesys-GVP-Session-ID header (for example, because the session has
timed out), it accepts and processes the incoming request without checking
policies.
9. The Resource Manager maintains the session in accordance with
configurable session inactivity and session expiration timers.
The Resource Manager associates a session inactivity timer with each call
leg, and monitors SIP traffic for the session to determine when a SIP
session is stale. If the Resource Manager receives no SIP messages for the
call leg within the inactivity interval, it internally cleans up the call leg data
(application, tenant, and resource usage) as if a BYE were received.
You can set session inactivity timers for each IVR Profile, for each tenant,
for each resource, and for the Resource Manager. For more information,
see the section about configuring session timers and timeouts in the
Genesys Voice Platform 8.1 User’s Guide.
Session-Expires The Resource Manager adds a Session-Expires header to initial INVITE
Header requests if one is not present, and if the request does not contain the timer
option in the Supported header. The value of the Session-Expires header is

Deployment Guide 97
Chapter 3: How GVP Works How the Resource Manager Works

the configured value of the applicable session timer, except under the
following conditions:

If the incoming request contains a Session-Expires header with a value
greater than the configured value of the applicable session timer, and if
the Min-SE header is also present, the Resource Manager reduces the
value of the Session-Expires header to the greater of the Min-SE and
configured session timer values.

If the incoming request contains a Session-Expires header with a value
greater than the configured value of the applicable session timer, but
the Min-SE header is not present, the Resource Manager reduces the
value of the Session-Expires header to the configured session timer
value.

If the incoming request contains a Session-Expires header with a value
less than the minimum session expiry value configured for the
Resource Manager (in the proxy.sip.min_se parameter), the Resource
Manager rejects the request.
 If the incoming request contains a Session-Expires header with a valid
value that is less than the configured value of the applicable session
timer, the Resource Manager uses the value of the Session-Expires
header.
The Resource Manager restarts the session inactivity timer each time that it
receives a SIP request or a 200 OK response.

Service Selection
When the Resource Manager receives a request for a new SIP session, it maps
the call to an IVR Profile, and then selects a service for the request. If the SIP
request arrives in the context of an existing Resource Manager session for
which a VoiceXML or CCXML application is already executing, the Resource
Manager does not perform another mapping.
See also “CTI Call Mapping Genesys CTI” on page 127 for a description of
service selection when the CTI Connector is deployed.

Mapping the Call to an IVR Profile


This section describes how the Resource Manager maps SIP requests to IVR
profiles for both single (GVP 8.1.1 and earlier 8.x releases) and multi-tenant
(GVP 8.1.2) platforms.
Single-Tenant GVP In a single tenant environment, the Resource Manager maps the SIP request to
an IVR Profile, as follows:
1. If the SIP Request-URI includes a gvp-tenant-id parameter, the Resource
Manager looks for an IVR Profile that has a name that matches the value of
the gvp-tenant-id parameter.

98 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Resource Manager Works

Alternatively, if either the X-Genesys-gsw-ivr-profile-id or


X-Genesys-gsw-ivr-profile-name header is present, the Resource Manager
checks it to determine which IVR Profile to use. If one of the two headers
is present and the Request URI parameter gvp-tenant-id is also present,
the gvp-tenant-id is treated as the tenant.

If the Resource Manager finds an IVR Profile that matches, it routes
the SIP session to that application and removes the SIP Request-URI
parameter from the outgoing request.

If the Resource Manager does not find an IVR Profile that matches, it
executes the default VoiceXML or CCXML application that has been
configured for the Environment tenant (in the default-application
parameter, in the gvp.general section).
2. If the SIP Request-URI does not include a gvp-tenant-id parameter, but the
Voice Platform Solution (VPS) has been configured so that SIP Server
provides Dialed Number Identification Service (DNIS) information in the
SIP header, the Resource Manager uses the DNIS that it extracts from the
SIP message to map the SIP request to an IVR Profile from a
preconfigured DNIS resource list. When the Resource Manager routes the
call to the application, it attaches the trunkport parameter to the SIP
Request-URI, with the DNIS as the value.
For information about configuring the mapping between DNIS ranges and
IVR Profiles for the Environment tenant, see the section about mapping
IVR Profiles to Dialed Numbers in the Genesys Voice Platform 8.1 User’s
Guide.
A Resource Manager configuration option (sip-header-for-dnis, in the rm
section) enables you to specify the header in which the Resource Manager
looks for the DNIS. Ensure that the value that you specify is consistent
with the headers that you expect the Media Gateway to use. The following
are valid values:

The user part of the SIP Request-URI
 The user part of the Universal Resource Indicator (URI) in the To
header
 The user part of the URI in the History-Info header (the default value),
with index = 1
For more information, see the description of the rm.sip-header-for-dnis
configuration option in the Genesys Voice Platform 8.1 User’s Guide.

Note: GVP 8.1 supports all-numeric DNIS or numeric DNIS with


asterisk (*) suffix—for example, 8005556699 or 80055544*. All
other characters such as, #, a, or b are stripped from the incoming
request.

Deployment Guide 99
Chapter 3: How GVP Works How the Resource Manager Works

3. If the Resource Manager cannot map the SIP request to an IVR Profile, it
executes the new SIP session in the context of the default VoiceXML or
CCXML application that has been configured for the Environment tenant
(in the default-application parameter, in the gvp.general section).
4. If the Resource Manager cannot map the SIP request to an IVR Profile, and
if no default application has been configured for the Environment tenant,
the incoming SIP request fails with a 404 Not Found response.
Multi-Tenant GVP In a multi-tenant environment, the Resource Manager maps the SIP request to
a tenant and an IVR Profile, as follows:
1. If the SIP Request-URI includes a gvp-tenant-id parameter and a
X-Genesys-gsw-ivr-profile-id (or X-Genesys-gsw-ivr-profile-name)
custom header, the Resource Manager looks for a tenant that has a name
that matches the value of the gvp-tenant-id parameter and an IVR Profile
that has a name that matches the X-Genesys-gsw-ivr-profile-id custom
header.

If the Resource Manager cannot find a matching tenant, the session
fails, and a 404 Not Found SIP response is generated.

If the Resource Manager cannot find a matching IVR Profile, but the
tenant is selected, the Resource Manager executes the session by using
the default application that is defined for the tenant.
 If no default application is defined for the tenant, the session fails
and a 404 Not Found SIP response is generated.

If the gvp-tenant-id parameter is included in the Request-URI, but the
X-Genesys-gsw-ivr-profile-id custom header is missing, the
Resource Manager first selects the tenant that owns the gateway
resource, and then looks for an IVR Profile that has a name that
matches the value of the gvp-tenant-id parameter.

If there is no matching IVR Profile, the Resource Manager executes
the session by using the default application that is defined for the
tenant.
 As a special case for SSG call flow, if the gvp-tenant-id parameter in
the Request-URI is missing but the X-Genesys-gsw-ivr-profile-id or
X-Genesys-gsw-ivr-profile-name custom header is present, then the
Resource Manager:

Selects the tenant that owns the gateway resource.
 Looks for an IVR Profile that has an application-id/name that
matches the value of the X-Genesys-gsw-ivr-profile-id or
X-Genesys-gsw-ivr-profile-name custom header.
2. In a Supplementary Services Gateway outbound-call flow, if the SIP
Request-URI is not present, but the X-Genesys-gsw-ivr-profile-id custom
header is present, the Resource Manager first selects the tenant that owns
the gateway resource, and then looks for an IVR Profile that has a name
that matches the value of the X-Genesys-gsw-ivr-profile-id custom
header.

100 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Resource Manager Works


If there is no matching IVR Profile, the Resource Manager executes
the session by using the default application that is defined for the
tenant.
If any one of the two entries are found, the Resource Manager removes the
gvp-tenant-id SIP Request-URI parameter from the outbound request.
3. Alternatively, if neither the gvp-tenant-id parameter nor the
X-Genesys-gsw-ivr-profile-id header is included in the request, the
Resource Manager uses the DNIS that is extracted from the SIP message to
select the tenant and IVR Profile, as follows:

The Resource Manager starts with the tenant that owns the gateway
resource, using the DID Groups that are associated with the tenant to
match the DNIS. It searches the entire tenant hierarchy by using a
breadth first order.

When a match is found in a DID Group, the Resource Manager
designates the tenant that is associated with the DID Group for the call,
and then selects the IVR Profile that is associated with that tenant.

With a successful match for the DNIS, the Resource Manager
attaches it to the Request-URI as a parameter that is named
trunkport.
 If the application mapping fails, the Resource Manager executes the
session by using the default application that is defined for the
tenant.

Selecting the Service


After the IVR Profile for the Resource Manager session has been determined,
the Resource Manager identifies the required service and the service
prerequisites for each call leg.
The Resource Manager performs service selection, as follows:
1. If the user part of the SIP Request-URI includes parameters that specify the
required service, the Resource Manager handles the SIP request as a
request for the specified service. The Resource Manager appends service
parameters to the Request-URI if they are not already included.
Table 1 describes the parameters that the Resource Manager looks for in
SIP messages, to specify the required service.

Deployment Guide 101


Chapter 3: How GVP Works How the Resource Manager Works

Table 1: Service Specified in SIP Request

SIP Request-URI Service Comment

User part is dialog, and it voicexml Service prerequisites are included.


contains a parameter with the
name voicexml

User part starts with voicexml Service prerequisites are included.


dialog.vxml

User part is ccxml, and it ccxml Service prerequisites are included.


contains a parameter with the
name ccxml

User part is msml[=conf-id] msml No service prerequisites are


(conf-id is optional) required.

User part starts with conf= conference Service prerequisites are included.
The remainder of the user part is the
conference ID for this request.

Contains the parameter gateway Request originates from a resource


user=phone that supports the voicexml or ccxml
service.

User part is composed of gateway Request originates from a resource


characters 0–9 and - that supports the voicexml or ccxml
(hyphen) service.

2. If the SIP Request-URI does not include parameters to identify the required
service, and if the request originates from a resource that supports the
voicexml or ccxml service, the Resource Manager handles the incoming SIP
request as a request for the external-sip service.
3. If the SIP Request-URI does not include parameters to identify the required
service, and if the request does not originate from a resource that supports
the voicexml or ccxml service, the Resource Manager uses the service type
and service prerequisites that are configured for the IVR Profile in the
gvp.general and gvp.service-prerequisite sections.
4. If the Resource Manager cannot map the request to a service in accordance
with the preceding rules, it rejects the request with a 404 Not Found SIP
response.

NETANN Dialog Requests


The Resource Manager processes NETANN dialog requests from the CTI
Connector in the following way:

102 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Resource Manager Works

• The CTI Connector sends the NETANN dialog request with the VoiceXML
URL parameter as SCRIPT-URL.

The Resource Manager reads the SCRIPT-URL parameter from the
gvp.service-prerequisites section of the IVR Profile object.

The gvp.service-prerequisites parameter is populated before the
Resource Manager sends the request to the Media Control Platform.

If the SCRIPT-URL parameter is not configured or populated, the
Resource Manager uses the INITIAL-PAGE-URL parameter instead.

Policy Enforcement
The Resource Manager tracks sessions, IVR Profiles, and service usage, to
enforce policies that are imposed on a per-application and per-tenant basis. The
Resource Manager also consults dialing and service allowability rules, to
enforce policies that are imposed on a per-application and per-tenant basis.
The configuration options specifying the policies that you can configure for
GVP are in the gvp.policy, gvp.policy.dialing-rules, and
gvp.policy.call-info configuration sections of the IVR Profile and Tenant
objects. Configuration options enable you to customize the SIP responses that
are sent when the Resource Manager rejects a call because of policy criteria.
They also enable you to specify whether certain policy violations will trigger
an alarm.
HMT Policy Starting in GVP 8.1.2, the Resource Manager can manage parent-child
Enforcement relationships between tenants in a Hierarchical Multi-Tenancy (HMT) to
enforce policies, selectively. HMT tenants are organized in a tree hierarchy,
which means that the parent tenant can have many child tenants, and the child
tenants can have many child tenants within its own tenant object. There is no
limitation on the depth of the tree. Only a single Resource Manager can
manage a complete tenant hierarchy.
The Resource Manager manages the policies for the entire tree hierarchy by
using a top-down method of enforcement for all parameter categories except
category 3 on page 104. Each tenant in the hierarchy, except for the root tenant
(Environment), uses the parent Tenant DBID to reference its parent tenant and
inherits the policies of the parent tenant.
In general, when enforcing policies the Resource Manager checks the parent
tenant to see if there are any overriding policies for the child tenant. If the
gvp.policy.<child-tenant-dbid> section is defined in a tenant, where
<child-tenant-dbid> is the DBID of the first child tenant in the hierarchy, the
Resource Manager enforces configuration parameters of the parent tenant in
the Annex section. The child tenant can have the same parameters defined in its
own gvp, policy section of the Annex, but the policies of the parent tenants
have priority over the policies of the child tenant.

Deployment Guide 103


Chapter 3: How GVP Works How the Resource Manager Works

Policy Four types of policy enforcement parameters exist in HMT:


Enforcement
Types
1. Usage-limit parameters—The Resource Manager checks the hierarchy
from the top-down to determine whether tenant-level usage is violated. It
also checks the parent-to-child enforcement sections to determine if the
usage-limit that is configured in the child tenant can be overridden. The
last child in the hierarchy is checked, provided that no usage violation is
detected at a higher level.
2. Permission-policy parameters—These parameters are treated in the same
way as the usage-limit parameters in that it searches from the top down
until it finds a not-allowed (false) value for one of the options. However,
it continues to check for a value of false in any other tenant, including the
IVR Profile. If a not-allowed value is encountered at any level, the
Resource Manager enforces the policy based on that value.
The following parameters are included in this category:

conference-allowed
 announcement-allowed

out-bound call-allowed

transfer-allowed
 voicexml-dialog-allowed

cti-allowed

msml-allowed
 recordingclient-allowed

recordingserver-allowed
3. Non-enforcement/Unrestricted parameters—The Resource Manager does
not use parent-to-child enforcement for these parameters. Instead, it checks
the IVR-Profile parameter first. If that parameter is not configured, it
searches the hierarchy for a match by using the bottom-up method.
The following parameters are included in this category:
 codec/media and disable/enable parameters that are passed to the
Media Control Platform
 speech and language parameters (passed to the Media Control
Platform)

mcp-sendrecv-enabled parameter (passed to the Media Control
Platform)
 metricsfilter parameter (passed to other GVP components)

max-subdialog-depth parameter (passed to the Media Control
Platform)

prediction-factor parameter (related to OCS call distribution related)
4. Ordered list of rules—The Resource Manager uses the top-down method to
check the parameters in this category. The first rule in the ordered list that
matches the regular expression determines the outcome of the action. For
simplicity, these policies are enforced on all of the child tenants. The
parent tenant cannot define rules for one specific child tenant.

104 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Resource Manager Works

Tenant and child objects can be managed, created, modified, and deleted by
using the Genesys Administrator. The Environment tenant (and any other
tenant at the same level) is considered the root tenant. For information about
how HMT is displayed and managed in Genesys Administrator, see the
Genesys Administrator 8.0 Help.
Speech Resource Users can configure the gvp.policy.asr-reserve and gvp.policy.tts-reserve
Reservation configuration options to reserve ASR and TTS resources on a per-application
or per-tenant basis. When the Resource Manager receives and incoming call
and maps it to the voicexml service, it passes those option to Media Control
Platform mapped as the gvp.config.asr.reserve and gvp.config.tts.reserve
SIP Request URI parameters. The Resource Manager uses the bottom-up
methodology to enforce the policy by checking the IVR-Profile first, and then
the tenant hierarchy.
Speech Resource You can configure Resource Manager (RM) to enable or disable access to ASR
Limit Policy and TTS speech resources, by language and by tenant IVR profile. To
complete the configuration, users must partition ASR and TTS so that each
engine handles a specific language.
While handling a VoiceXML call, the RM checks the chosen profile to see if it
specifies the authorized ASR/TTS engines. If it does, then the RM searches in
the tenant hierarchy (bottom-up) for these configuration parameters:
• List of Authorized ASR Engines
[gvp.policy.speech-resources]authorizedasrengines
• List of Authorized TTS Engines
[gvp.policy.speech-resources]authorizedttsengines
If these parameters are configured, the RM passes that information to the
Media Control Platform (MCP) handling the request (the VoiceXML call). RM
itself will not enforce the policy; that is done by the MCP (or MRCP Proxy, if
present).
Context-Services On a per-application basis, the Resource Manager supports context-services
Authentication authentication. The [gvp.context-services-authentication].username and
[gvp.context-services-authentication].password configuration options can
be used to configure a user name and password, respectively for
context-services authentication. When the Resource Manager receives and
incoming call and maps it to the voicexml service, it passes those option to
Media Control Platform mapped as the X-Genesys-GVP-CS-Username and
X-Genesys-GVP-CS-Password custom headers with the url-encoded value.

Transaction List in On a per-application basis, the user can configure a Transaction List by using
JSON Format the gvp.OPM.Transaction_dbid configuration option. When the Resource
Manager parses the IVR Profile configuration, it checks for a List object. It
reads the key-value pairs in the List object’s OPM section and transforms them
into a JSON string. The Resource Manager maps this string as parameters in
the Request URI to the Media Control Platform. If the list changes during
runtime, the Resource Manager processes the change and forms a new JSON
string, based on the updated OPM parameters in the List.

Deployment Guide 105


Chapter 3: How GVP Works How the Resource Manager Works

Service-Request Modification
Before the Resource Manager forwards the request to a resource that can
handle the service, it adds, deletes, or otherwise modifies SIP parameters to
capture user-defined data, and to translate policy and other configuration
information into SIP parameters that the VoiceXML or CCXML applications
can extract. You can configure GVP so that different service parameters are
used for each service of each application.
The configuration options specifying the service parameters and service
prerequisites that you can configure for IVR Profiles and the Environment
tenant, and also the SIP parameters in which the Resource Manager captures
this information, are in the gvp.service-parameters and
gvp.service-prerequisite sections of the IVR Profile object.

Resource Management
All requests for GVP services go through the Resource Manager, which
identifies a SIP resource that is capable of serving the request, and forwards
the request to it. The Resource Manager monitors GVP resources to maintain
an up-to-date status of the resources used in the GVP deployment. The
Resource Manager also manages GVP resources to provide load balancing
and, if applicable, high availability for each resource type.
The following subsections provide more detailed information about how the
Resource Manager performs its resource-management functions.
• Resource Groups
• Monitoring Status on page 108
• Selecting a Resource on page 109
• Failed Requests on page 114
• Recording Server and Client Resources on page 115
• Multi-Site Resources on page 115

Resource Groups
The Resource Manager receives resource information from Genesys
Management Framework. Logical resource objects in Management Framework
represent groupings of resources that share common properties, such as service
type (for example, voicexml), capabilities (for example, support for a specific
VoiceXML grammar), and method of load balancing (for example, round
robin).
Resources are grouped by the following service types:
• voicexml
• ccxml
• msml

106 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Resource Manager Works

• conference
• gateway
• cti
• recordingclient
• recordingserver
For detailed information about all the resource group properties, see the
descriptions of the logical group configuration options in the section about
configuring Resource groups in the Genesys Voice Platform 8.1 User’s Guide.
Management Framework gives the Resource Manager a list of logical resource
objects and a list of physical resources. Each physical resource belongs to a
logical resource.

Resource Groups in HMT Environments


In GVP 8.1.2, Resource Groups are part of a Configuration Unit (CU), with
each CU created under a specific tenant. CUs contain a gvp.resources section
that includes a rm_dbid configuration option that point to DBIDs for specific
Resource Manager instances. If this option is not defined, the CU is considered
unassigned and not in use.
The following sections describe the way in which the Resource Manager
handles CUs and manages the Resource and DID Groups within them:
Handling of CUs • When the Resource Manager searches the tenant hierarchy it parses only
those GVP CUs that have the same DBID configured in the rm_dbid
option. The resources that are contained in the CU service both the parent
tenant and all of the child tenants in the hierarchy. Child tenants are
identified by the value of the tenant.N configuration option, where
N=<number> (for example, tenant.1, tenant.2, and so on) is the value of
the DBID of the child tenant. If there are no configured tenant.N options
in the CU, the Resource Manager assigns the resources that are contained
in the CU to all of the child tenants in the entire sub tree for the hierarchy.
The Resource Manager manages CUs in the following additional ways:
 When it checks the tenant.N option, if the Resource Manager finds
that the DBID does not match any of the child tenants in the hierarchy,
it ignores that configuration.

A single Resource Manager instance can handle the assignment of
more than one CU under a specific tenant. In this case, the Resource
Manager handles all of the CUs for that tenant and all of the resources
that are contained in the CUs.
 When the Resource Manager is configured for HA, a single CU can be
assigned to more than one Resource Manager instance, because, when
Resource Manager is clustered, the two instances must manage the
same set of resources.

Deployment Guide 107


Chapter 3: How GVP Works How the Resource Manager Works


The Resource Manager uses a top-down method to assign resources;
therefore, although child tenants are serviced by resources that are
assigned to the tenant, resources that are assigned to the child cannot
service requests for the parent tenant of that child.
Resource Group • The Resource Manager determines if Resource Groups are contained in a
Management CU by checking the gvp.lrg option under the Annex section. In HMT
environments three types of Resource Groups exist:

Media Control Platform groups

Call Control Platform groups

CTI Connector groups
Gateway Resource Groups continue to conform to the Resource Group
architecture in GVP 8.1.1 and earlier 8.x releases, and the address of record
(AOR) and port count are configured in the same way.
Resource • The Media Control Platform, Call Control Platform, and CTI Connector
Configuration Applications have a gvp.rm section, which includes the following
configuration options:
 aor—Address of record

port-capacity—Number of ports that are allocated for this resource

redundancy-type—Monitoring status of the resource (active or passive)
 geo-location—enables calls to be routed and resources allocated
regardless of its location.
DID Group • The Resource Manager validates the DID Group and DN assignments for
Validation all tenants.

Monitoring Status
The Resource Manager acts as a SIP registrar (Request for Comments
[RFC] 3261) for resources about which it receives information from
Management Framework. The Resource Manager maintains information about
the registration and usage status of each resource. If the logical resource group
has been configured for monitoring (in the monitor-method configuration
option), the Resource Manager also monitors resource health. Health
monitoring performed by the Resource Manager is separate from Simple
Network Management Protocol (SNMP) management (see “SNMP
Monitoring” on page 85).
Configuration options in the registrar and monitor configuration sections for
the Resource Manager Application object enable you to control the monitoring
behavior of the Resource Manager.

Notification of Resource Status


When Resource Manager is deployed as part of the VPS solution in a
multi-tenant environment, it provides port-availability notifications that
include data which is specific to each tenant.

108 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Resource Manager Works

SIP Server generates a SUBSCRIBE request that includes a


X-genesys-mediaserver-status event and the Resource Manager immediately
sends a NOTIFY response, which includes the current status of all Media
Control Platforms in the deployment, whether active or passive, and it
continues to send notification if the status of any one of the Media Control
Platform changes.
Each entry in the body of the NOTIFY message is in the following format,
<Tenant-Name>/<MCP-IP:Port>/<MCP-Status>, where <Tenant-Name> is the
name of the tenant that was specified in the SUBCSCRIBE request and
<MCP-Status> is either in-service or out-of-service. See the following
example of a NOTIFY message:
NOTIFY sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 10.10.30.212:5098;branch=z9hG4bK0a5b6af05e2ed0
From:
sip:[email protected]:5066;tag=0F2DC9A6-2F17-486C-58AD-B84E3F788
C86
To:
sip:Environment@dev-photon:5060;tag=61B43FC6-F841-4326-A4F8-A8DA34DE627
B-1
Max-Forwards: 70
CSeq: 1 NOTIFY
Call-ID: [email protected]
Contact: <sip:[email protected]:5098>
Content-Length: 77
Content-Type: application/ x-genesys-mediaserver-status
Supported: timer
Environment/mcp1.com:5070/in-service
Environment/mcp2.com:5070/out-of-service

Selecting a Resource
Service After the Resource Manager has mapped a new SIP request to a service, it
Capabilities allocates the request to a logical resource group that can provide the service
with the specific capabilities required by the VoiceXML or CCXML
application.
The Resource Manager uses two sources to identify what the capability
requirements are:
• The IVR Profile service policies, which are configured in the gvp.policy
configuration section in the IVR Profile object.
• Information that is parsed from SIP Request-URI parameters that have the
gvp.rm.resource-req prefix. The Resource Manager does not forward
these Request-URI parameters.

Deployment Guide 109


Chapter 3: How GVP Works How the Resource Manager Works

Locating In a multi-tenant environments, requests from gateway resources are parsed for
Resources Using the X-Genesys-geo-location custom header.
Geo-Location
• If the custom header is included in the request, the Resource Manager
checks the configured geo-location parameter for each resource group to
determine if the geo-location parameter matches the location in the request.
• If the Resource Manager finds more than one group that matches the
geo-location information, it routes the call to the group that best meets the
criteria, such as, preference, and capability.
• If no groups match the geo-location, or the groups that match do not have
available ports, the Resource Manager routes the call to any group that has
available ports, even if the location information does not match.
The geo-location parameter is optional, and the value can be any string.
Load Balancing After the Resource Manager has selected a logical resource group for the
service request, it allocates the request to a physical resource. Except for
conference services (see “Resource Selection for Conference Services” on
page 111), the Resource Manager selects the physical resource based on the
load balancing scheme for the group. The load balancing options are:
• Round robin—From a circular list, the Resource Manager selects the next
resource whose usage has not exceeded configured limits.
• Least used—The Resource Manager selects the resource with the lowest
usage that has not exceeded configured limits.
• Least percentage used—The Resource Manager selects the resource from
the resource group with the least percentage of resource usage.
Usage is calculated in the manner specified by the port-usage-type parameter.
For more information, see the description of this parameter in the Genesys
Voice Platform 8.1 User’s Guide.

Notes: The Resource Manager load-balances within a logical resource group.


It does not load-balance between resource groups.
The MRCP Client on the Media Control Platform, which provides
Speech Resource Management (SRM), load-balances the selection of
third-party speech engines, on a round-robin basis.

Load-Balancing For gateway services, the Resource Manager selects a resource based on a
for Gateway configurable policy option that enables you to specify whether the call must be
Services routed to the gateway resource that is already associated with the session, or
whether the usual load-balancing scheme will be used (as specified in the IVR
Profile gvp.policy.use-same-gateway configuration option).
If ESS is deployed, the Resource Manager uses a third source to identify the
capability requirements (see “Selecting a Resource” on page 109), the
X-Genesys-geo-location custom header.

110 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Resource Manager Works

Outbound-Call The Resource Manager can use the prediction factor (factor-p) parameter to
Distribution predict the ratio of agent calls to customer calls in a campaign, based on the
assumption that factor-p can vary between 0.5 and 1.0.
A customer outbound call in a campaign is identified by the value of the
X-Genesys-gsw-predictive-call SIP custom header. If the value is on, it is a
customer call, if the value is off or the custom header is absent, it is identified
as an agent call.
When the Resource Manager receives subsequent calls on an existing
campaign, it finds the resource (Media Control Platform) with the maximum
number of calls for that campaign that also has free ports, and uses the
following process:
a. The Resource Manager examines the current number of agent calls
(A), outbound calls (O), and free ports (F) on the Media Control
Platform
b. If the new request is an agent call, and A - O < F x P, the Resource
Manager places this call on the Media Control Platform.
c. If the new request is an outbound call, and O - A < F x P, the Resource
Manager places this call on the Media Control Platform.
d. If the Resource Manager is unable to route the call to the Media
Control Platform with the maximum number of call for that campaign,
it finds the resource with the next highest number of calls for this
campaign (with free ports) and it repeats Steps a, b, and c.
e. If the Resource Manager is unable to find a Media Control Platform by
using these steps, it sends the request to a new Media Control Platform
(if there is one available).
You can also set a factor-P value in the gvp.policy.prediction-factor
parameter for IVR Profiles. If the value is not changed, 0.5 is the default
value.
No Resource If the Resource Manager is cannot select a resource to meet the request, it
Selected responds to the SIP request with a configurable error message. For more
information, see the section about customizing SIP responses in the Genesys
Voice Platform 8.1 User’s Guide.

Resource Selection for Conference Services


Conference services have the special requirement in that the Resource
Manager must route requests for the same conference ID to the same
conference resource, even if the requests come from different Resource
Manager sessions.
1. If the SIP Request-URI includes confmaxsize and confreserve parameters,
and if the specified confmaxsize value is less than the confreserve value,
the Resource Manager rejects the conference request.

Deployment Guide 111


Chapter 3: How GVP Works How the Resource Manager Works

2. For the first request that the Resource Manager receives for a conference
(in other words, the Resource Manager is not already handling requests
with the requested conference ID), it identifies eligible conference
resources by matching the confmaxsize and confreserve requirements that
are specified in the SIP Request-URI parameters with the conference
maximums that have been configured for the IVR Profile and the resource
group, taking into account the current status and usage of conference
resources. For more information about the IVR Profile and resource group
parameters that are considered, see the section about enabling conference
services in the Genesys Voice Platform 8.1 User’s Guide.
3. The Resource Manager selects a resource for the conference by load
balancing across the eligible resources, in accordance with the
load-balancing scheme for the logical group (see “Load Balancing” on
page 110).
The Resource Manager adds the confmaxsize and confreserve parameters
to the outgoing Request-URI when it forwards the request.
4. When the conference session is successfully established, the Resource
Manager increments the current usage of the resource by the expected size
of the conference (as specified in the confreserve SIP Request-URI
parameter—the default value is 1 if the parameter was not defined).
As new call legs join or leave the conference, the Resource Manager keeps
track of the current conference size.

Notes: When the conference session is established, the maximum number of


participants is the smallest among the conference size maximums
(confimaxsize parameters) specified in the SIP request, the IVR
Profile, and the resource group.
As a result, the Resource Manager might internally modify the
confmaxsize parameter in the outgoing SIP Request-URI, and this
might cause the Resource Manager to reject the conference request if
the confmaxsize parameter in the outgoing SIP Request-URI becomes
smaller than the confreserve parameter (see Step 1 on page 111).

5. When the Resource Manager receives subsequent requests with the same
conference ID, it forwards each request to the same conference resource,
provided that the maximum conference size is not exceeded.
If conference size maximums have not been defined in the SIP request,
IVR Profile, or resource group, the Resource Manager forwards the request
to the conference resource, leaving it to the conference resource to reject
the request if necessary.
If the maximum size of the conference or the usage limit configured for the
resource is exceeded when the new call leg is added, the Resource
Manager rejects the request.

112 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Resource Manager Works

If a request is received for a new participant to join an existing conference,


the Resource Manager detects that the conference resource has gone
offline, and releases all the calls associated with the conference. When the
new participants join the conference, the Resource Manager routes the
requests to a new online conference resource with available ports.
6. If the Resource Manager cannot select a resource to meet the request, it
responds to the SIP request with a configurable error message. For more
information, see the section about customizing SIP responses in the
Genesys Voice Platform 8.1 User’s Guide.

Resource Selection in HMT Environments


In HMT environments, the Resource Manager checks the Management
Framework objects that it manages to determine if they are in an enabled or
disabled state and processes requests, based on the following rules:
• If a resource is disabled, new calls are not forwarded to that resource for
processing.
• If a resource group is disabled, it is excluded during resource selection for
new calls.
• If an IVR Profile is disabled, new calls for this profile are handled by the
parent tenant’s default profile. If a default profile is not defined, the call is
rejected.
• If a Tenant is disabled, new calls for this tenant are rejected.
The Resource Manager reads the state information for Management
Framework objects during initialization. It also detects dynamic state changes
during runtime.

Warning! Care must be taken when tenant objects are disabled. By disabling
a tenant, you do not disable its child tenants. This operation does,
however, have a cascading effect on all of the objects that are
owned by the tenant, including Resource Groups, resources, and
IVR Profiles.

Exclusive An enhancement to resource selection for HMT tenants, enables access to


Resources for exclusive resources to specific tenants.
Tenants
Previously, when resources were configured for a tenant, they were, by default,
also available to its child tenants. In addition the tenant.N option could be
configured to allocate resources to a specific subset of child tenants.
Now, you can add the exclusive configuration option to the gvp.resources
section in the GVP Configuration Unit (CU). When this option value is set to
true, the resources under the CU are dedicated to the tenants that are specified
in the tenant.N option only.
Therefore, if the parent tenant's DBID is configured in tenant.N option, the
child tenants cannot use the specified resources. Conversely, if the child

Deployment Guide 113


Chapter 3: How GVP Works How the Resource Manager Works

tenant's DBID is configured in the tenant.N option, the parent tenant cannot
use the specified resources.
If the exclusive configuration option value is set to false, or if it is not
configured in the CU, resource allocation occurs as described “Resource
Selection in HMT Environments”.

Failed Requests
The behavior of the Resource Manager in response to failed requests depends
on the type of service, and on the failure response code received by the
Resource Manager:
• For voicexml, ccxml, and conference service requests for which it receives
a 4xx or 5xx response code, the Resource Manager tries to select another
resource, in accordance with the load-balancing scheme for the group, until
it has tried all resources in the group.
• For a gateway services request for which it receives a 4xx or 5xx response
code, or for which the request times out, the Resource Manager forwards
the failure response to the User Agent Client (UAC).
• For any INVITE requests to create a new SIP dialog for which it receives a
6xx response, the Resource Manager immediately forwards the response to
the UAC, without trying to select another resource.
• If the Resource Manager receives no successful 2xx responses, but it does
receive at least one final response from one of the resources, it forwards
one of the received responses to the UAC, in the order of selection shown
in Table 2:

Table 2: Order of Selection for Responses to the UAC

Response received Response returned to the UAC

1. 6xx 6xx

2. 401, 407, 415, 420, 484 401

3. Any other 4xx response The first 4xx response received

4. Any 5xx other than 503 The first 5xx response received

5. 500 Server Internal 500 Server Internal Error


Error

• If the Resource Manager has sent at least one request to a resource, but it
has not received any final responses from any resource, it sends a 408
Request Timeout response to the UAC.
For more information about the SIP response codes that GVP components
generate, see the appendix about SIP response codes in the Genesys Voice
Platform 8.1 User’s Guide.

114 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Resource Manager Works

Failed ASR/TTS Reservation Requests


If the Media Control Platform rejects a SIP INVITE request and the service-type
is voicexml, the Resource Manager processes a Warning header, if configured,
to check the specified warning code. A 390 warning code indicates an ASR
reserve failure and a 391 warning code indicates a TTS reserve failure.
When Resource Manager receives these types of warning codes, it checks the
gvp.policy.speech-reserve-failure-retry parameter in the profile:
• If it is not configured in the profile or set to true, the Resource Manager
routes the call to another Media Control Platform in the same resource
group.
• If it is set to false, the Resource Manager checks the value of the
gvp.policy.speech-reserve-failure-response configuration option to see
if it is set to a valid SIP error response code (by default, set to 0). If it is,
this response code is returned to the UA. If it is not, the response sent from
the Media Control Platform is returned.

Recording Server and Client Resources


Resource Manager manages recording servers and recording clients by
detecting and monitoring them to provide and facilitate GVP Call Recording
services. In the Call Recording solution, the Resource Manager functions
include:
• Provisions third-party recording servers.
• Provisions Media Server resources.
• Handles load balancing and failover of Media Servers.
For more information about how the Resource Manager manages Reporting
Servers and Clients, see the section “Recording Servers and Clients” in
Chapter 2 of the Genesys Media Server 8.1 Deployment Guide.

Multi-Site Resources
The Resource Manager supports GVP multi-site configurations, which consist
of multiple single-site deployments, with each site consisting of a Resource
Manager instance (or an HA pair), a Reporting Server instance (or an HA pair),
and multiple Media Control Platform instances. The Resource Manager shares
resources and enforces policies consistently across all sites. In addition,
administrators can generate real-time and historical reports with or without site
identification filters, which means they can also generate system-wide
reporting data.

Site Identification
Resource Manager obtains information about GVP sites by checking the site
folder object, which is configured in Management Framework and can be

Deployment Guide 115


Chapter 3: How GVP Works How the Resource Manager Works

viewed in Genesys Administrator on the Provisioning tab, under Environment


> Applications. The folder Annex contains a gvp.site configuration section,
in which site configuration options are kept. They include (but are not limited
to) the following parameters:
• Weight—Relative weight for this site
• Geo-Location—Comma-separated list of geo-locations associated with this
site
• Resource Sharing—Whether resource sharing is enabled or disabled for
this site
• Contact—The SIP route address for this site
The Resource Manager uses the name of the site folder in Management
Framework for the site name. It must be unique within the Applications
folder. The site ID is taken from the site folder’s DBID and must also be
unique. The site folder contains only Resource Manager and Reporting Server
components.
Parsing Site The Resource Manager in each site reads the local site configuration as well as
Configuration the configurations of the remote site in the deployment and subscribes to
notifications for the site object configuration changes. If the weight factor, or
any other site properties change, the Resources adjusts its site information
accordingly.
Monitoring Other The Resource Manager in each local site monitors the remote sites, by using
Sites SIP OPTIONS messages to ping the Resource Managers in those sites. To do this,
it uses the contact parameter that is provided in the gvp.site configuration
section of the remote sites folder. In this way, each Resource Manager can
determine when the remote sites are online or offline.

Multi-Site Policy Enforcement


The Resource Manager enforces policies dynamically across the multiple-site
deployments, by using usage-based counters only (Type I policy enforcement).
All other policy enforcement types (Type II, III, and IV) are enforced locally
on a per-site basis. (See “Policy Enforcement Types” on page 104.)
For detailed information about the usage-based counters, see “Usage Limit
Counters” on page 401.

Multi-Site Resource Sharing


The Resource Manager can manage resource sharing across multiple sites. Any
site can be selected to enable resource sharing by setting the
gvp.site.resource-sharing configuration option value to true (default) in the
site folder. When resource sharing is enabled, and there are no Media Control
Platform resources available, the local-site Resource Manager can insert a
routeset parameter to forward requests to this site. The Resource Manager
only forwards requests to sites that have resource sharing enabled. In this case,
policy enforcement is done at the local site.

116 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Resource Manager Works

The Resource Manager adds a X-Genesys-GVP-Site-ID custom header to the


request its own site ID set as the value. This enables other sites to determine
the originating site for the request and whether or not further policy checking is
required.
Resource sharing applies to the Media Control Platforms only. If a
CTI-Connector or Call Control Platform resource is required for a call and
there are no ports available, the Resource Manager does not forward the
request to a remote site and the existing logic for handling these kinds of
requests is used. See “Resource Management” on page 106 in this chapter.
For the rules related to resource-sharing within a site and across multiple sites
and a sample call flow, see “Site Resource Sharing” on page 406.

Multi-Site Reporting
In GVP multi-site environments, Reporting Server collects data from all GVP
segments to generate historical and real-time reports on a per-site or
system-wide basis. The Resource Manager logs the site ID into the CDR to
identify the site, to which the data applies.
For a detailed description of how multi-site reporting works, see “GVP
Multi-Site Reporting” on page 411.

Full Call Recording Requests (from Cisco UCM)


Through the Resource Manager, Cisco’s Unified Communications Manager
(UCM) can initiate full call recording sessions directly with the Media Server.
In other words, it can initiate sessions without the assistance of Cisco T-Server
or the UCM Connector.
A recording session is made up of two separate SIP dialogs, where each SIP
dialog carries the media stream for one of two parties on the call. The Resource
Manager handles these requests by ensuring that the SIP Request URI is
transformed into a NETANN format. The recording can then be initiated for
two separate dialogs with recording filename formats.
The Resource Manager processes the requests from Cisco T-Server in the
following manner:
• A request from Cisco UCM lands on a DN that is mapped to an IVR
Profile that contains the announcement service-type.
• Resource Manager checks for the near/farend parameter in the From
header. If it exists, it treats this call as a Unified Communications Manager
(UCM) call.
• The Resource Manager uses the near/farend parameter, the DN, and the
call-reference to generate the recording file format.
• The Resource Manager ignores the Date header in the request and chooses
to provide the date information for the file format on its own.

Deployment Guide 117


Chapter 3: How GVP Works How the Policy Server Works


If x-nearend is specified, the recording filename is in the following
format: CUCM/call-$RefCI$-at-$AgentDN$-on-$YYYY$-$MM$-$DD$
The Resource Manager will then generate a NETANN request to the
Media Control Platform in the following format:
INVITE
sip:annc@mcp:5060;record=CUCM/call-24432480-at-7013-on-2009-01-0
5 SIP/2.0

If x-farend is specified, the recording filename is in the following
format: CUCM/call-$RefCI$-at-$AgentDN$-on-$YYYY$-$MM$-$DD$ (2)
The Resource Manager will then generate a NETANN request to the
Media Control Platform in the following format:
INVITE
sip:annc@mcp:5060;record=CUCM/call-24432480-at-7013-on-2009-01-0
5(2) SIP/2.0

Note: For full call recording requests from Cisco T-Server, the Resource
Manager does not require the service-prerequisite requirements
for the announcement service.

For more information about the UCM Connector and Cisco T-Server, see the
Genesys Media Server 8.1. Deployment Guide.

How the Policy Server Works


Policy Server exposes a read-only HTTP/HTTPS interface that can be used by
other components to perform GVP policy queries for the entire deployment.
HTTP Response The HTTP interface returns data (responds to queries) in JSON format with
Format content-type application/json and supports JSONP when a query parameter
named callback is supplied. The JSON callback response is returned with
content-type text/javascript.
If the target service does not recognize the query parameter, the query is
silently ignored. A request within a partial URL that does not directly match an
existing service receives a 404 response.
Further information about how Policy Server performs its role in a GVP
deployment is provided in the topics:
• DID Management
• Policy Management on page 120
• Service Description on page 125
• High Availability on page 125

118 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Policy Server Works

DID Management
Policy Server recognizes Direct Inward Dialing (DID) number range specifiers
and named DID groups.
DID Range Policy Server recognizes two or more DID numbers expressed as DID range
Specifiers specifiers in one of the following three forms:
1. A single DID, for example, 300.
2. A range of DIDs, for example, 300-400 means all numbers between 300
and 400, inclusive. The lower number must be first in the range and the
higher number second. For example, 400-300 is an invalid specifier.
• A DID prefix, for example, 45* means all numbers that start with the digits
45. For example, 45, 450, 4500, 4501, 4599 and up, to the maximum
allowable that match the prefix.
A string that does not match any of these three forms is considered an invalid
specifier, and two DID range specifiers are considered overlapping when at
least one DID in each span is the same.
Named DID Named DID groups can contain zero or more DID range specifiers and a tenant
Groups can have zero or more DID group assignments. Policy Server maintains DID
groups, DID range specifiers for the entire deployment in its in-memory store.
Updates to DID Groups or their DID range-specifiers are immediately
reflected in-memory.
DID Overlap Genesys Administrator can query Policy Server for any overlaps in the DID
Queries range specifiers in the deployment by using an HTTP GET request in the
following format:
GET /dids/overlaps/?spec=<specifier>[&spec=<specifier>...] where
<specifier> is a DID range specifier, for example:
GET /dids/overlaps/?spec=300-400&spec=550&spec=551
A request can have multiple spec parameters in a GET request to query
overlaps for multiple DID range specifiers or it can have none. If there are no
spec parameters in the request, no overlap results are returned.
The maximum number of spec parameters that can be simultaneously
specified depends on the client’s URL length limits and the server
implementation. If there are any invalid specifiers in the request, a 400
response is returned. If no overlaps are found or no spec parameters are
specified, a 200 response with an empty array is returned, for example:
No overlap response []
If overlaps are found, a 200 response is returned with an array of overlap
details. Each array item is an object with the following properties:
• specifier—the DID range specifier in the request.
• overlaps—An array of objects that provide details about the overlap. The
objects have the following properties:

tenant—The tenant with the id property (the DBID of the tenant).

Deployment Guide 119


Chapter 3: How GVP Works How the Policy Server Works


group—The DID group with the name property.

specifier—The DID range specifier that contains the overlap.
See the following example of an overlap response:
[
{
"specifier": "55*",
"overlaps": [
{
"tenant": { "id": 101 },
"group": { "name": "Group1" },
"specifier": "500-600"
},
{
"tenant": { "id": 101 },
"group": { "name": "Group1" },
"specifier": "5567"
}
]
},
{
"specifier": "6700",
"overlaps": [
{
"tenant": { "id": 101 },
"group": { "name": "Group1" },
"specifier": "6000-8500"
}
]
}
]

Configuration of You can use the did.max_overlaps option to configure the maximum number
Maximum of overlaps that can be returned. The default value is 10.
Overlaps

Policy Management
The Resource Manager makes call processing and resource allocation
decisions, based on the policies that are defined within the tenant hierarchy and

120 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Policy Server Works

IVR profiles. Some policies are inherited and thereby, enforced by the parent
tenant.
The moment the Resource Manages serves up a resource (for example, call or
speech processing), the policies that are in effect are resolved by the Resource
Manager on-the-fly, based on the current resource utilization.
Static Analysis of Policy Server performs static analysis on some policies to validate and
Policies determine the inherited values or enforcements that are currently in effect for a
tenant or IVR profile. This information can be used by other components to
determine the policy values that are currently in effect.
Tenant Policy You can query the Resource Manager tenant policies by using an HTTP GET
Queries request in the following format:
GET /tenants/<tenant id>/policies/[<policy>] where:

<tenant id> is the DBID of the tenant
 <policy> is the name of the policy (optional), for example:
GET /tenants/101/policies
GET /tenants/101/policies/max-ports

Note: The <policy> parameter is optional. If it is omitted, Policy Server


returns all known policies (not just the currently defined tenant
policies).

Response Rules If a specified tenant does not exist, a 404 response is returned. If a specified
For Tenants policy does not match a known policy, Policy Server performs the following
steps in this order:
1. Checks for parent enforcement of this policy. If yes, the enforcement value
is used as the effective value.
2. Checks for an existing value for this policy. If yes, this value is used as the
effective value.
3. Checks the query to see if there is a new assigned value for this policy. If
yes, use the new value as the effective value.
4. If there is no parent enforcement, existing value, or newly assigned value,
there is no effective value for this policy.
When an existing tenant and a known policy are specified (or no policy is
specified), a 200 response is returned with an array of policy details. Each
array item is an object with the following properties:
• name—The name of the policy.
• value—The value of the policy that is defined for the queried tenant.
• enforcement—The value that is enforced by the immediate parent of the
queried tenant.
• effective—The effective value that is resolved, based on the inheritance
and enforcement rules for this policy.

Deployment Guide 121


Chapter 3: How GVP Works How the Policy Server Works

See the following example of an effective policy response:


[
{
"name": "max-ports",
"value": 300,
"enforcement": 250,
"effective": 250
},
{
"name": "conference-enabled",
"value": false,
"effective": false
}
]

IVR Profile Policy You can query the Resource Manager IVR Profile policies by using an HTTP
Queries GET request in the following format:
GET /tenants/<tenant id>/ivrprofiles/<profile id>/policies/
[<policy>] where:

<tenant id>—Is the DBID of the tenant.

<profile id>—Is the DBID of the IVR profile.
 <policy>—Is the name of the policy (optional), for example:
GET /tenants/101/ivrprofiles/42/policies
GET /tenants/101/ivrprofiles/42/policies/max-ports

Note: The <policy> parameter is optional. If it is omitted, Policy Server


returns all known policies (not just the currently defined IVR
Profile policies).

Response Rules The response rules are the same for the for IVR Profile policy queries as they
For IVR Profiles are for the tenant policy queries. See “Response Rules For Tenants” on
page 121.

Service Level Policies


Managed Service Providers in general and Enterprise departments in particular
may use GVP to provide self-service to many different, independent entities,
using the same shared GVP system of resources. Some entities may also do
outbound calling in bulk mode at various times of the day, and this load could
impact inbound self-service call handling, due to the potentially excessive
load.
To manage these different interests and loads, and also to accomplish billing
solutions for MSPs, GVP offers limit settings that are based on the number of

122 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Policy Server Works

simultaneous calls allowed for a given application, which is effectively


equivalent to the number of ports.
Level 1 and 2 thresholds are non-blocking, and when exceeded by traffic
demands, result in this fact being recorded in all CDR records for that
application during the excess traffic. Level 3 can be set to blocking, which
means that if the number of simultaneous calls equals the level 3 setting, then
any subsequent calls arriving for that application will be rejected until traffic
volumes decline below the threshold.
By writing the levels into the CDR record, the potential exists to bill the
application owner (or tenant owning the application) for different levels of call
volumes without blocking calls.

Procedure:
Setting Service Levels

Summary
Use Genesys Administrator (GA) to set the parameters that specify these
service levels, for both tenant and profile.

Prerequisites
• The parameter [gvp.policy]burst-allowed determines whether bursting is
allowed or not. To execute steps 2 and 3 in this procedure, you must set
this parameter to true.

Start of procedure
1. Enter the number of ports assigned to the customer in the parameter
[gvp.policy]usage-limits.
These are level 1 ports—the initial ports that a customer purchases for
which they will be billed at normal rates.

Note: Rule 1 appears by default. Under normal circumstances do not


modify this rule.
Rule 1 refers to the default usage policy value that is present when
a GVP installation is done for a customer and specific number of
ports are allotted. If its value=0 (not empty), all calls fail. You can
set Rule 1 at the Tenant level or at the specific IVR application
level.

2. Enter the number of ports assigned to the customer in the parameter


[gvp.policy]level2-burst-limit.

Deployment Guide 123


Chapter 3: How GVP Works How the Policy Server Works

These are level 2 ports—used when all of the Level 1 Ports are exhausted.
For these ports, the customer is billed at a different rate.
Level 2 Ports = Level 1 Ports + Level 2 bursting
For example, if the customer has 1000 ports at level 1 and they want 100
more ports in the next level, set level 2 ports at 1100. Therefore, if the
customer IVR profile receives 1100 simultaneous calls, 1000 ports are
billed at normal rates, and 100 ports are billed at the level 2 rate.
3. Enter the number of ports assigned to the customer in the parameter
[gvp.policy]level3-burst-limit.
These are level 3 ports—the next level of bursting, billed at a higher rate
than level 2.
For example, if the customer wants 100 ports in level 3, then set the level 3
Ports field to 1200 (1000 + 100 + 100).
4. Enter the number of billable ports assigned to the customer in the
parameter [gvp.policy].
Billable ports are used by some customers where the number of ports to be
billed is different from the number of ports provisioned (port levels 1, 2,
and 3). This information is transferred to Reporting Server and stored as
part of the CDR records.

Note: The parameter [gvp.policy] is available only if Reporting Server is


installed.

Policy Resolution For Uncommitted Values


Policy Server can stage a policy resolution of uncommitted values by
providing the value and enforcement query parameters when effective policies
are queried for either a tenant or an IVR profile. This can be useful when you
want to know what the effective policies will be before you save any changes
that were made to the policies.
Policy Server supports a limited set of policy resolution types, which is a
subset of the types that the Resource Manager can achieve during real-time call
processing.
• Policy Server supports two top-down policy resolution types—limit and
feature-allowed. For example, if the tenant’s usage-limits option has a
value of 23 and its parent tenant usage-limits option has a value of 8, then
the tenant's effective value for usage-limits will be 8.
• When there is no defined resolution type, Policy Server supports
bottom-up (or pass-through) resolution of policy values in the following
ways:

If the tenant's policy value is available, it is used as the effective value.
 If the tenant's policy value is not available, the first available value of a
parent tenant's policy is used from the bottom-up.

124 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the CTI Connector Works

• Policy Server supports one-level enforcement policy resolution. The


tenant's policy value is enforced by its immediate parent tenant. When the
policy value is enforced, the enforced value is used, regardless of any other
policy values. Enforcement policy resolution is applied for tenants only,
(not for IVR Profile policies).

Service Description
Policy Server returns a Web Application Description Language document that
describes the services it provides whenever a user visits the root URL ("/").
The WADL document is styled with an embedded Extensible Stylesheet
Language (XSL) reference to render an HTML page that acts as
documentation for the services. Policy Server serves the static files that are
required for this transformation (XSL, Cascading Stylesheet (CSS), and image
files) from the /static URL.
The WADL document includes the following information:
• The name of the product (VP Policy Server).
• The name of the Management Framework Application object that is
represented by this instance.
• The product version.

High Availability
You can deploy Policy Server in warm standby mode for High Availability by
using the Backup Server option in the Server Info section of the Policy Server
Application. The active–standby status is determined by the Solution Control
Server (SCS), and because the Policy Server is stateless, data does not require
synchronization.

Data Storage
Policy Server uses in-memory to store the data that it obtains from
Management Framework. It does not require external databases or files for
data storage.

How the CTI Connector Works


Like other GVP components, the CTI Connector (CTIC) relies on the Resource
Manager for session management, service selection, policy enforcement, and
resource management.
The Resource Manager processes CTI calls for each physical resource that
represents a CTI Connector. A call is identified as a CTI call:
• If it arrives from a gateway resource

Deployment Guide 125


Chapter 3: How GVP Works How the CTI Connector Works

• The use-cti parameter is set to a value other than zero (0) in the Gateway
resource group from which the call arrives.
This section describes how the CTI Connector performs its functions in the
following topics:
• Inbound Call Mapping
• Outbound Calls on page 128
• Genesys CTI Deployment Modes on page 129
• Integration with Cisco ICM on page 130
• Cisco CTI Deployment Modes on page 132

Inbound Call Mapping


When the CTI Connector is deployed, the Resource Manager manages call
sessions in the following way:
• A CTI call arrives from gateway resource, and the Resource Manager
routes the call to a CTI Connector resource. The Resource Manager marks
the session as a CTI session.
• The Resource Manager checks the use-cti parameter in the Gateway
group and, based on the parameter value, determines how the call is
mapped—for example:

use-cti = 0—The call is not treated as a CTI call. The DNIS is
provided and mapped to an IVR Profile.
 use-cti = 1—Initially, the DNIS is not provided and the call is not
mapped to an IVR Profile. This is done later, as described in “SIP
Back-to-Back User Agent” on page 54.

use-cti = 2—The DNIS is provided and the call is mapped to an IVR
Profile; however, the call may be treated as a CTI call, depending on
how the gvp.policy section of the IVR Profile is configured:
 If the cti-allow parameter is set to false, the call is treated as
non-CTI call.
 If the cti-allow parameter is set to true, the call is treated as a CTI
call.

If the cti-allow parameter is not configured, the call is treated as a
CTI call.

Note: When you create a Gateway resource group by using the Resource
Group wizard, the value that you enter in the CTI Usage field,
configures the use-cti parameter. See “CTI Connector Functions”
on page 54.

126 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the CTI Connector Works

• For CTI calls, the Resource Manager extracts the CTI service parameters
configured in the IVR Profile and sends them to the CTI resource as
Request-URI parameters. It also sends these parameters in mid call
requests, such as SIP REFER.
CTI Connector • The Resource Manager selects a CTI Connector resource group to service
Resource the call based on its preference and capability. (See “Resource Groups” on
Selection page 106.)

Note: In multi-tenant environments, only one CTI Connector service can


be included in a Resource Group, and there can be only one CTI
Connector Resource Group per tenant.

• A request is sent to a resource in the CTI Connector Resource Group based


on the load balancing scheme. (See “Load Balancing” on page 110.) The
Resource Manager modifies the X-Genesys-GVP-Session-ID header in the
request, as follows:

It adds the parameter gvp.rm.cti-call = 1.
 It adds the parameter gvp.rm.tenant-id (but only if use-cti = 2).
CTI Call Mapping • If a call is not mapped to an IVR Profile, the Resource Manager maps the
Genesys CTI call and selects a service for the request after receiving an SIP INVITE
request from the CTI Connector. The Resource Manager adds the
gvp.rm.tenant-id parameter to the X-Genesys-GVP-Session-ID header as
described in “CTI Connector Resource Selection”.
• The CTI Connector, acting as a B2BUA, fetches the Automatic Number
Identification (ANI), DNIS, Connection Identifier (CONNID), and
Universal Unique Identifier (UUID) from the IVR Server when a request is
received from the Resource Manager. The CTI Connector then sends a new
SIP INVITE to the Resource Manager with the following information:

The user part of Request-URI set to DNIS
 The user part of FROM header set to ANI

The user part of TO header set to DNIS
When the Resource Manager receives a request from the CTI Connector, it
searches for DNIS based on the rm.sip-header-for-cti-dnis parameter.
CTI Call-Detail • The Resource Manager processes the X-Genesys-GVP-CDR header for the
Records following information in the BYE request from the CTI Connector, or in the
final response for a BYE message to the CTI Connector:

The call-disposition information

The call wait time in the queue
The Resource Manager passes this information to Reporting Server in the
final CDR for the call.

Deployment Guide 127


Chapter 3: How GVP Works How the CTI Connector Works

Outbound Calls
The Resource Manager supports outbound calls from the Media Control
Platform to the CTI Connector and outbound calls from the CTI Connector to
the gateway from which the call originated.
• The Resource Manager routes the outbound calls that are initiated by the
Media Control Platform to the gateway with which the CTI Connector
instance is associated.

The Resource Manager attaches the CTI-related service parameters as
Request-URI parameters. They are configured as cti service-types The
format is the same as that described in “Selecting the Service” on
page 101.

The following CTI-related service parameters are attached for transfer
requests.

DefaultAgent

TransferOnCTI
TransferOnCTI is only applicable when CTI Connector is deployed
with Genesys CTI. The valid values for TransferOnCTI are Yes and No,
and the value type is fixed.

Note: The Resource Manager passes on the DefaultAgentNumber service


parameter for both outbound SIP INVITE and REFER messages. The
CTI Connector uses the TransferOnCTI parameter only in SIP
REFER messages.

• For an existing CTI Connector session, the Resource Manager forwards


outbound calls from the CTI Connector to the gateway resource from
which the inbound call arrived. To ensure this occurs, retain the default
value, Always, for the gvp.policy.use-same-gateway parameter in the
application profile.
• When the Resource Manager receives SIP INVITE messages from the CTI
Connector, it uses the following logic to determine whether the message is
for an outbound or inbound call:

If the Request-URI from the CTI Connector contains the
gvp.ctic.outbound parameter that is set to a non-zero value, it is an
outbound call and must go through the gateway.

If the gvp.ctic.outbound parameter is set to 0, it is an inbound call.
 If the gvp.ctic.outbound parameter is not set in the Request-URI, it is
an inbound call.

Failed Requests
If the CTI Connector sends a specific 4xx or 5xx SIP response code in the
initial INVITE message, the Resource Manager assumes that connectivity to the
CTI server is broken.

128 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the CTI Connector Works

• The Resource Manager checks the rm.cti-unavailable-action parameter.


If it is set, the Resource Manager performs the action specified in the
parameter. If it is not set, the Resource Manager check the next resource in
the CTI group. Possible action values are:

answer—This call is considered a non-CTI call. The DNIS is provided
and the call is mapped to an IVR Profile based on the initial SIP INVITE
message from the gateway (if the IVR Profile is not already mapped).

reject—The Resource Manager does not retry any further CTI
resources in the CTI group, and it rejects the call with the response
code from the CTI Connector.

script;<service-type>;<url>—The Resource Manager sends a
NETANN request based on the service-type and Universal Resource
Locator (URL). The request is sent in the context of the mapped IVR
Profile or the default IVR Profile (if mapping fails).
• When the CTI Connector sends the first SIP INVITE message to the
Resource Manager, and if the call is not mapped to an IVR Profile, the
Resource Manager checks that the IVR Profile is not already mapped. If it
is not, the Resource Manager maps the call and passes the CTI service
parameters to the CTI Connector in a 200 OK response in the
X-Genesys-GVP-CTI-Params header.

Genesys CTI Deployment Modes


The CTI Connector interacts with other components in the Genesys suite by
using the IVR Server XML interface. IVR Server can be deployed in front of
the switch, behind the switch, or in Network mode:
• If IVR Server is in front of the T-server (or TDM) switch—Inbound calls
that are routed through the Resource Manager to the Media Control
Platform contain call-related information, such as, the ANI, DNIS, DN,
and IVR port number in the SIP INVITE message.
• If IVR Server is in Network mode—Inbound calls that are routed through
the Resource Manager to the Media Control Platform contain call details
such as, the ANI, DNIS, Toll Free Number (TFN), and IVR port number in
the SIP INVITE message.
• If IVR Server is behind the switch—Inbound calls that are routed through
the Resource Manager to the Media Control Platform do not have the ANI
or DNIS in the SIP INVITE message. Only the channel identifier is
presented to GVP. In this case, GVP retrieves the ANI and DNIS from the
IVR Server through the CTI Connector, based on the channel identifier.
In all three IVR deployment modes, the Resource Manager and Media Control
Platform communicate with IVR Server through the CTI Connector.
For more information about setting up and configuring IVR Server in the
various deployment scenarios, see the Genesys Voice Platform 8.1 Integration
Guide.

Deployment Guide 129


Chapter 3: How GVP Works How the CTI Connector Works

Integration with Cisco ICM


GVP obtains call-related information, such as, the ANI and DNIS, from the
initial call-setup message and uses it to fetch IVR Profiles and identify a tenant
with which to associate the call. The Cisco Intelligent Contact Management
(ICM) framework provides the call handling instruction, exchanges call-related
data, and fetches the number of an available agent to which the call can be
transferred.
The CTI Connector interacts with ICM through the Voice Resource
Unit-Peripheral Gateway (VRU-PG). The PG serves as an intermediary
between the proprietary interfaces that are provided by the switch and GVP (or
IVR vendor), and the routing logic of the Intelligent Call Router (ICR). For
ACD or PBX devices, the PG monitors real-time agent status, calculates call
handling performance statistics, and forwards the appropriate event and
statistical information to the Database Server.
The PG monitors and responds to routing requests from the switch and/or IVR
and enables the intelligent post-routing of calls. Post-routing functions include
call transfers between agents and call inter-flows between ACDs or PBXs. See
Figure 10 for an example of a simple VRU-PG configuration.

Figure 10: CTI Connector Interaction with Cisco ICM

130 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the CTI Connector Works

CTI Connector (ICM) in Type 8 Network VRU


Deployment
The Type 8 Network Voice Resource Unit (VRU) call flow that is documented
here enables Cisco ICM to divert incoming calls to a VRU—GVP in this
case—for the purpose of voice treatment such as prompting and collecting
data, and for providing complete self-help voice response under ICM control
before connecting the call to an agent. For GVP, this is referred to as a
pre-routed call.
The CTI Connector (ICM) not only supports Type 8 deployment, but also
allows the ScriptID or a particular Call Variable from the first script request
execution to be treated as a DNIS, for invoking a VXML application. The
unique ScriptID must be configured in the DID profiles to fetch the appropriate
IVR profile, as a DNIS is configured. The following section describes
configuration and the flow of messages for such a deployment.

CTI Connector (ICM) Configuration


Configure these parameters as follows:
• use-cti—Set to 1, for the Gateway resource of the Resource Manager
(RM). This setting enables the RM to forward the call to CTIC without
fetching the IVR Profile.
• [ICMC] enablePreRouting—Set to true (default is false). True specifies
that the DNIS is not passed to the GVP when the call is presented. Instead,
the DNIS information is retrieved through Call Variables or the ScriptID in
the initial RUN_SCRIPT_REQ message.
• [ICMC] DNISIndicator—Set to the appropriate value – either Call Variable
or ScriptID, based on how DNIS information is sent.

Call Flow
This section describes how GVP handles Cisco ICM Type 8 deployment calls.
1. The RM receives a call but does not fetch the IVR profile, because the
use-cti parameter is set to 1. Instead, the RM forwards the call to the CTI
Connector.
2. Upon receiving a SIP_INVITE message from the RM, the CTI Connector
prepares a REQUEST_INSTRUCTION message, because the enablePreRouting
parameter is set to true.
3. The CTI Connector sends the Translation Route Number received as a
user-part in the TO header of the SIP INVITE message in the DNIS field of
the REQUEST_INSTRUCTION message to ICM.
4. When the RUN_SCRIPT_REQ message is received from ICM for the first time,
the CTI Connector sets the user-part of the TO header in the INVITE message
to RM with either ScriptID or Call Variable value, depending on the
DNISIndicator parameter’s value.

Deployment Guide 131


Chapter 3: How GVP Works How the PSTN Connector Works

5. The RM fetches the IVR Profile and initiates a NETANN dialog toward MCP
to execute the appropriate VXML application, and passes an empty
ScriptID to it. When the VXML application completes execution, the MCP
disconnects the call.
6. ICM optionally may send subsequent RUN_SCRIPT_REQUEST messages. For
each of these subsequent messages, CTI Connector initiates a NETANN
dialog to RM in the same IVR profile context. Since RM already knows
about the IVR Profile, it replaces the SCRIPTURL with the initial-page-url
that is configured in the IVR profile, and forwards it to the MCP. This
continues till the caller disconnect the call, or all the scripts have executed
from the ICM point of view.

Cisco CTI Deployment Modes


The CTI Connector and ICM can be deployed in one of two deployment
modes, which are described below:
Multiple • CTI Connector supports multiple VRU-PG connection, however, separate
Connections listener ports must be specified (separated by a comma) for each VRU-PG.
For example, [Tenant1] Ports=9001,9002. CTI Connector also supports
multiple Peripheral Interface Managers (PIM), which are associated with a
Peripheral Gateway (PG) to provide services for one tenant or multiple
tenants.
Duplex Mode • CTI Connector supports ICM in Duplex mode in which one of the
VRU-PGs establishes connection to CTI Connector, while the other
connection is quiescent. Once established, a connection remains active
until a failure (on either side of the connection) occurs. When ICM is in
Duplex mode, it might try to open a PG when the same PG already has a
session established. If this occurs, the CTI Connector terminates the
existing session and processes the new request.
For information about the various deployment options that are supported by
CTI Connector and ICM, see the Voice Platform Solution 8.1 Integration
Guide.
For a description of how basic call flows work when CTI Connector is
integrated with Cisco ICM, see “Basic CTI Connector/ICM Call Flows
(Inbound)” on page 486.

How the PSTN Connector Works


This section provides information to explain how the Public Switched
Telephone Network (PSTN) Connector performs its role in a GVP deployment.
It contains the following topics:
• Operational Overview
• Signaling Protocols

132 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the PSTN Connector Works

• Transfer Services and Features on page 134


• Selected Features on page 136

Operational Overview
The GVP PSTN Connector is a network layer element which provides access
to the core presentation layer services by using SIP. External TDM networks
access the PSTN Connector through Dialogic Application Programming
Interfaces (API) by using E1 Channel Associated Signaling (CAS), T1 CAS,
and T1/E1 ISDN signaling protocols.
The PSTN Connector leverages subscribed transfer services, and provides
many advanced inbound and outbound-calling features to support integration
with TDM networks.
For a description of how the PSTN Connector processes inbound and outbound
call triggers, see “Basic PSTN Call Flow (Inbound)” on page 490 and “Basic
PSTN Call Flows (Outbound)” on page 491.

Signaling Protocols
The PSTN Connector provides interfaces for three signaling protocols—
Integrated Services Digital Network (ISDN), Robbed-bit signaling (RBS), and
Channel Associated Signaling (CAS).
ISDN PRI • ISDN Primary Rate Interface (PRI) provides different service offerings
depending on the geographic region, for example:

In North America and Japan—23 B channels and 1 D channel, yield a
total bit rate of 1.544 Mbps (the PRI D channel runs at 64 kbps).

In Europe, Australia, and other parts of the world—30 B channels and
2 64-kbps D channels yield a total bit rate of 2.048 Mbps.
The PSTN connector supports the following ISDN PRI T1 and E1 protocol
variants:
T1-ISDN PRI E1-ISDN PRI

4ESS ISDN (tested with AT&T 4ESS switch) 
NE1 ISDN
 NI-2 ISDN  NET5 ISDN

NT-1 ISDN 
CTR4 ISDN

5ESS ISDN (tested with Lucent 5ESS switch) 
QSIG ISDN
 Nortel Custom ISDN (test with Nortel DMS-100
switch)
For a complete list of supported specifications and standards, including
ISDN PRI physical layer, see Appendix I on page 495.
Robbed-Bit • Robbed-bit signaling is a type of CAS that is sometimes referred to as
Signaling in-band signaling. CAS signals each traffic channel instead of a single
dedicated channel (like ISDN). The signaling associated with a traffic

Deployment Guide 133


Chapter 3: How GVP Works How the PSTN Connector Works

circuit is permanently associated with it. The most common types of CAS
are loop start, ground start, Equal Access North American (EANA), and
E&M (Ear & Mouth).
CAS also processes the receipt of DNIS and ANI information, which is
used to support authentication and other functions. The PSTN Connector
can be configured to restrict or pre-define the length of the DNIS and ANI
on an incoming call.
The PSTN Connector supports the following types of RBS:

Line-side T1 
wink start T1

Group A T1 
ground start T1

Group B T1 
loop start T1

Group D T1 
immediate start T1
Channel • The PSTN Connector supports standard E1 CAS. CAS transmits signaling
Associated information within the voice channel. CAS is configured on an E1
Signaling controller and enables the access server to send or receive analog calls. It is
categorized as an out-of-band signaling method because it uses the 16th
channel (or time slot).

Transfer Services and Features


The PSTN Connector supports transfer services and features in various ways.
This section describes how the PSTN functions with each of these transfer
types.
Dialogic Transfers • Blind transfer—The PSTN Connector performs a Dialogic Blind or Hook
Flash transfer when it receives a REFER message from the Media Control
Platform (through the Resource Manager) and releases all ports associated
with the call. If the call is not answered or busy, it is usually routed back to
GVP. By releasing the call to the PBX, the PSTN Connector is free to
handle new calls without handling the transferred call progression.
• Bridge transfer—The PSTN Connector supports Dialogic time slot
bridging. In this case, when the two separate call legs are established
between the PSTN Connector and the Media Control Platform, the media
flow bridging occurs at the PSTN Connector. This prevents the latency that
is generated when the media is passed to and from the Media Control
Platform and allows the Full Call Recording (FCR) of media when it is
passed to the Media Control Platform.
For more information about FCR, see “Media Services” on page 144.
AT&T Transfer • GVP acts as the redirecting party (RP), which sends calls to other locations
Connect or target parties (TP).
AT&T service supports in-band (IB) and out-of-band (OOB) invocation or
triggers. For OOB triggers and data forwarding, the PSTN Connector and
TP must have ISDN PRI, as OOB signaling occurs on the D-channel.

134 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the PSTN Connector Works

Transfers or redirection can be provisioned for OOB triggers only, or for


OOB triggers and OOB data forwarding.

In-band—GVP requests the redirection of an answered call by
out-pulsing an in-band DTMF touch-tone command (or trigger). The
call is then placed on hold by the network. The PSTN Connector role is
limited to passing the inband trigger and dial string received from
Media Control Platform to the network. The in-band transfer
processing logic lies with the Media Control Platform component.

Out-of-band—When an inbound or outbound call is established
between the PSTN Connector and the AT&T network, the PSTN
Connector initiates a redirection FACILITY message on the signaling
channels which then disconnects the call from GVP and transfers it to
the TP (regardless of the outcome of the call). The FACILITY message
contains User-to-User Information (UUI) from GVP, which is passed
to the TP through the network. The network send notification back to
GVP in another FACILITY message.
For more information about UUI, see “Inbound-/Outbound-Calling
Features” on page 136. To find out how Media Control Platform works
with AT&T Transfer Connect, see “Transfer Methods for AT&T Transfer
Connect” on page 155.
Two B-Channel When a controller (or subscriber) uses more than one PRI, and transfers
Transfer two calls that are using different PRIs (each controlled by its own
D-channel), the controller must obtain a PRI identifier for the PRI of one
of the two calls before it can request the transfer. TBCT can also send
transfer notifications to the two callers, but this is optional.
The TBCT implementation is defined in Telcordia Technologies Generic
Requirements GR-2865-CORE. For a complete list of supported
specifications and standards, see Appendix I on page 495.
Release Link • The initial calls can be on the same or different PRI trunk groups, but if
Trunk Transfer they are on different ones, they must connect to the same DMS switch.
Both the primary and secondary trunks must be configured with the RLT
feature enabled. If an outbound call from the GVP is redirected to a
third-party number, then that number must also be configured for RLT. If
the third-party number is not configured for RLT, the switch can not return
a call ID to GVP, and the calls cannot be transferred.
Explicit Call • ECT uses two lines to transfer a call, a primary line and an outbound line.
Transfer When the outbound call reaches the alerting (ringing) state, GVP sends a
request to transfer the call to the switch. When the switch accepts the
request, the user is released from the calls and they are connected directly.
The transfer can be configured to wait until the outbound call is answered
before initiating.

Deployment Guide 135


Chapter 3: How GVP Works How the PSTN Connector Works

Q.SIG Call • Q.SIG uses a method of call control in which the switch-type is defined in
Transfer the configuration file, because each switch vendor uses a different method
of implementing the service. This method of call control is defined in EN
300 171 and EN 300 172.
Path-Replacement is a supplemental service that uses two lines, a primary
line and an outbound line. Once a switch has accepted the transfer request,
both calls are connected at the switch and the GVP releases both B
channels. The Path-Replacement method of call transfer is defined in the
ETS 300 258 and ETS 300 259 ETSI Specification.

Selected Features
This section describes some of the advanced features and functionality that are
supported by the PSTN Connector for inbound and outbound calling:

Inbound-/Outbound-Calling Features
CTI Connector • The PSTN Connector supports CTI integration with IVR Server in front or
Integration behind the switch, and with GVPi and NGI. It passes Dialogic port
information to the CTI Connector in SIP custom headers.
Port Management • PSTN Connector ports can be configured to accept inbound calls,
outbound calls, or both. When the Type parameter is set to In/Out and glare
occurs, priority is given to inbound calls and outbound calls are given a
predefined number of retries.
User-to-User • ISDN PRI User-to-User information enables a user to send information to
Information the network which can then be transferred to a remote user. GVP can send
or receive this UUI in a single call leg or transfer it end-to-end from the
incoming call to the outbound call during a transfer. The PSTN Connector
transmits UUI from incoming and outbound calls by using the SIP
X-Genesys-GVP-UUI custom header in the INVITE or REFER (if transferred)
messages to and from the Media Control Platform.
The PSTN Connector supports ISDN codeset when UUI is propagated
during a transfer. The code set mechanism enables different geographic
areas to use their own nation-specific information elements within the data
frames.
Presentation and • When the call is inbound, the PSTN Connector extracts the Presentation
Screening and Screening Indicators, Numbering Plan, and Number Type from the
Indicators Calling Party Number IE of the ISDN call set-up message if it is supported
by the network. The PSTN Connector then propagates this information to
the Media Control Platform in the Remote-Party-ID header of the INVITE
message. When the call is outbound, this information is extracted from the
outbound SIP INVITE message that is sent by the Media Control Platform
and the PSTN Connector updates the IE appropriately.

136 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the PSTN Connector Works

AT&T Coda • When a call is inbound from an AT&T network, the PSTN Connector
Extensions extracts Billing Number and Information Indicator Digits from the ISDN
call set-up message and propagates this information to the Media Control
Platform in the X-Genesys-ATT-CODA custom header of the SIP INVITE
message. When the call is outbound, the PSTN Connector extracts this
information from the outbound INVITE custom header that is sent by the
Media Control Platform and propagates it to the TDM network.

Inbound-Calling Features
ISDN Alerting • This calling feature is enabled (by default) during inbound call setup to
avoid delays in answering calls. The PSTN Connector can be configured to
enable or disable this functionality by setting the DisableISDNAlerting
parameter to True or False.
Overlap Receive • Some PSTN network switches send DNIS and ANI in overlap-in-band
DNIS/ANI mode. After the call is established, the PSTN Connector waits for this
information for a predefined period of time and sends it on to the Media
Control Platform (through Resource Manager) in a SIP INVITE message to
initiate a dialog. This functionality can be configured for T1 RBS,
T1-ISDN, E1 CAS, or E1-ISDN by setting the OverlapReceivedEnable to
True or False. It is disabled by default.

Redirecting • The PSTN Connector extracts the Redirecting Number (RN) from the RN
Number from IE Information Element (IE) of an inbound ISDN call set-up message if it is
supported by the network. The RN IE identifies the number from which a
call is diverted or transferred. This feature is optional and controlled by the
network. The PSTN Connector extracts the RN, reason, and original called
number (OCN) and propagates this information to the Media Control
Platform by using the History-Info header of the SIP INVITE message. If
the RN IE is not available, the PSTN Connector returns an empty string.

Outbound-Calling Features
Disconnect Cause • When the PSTN Connector disconnects a call from GVP, it propagates the
Propagation cause to the PSTN network by using a SIP error response code For
example, ISDN=111 (Protocol Error) is propagated with a SIP 400 (Bad
Request) response code. For a list of ISDN DISCONNECT messages that map
to SIP error response codes, see the Genesys Voice Platform User’s Guide.
Call-Progress • During outbound-call initiation, the PSTN Connector might receive a
Analysis request from the remote party to detect call-progress events on the media
stream. If this occurs, the Media Control Platform enables Call Progress
Analysis (CPA) and responds with a SIP 200 OK message which contains a
list of supported events (in the X-Detect header) that can be detected. The
PSTN Connector then sends notification of detected events to the Media
Control Platform in SIP INFO messages.

Deployment Guide 137


Chapter 3: How GVP Works How the PSTN Connector Works

The newly defined X-Detect SIP header in the INVITE (200 OK) message
indicates a request or response. The request includes a list of event types
that the remote party wants notification of, for example,
X-Detect:Request=CPT,FAX. The response includes a list of event types that
the PSTN Connector is able to detect, for example,
X-Detect:Response=CPT,FAX. If the X-Detect header is not in the request
the PSTN Connector proceeds as though CPA is not required.
The X-Detect header can only be used while the SIP dialog is being
established. After that, detection capabilities are determined and cannot be
changed.

Table 3: CPA Categories and Sub-types as Supported with Dialogic

Type Subtype Previous Subtype Name Supported with Supported with


(for backward compatibility) Dialogic CPD Library

AMD AUTOMATA Automatic Yes Yes

CPT NoRingBack No Ring Back Yes Yes

BUSY Busy Yes Yes

SIT-RO ReOrder Yes Yes

Not-In-Service Not-in-Service No Yes

SIT-IC Operator Intercept Yes Yes

NoDialTone No Dial Tone Yes Yes

UnAllocatedNumber UnAllocated Number No Yes

SIT-VC Vacant Circuit Yes Yes

SIT Unknown SIT No Yes

NoAnswer NoAnswer Yes Yes

FAX CED (FAX1) CED (FAX1) Yes Yes

CNG (FAX2) CNG (FAX2) Yes Yes

PVD VOICE Voice Yes Yes

Cadence Cadence Yes Yes

LoopCurrent LoopCurrent Yes Yes

138 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Media Control Platform Works

How the Media Control Platform Works


This section provides information about the following topics, to explain how
the Media Control Platform performs its role in a GVP deployment:
• Operational Overview
• Media Services on page 144
• Speech Services on page 152
• Transfers on page 153
• Conferencing on page 164
• Debugging VoiceXML Applications on page 164
• HTTP Basic Authentication on page 165
In principle, the Media Control Platform works with the Resource Manager
and other GVP components to process calls in a similar way whether the
VoiceXML interpreter is the NGI or the GVPi. However, the way in which the
NGI and the GVPi perform certain functions is different and there are
differences in some areas of feature support. For simplicity, and for the
purpose of providing an overview of the way GVP works, this section
describes Media Control Platform functioning with the NGI only.
For more information about the differences between GVPi and NGI support for
GVP features, see the Genesys Voice Platform 8.1 Application Migration
Guide.

Operational Overview
The Media Control Platform receives requests for call and media services from
the Resource Manager in the form of SIP INVITE messages. The platform can
conference, transfer, or redirect calls by using other kinds of SIP messages (see
“Transfers” on page 153). The platform can also initiate outbound calls by
sending SIP INVITE requests through the Resource Manager or directly to the
destination.
The platform provides media, conferencing, and other bridging services for
both Media Control Platform and Call Control Platform calls. Media Control
Platform services are defined by VoiceXML applications that are executed as
part of the process of establishing a SIP session between the platform and the
service user. In addition, the platform supports NETANN and MSML
conferencing and prompt announcement services. SIP Server uses NETANN
and MSML services to carry out media operations.
Key and The platform also supports the configuration of a password for key and
Certificate certificate authority to perform server authentication, by using the attributes of
Authentication the sip.transport.<n> configuration option. When acting as a server, the
Media Control Platform supports mutual authentication for clients.

Deployment Guide 139


Chapter 3: How GVP Works How the Media Control Platform Works

Network Traffic The Media Control Platform supports partitioning of network traffic across
Partitioning various network interfaces, including SIP, HTTP, MRCP, RTSP, and RTP. For a
complete list of configuration options that are used for specific types of
network traffic, see Appendix I in the Genesys Voice Platform 8.1 User’s
Guide.

Inbound Calls
The Media Control Platform handles inbound service requests for call or media
services, as follows:
1. The Media Control Platform, acting as a SIP User Agent Server (UAS),
receives a SIP INVITE from the Resource Manager. Because the Resource
Manager modifies the SIP request by inserting service prerequisites for the
IVR Profile, the SIP Request-URI includes a voicexml parameter that
specifies the URL of the initial page of the required VoiceXML
application.
Alternatively, the Media Control Platform can be configured (in the
sip.vxmlinvite configuration option) to accept calls in which the
originator specifies the initial VoiceXML URL in the Request-URI of the
SIP INVITE. In these cases, provided that the syntax and format of the
Request-URI are correct, the normal Resource Manager method of mapping
calls to IVR Profiles will be bypassed.

The Media Control Platform recognizes the following Request-URI
formats:

sip:dialog.vxml.<URL>@host.com, where the URL portion must be
properly encoded (draft-rosenberg-sip-vxml format)
 sip:<user>@host.com;voicexml=<URL> (NETANN dialog service
format)

sip:conf=<ID>@host.com (NETANN format, for calls to join a
specified conference without going through a VoiceXML
application)
 sip:msml[=conf_id]@ms.example.com[;uri-parameters], where the
request is for MSML service when a conference call is created by
MSML. The join request is transmitted to the Media Control
Platform in a separate SIP INFO message. The conference ID in the
SIP Request URI indicates to the Resource Manager that the callers
for this conference must be routed to the same Media Control
Platform.

The Media Control Platform supports the following service parameters
in the Request-URI:

voicexml—The value must conform to the URI syntax that is
defined in RFC 3986.

maxage—The value must be all digits.
 maxstale—The value must be all digits.

method—The value must be either get or post.

140 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Media Control Platform Works


postbody—The HTTP body for POST requests.

timeout—The value must be numeric.

gvp.alternatevoicexml—Specifies an alternative VoiceXML page
if the VoiceXML interpreter fails to fetch the primary page.

gvp.config.<parameter name>—Sets the values of certain platform
configuration options for the duration of the media session. This
mechanism enables an IVR Profile to override certain Media
Control Platform configuration parameters, for the session that is
being executed in the context of this VoiceXML application. For the
configuration parameters whose values can be set dynamically, see
the Media Control Platform reference information appendix in the
Genesys Voice Platform 8.1 User’s Guide.
Special characters in the Request-URI parameters from the SIP interface
must be URL-encoded (escaped). These include ? (%3F), = (%3D), and
; (%3B).

The Resource Manager passes the value of the following IVR Profile
gvp.policy parameters in the Request-URI, for handling by the Media
Control Platform:

mcp-asr-usage-mode

mcp-max-log-level
 mcp-sendrecv-enabled
For more information about these policy parameters, see the chapter
about provisioning IVR Profiles in the Genesys Voice Platform 8.1
User’s Guide.

Media services are required, so the Resource Manager includes the SIP
User Agent (UA) Session Description Protocol (SDP) offer in the SIP
INVITE.
For more information about how the Media Control Platform
negotiates media services, see Step 6.
2. For valid INVITE requests, the platform immediately responds to the
Resource Manager with a 100 TRYING message. In addition, configurable
options enable you to specify whether the platform will also send
intermediate provisional responses while the call is being set up.
Provisional responses can include custom SIP headers, which must have
the prefix, X-.

Note: The Media Control Platform does not support sending early media
after a provisional response has been sent.

For the responses that the Media Control Platform sends if an error occurs
during call setup, see the appendix about SIP response codes in the
Genesys Voice Platform 8.1 User’s Guide.
3. The Media Control Platform passes all the generic SIP Request-URI
parameters to the VoiceXML interpreter.

Deployment Guide 141


Chapter 3: How GVP Works How the Media Control Platform Works

4. The VoiceXML interpreter sends an HTTP/HTTPS or file retrieval request


to the Fetching Module to fetch the initial page. The request includes the
timeout, maxage, and maxstale values, if present, to determine whether the
fetch can be satisfied from the cache store.
For more information about how caching is used to improve Media Control
Platform performance, see “Caching” on page 170.
5. The VoiceXML interpreter compiles and interprets the initial page, and all
subsequent pages, so that the Media Control Platform can execute the
application. The VoiceXML application is ready to proceed when the
VoiceXML document is fetched, parsed, and compiled.
The NGI supports the following encodings for VoiceXML pages and
external ECMAScripts objects:

UTF-8

UTF-16

ISO-8859-x

Far-East encoding for Japanese, Chinese, and Korean
The VoiceXML interpreter retrieves the encoding information for a
document from the encoding attribute of the XML header, or from the
charset attribute of the <script> tag.
6. At the same time that it passes SIP INVITE information to the VoiceXML
interpreter (see Step 3), the Media Control Platform passes the SDP to the
Media Server, so that it can negotiate media capabilities.
For information about capability negotiation, and the codecs that the Media
Control Platform supports, see “Codec Negotiation” on page 148. For
information about the file formats that are supported for playing and
recording audio and video for various codecs, see the Media Control
Platform reference information appendix in the Genesys Voice Platform 8.1
User’s Guide.
7. When the VoiceXML application is ready to be executed, the Media
Control Platform sends a 200 OK response to the initial INVITE request. The
response includes the Media Server SDP answer, if applicable.
If the initial INVITE and the ACK that is returned do not contain the required
SDP information, a media-less dialog is established.
In general, the VoiceXML application starts when the 200 OK response is
acknowledged (that is, when the platform receives an ACK). However, it is
the VoiceXML application itself that determines whether it is ready to start.
In particular, if a media-less dialog has been established, the VoiceXML
application will not start until the platform receives a re-INVITE that
includes the SDP information for the caller.

142 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Media Control Platform Works

8. When the VoiceXML application starts, it controls the session. The


VoiceXML interpreter is responsible for driving the Media Control
Platform to execute the VoiceXML application appropriately. The NGI
performs speech and DTMF recognition, and it issues commands to the
platform to execute call and media operations.

The platform sends and receives SIP INFO messages for the following
application events:

To make a request—The application can specify the content type
and content body of the SIP INFO message.

To send or receive data—The application can send data in custom
SIP headers. The platform can send information that it receives in
SIP INFO headers to the NGI, and this information is provided to the
application in shadow variables.

Note: When the SIP INFO content type is application/dtmf-relay, it is


treated as DTMF input instead of an application event. The
content format is Signal = <digit>.


The application uses dialogs to initiate transfers as required. For more
information about how the Media Control Platform performs transfers,
see “Transfers” on page 153.
The NGI supports use of the userdata attribute in the <transfer> tag,
to abstract CTI data. The NGI exposes CTI userdata to the application
in a session variable, session.com.genesyslab.userdata.

The platform provides media services through the Media Server, for
operations such as playing prompts and recording audio and video. For
more information, see “Media Services”.
 For ASR or TTS, the Media Control Platform controls speech
resources through the MRCP Client. For more information, see
“Speech Services” on page 152.
9. The VoiceXML application can invoke other VoiceXML applications. The
VoiceXML interpreter is responsible for issuing commands to the Fetching
Module to fetch VoiceXML pages and other applications.
10. When a caller disconnects (that is, when a BYE is received), the platform
notifies the Voice XML application (through the
connection.disconnect.hangup event). If the BYE includes a Reason header,
the value of the Reason header is passed verbatim to the application.
If the application disconnects, the platform generates a BYE request.
11. For each VoiceXML session, the Media Control Platform generates
call-detail records, which it sends to the Reporting Server. For more
information, see “CDR Reporting” on page 194.
12. For each VoiceXML session, the Media Control Platform sends logs and
metrics (VoiceXML application event logs) to the log sinks and, from here,
to the Reporting Server.

Deployment Guide 143


Chapter 3: How GVP Works How the Media Control Platform Works

For more information about metrics, see “Metrics” on page 192. For
descriptions of the Media Call Control Platform metrics, see the Genesys
Voice Platform 8.1 Metrics Reference.

Media Services
The Media Server provides the following services:
• Prompt playback
• Recording
• DTMF digit detection and handling
• ASR streaming (streaming TTS audio to the SIP call, and streaming audio
data to an ASR server to perform speech recognition)
• Audio encoding and transcoding
• Audio and video streaming
The media channel is established directly between the Media Server and the
remote party (through a media gateway, if required), over RTP. The Media
Server also supports Secure RTP (SRTP).

Selected Features
The following are some of the advanced features that the Media Server
provides for audio and video services:
• Support for audio, video, and mixed audio-video for calls and conferences
• Support for an unlimited number of participants in conferences
• “VCR controls” that enable the caller to navigate within an audio or video
stream by using DTMF keys (for example, play, pause, stop, resume, and
skip forward or backward)
• Full call recording for audio and video, including configurable support for
recording DTMF input
• Call recording support for third-party server
• Fine-grained control of conference input and output through configurable
parameters for gain control, audio mixing, video switching, and so on
• Mechanisms to guarantee the required level of real-time performance for
time-critical functions (for example, generating output content in advance
and buffering it)
• Per-prompt control of DTMF barge-in
• Support for Call Progress Analysis (CPA)

Note: CPA can be performed by an external media gateway, such as


AudioCodes, by the Dialogic card, or by the Media Control
Platform itself.

144 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Media Control Platform Works

• Flexible packet size and SDP configurable ptime parameters


• Terms of Service (ToS) tagging for RTP packets
• Mechanisms to specify maximum record size
• Wave and AVI container support for additional codecs (see “Codec
Negotiation”)
• Support for the DTMF send method based on the SDP origin field
• DTMF distribution in the conference
• Audio and video sources can play from separate URLs in parallel
• Initial bursting to fill the Dialogic playback buffers quickly

Dual-Channel Call Recording


The Media Control Platform performs many types of recording functions (see
“Media Control Platform Functions” on page 62), including advanced MSML
server functions, such as, dual-channel call recording.
Dual RTP Streams The Media Control Platform’s Media Server module can replicate the RTP
streams of two inbound calls in a Call Recording session (indicated by the
Request-URI) to a third-party recorder. SIP Server initiates this request by using
MSML.
The SDP and other connection-specific parameters are passed in the an
attribute that is used to start additional recordings, pause, stop, and restart
streaming.
HA for Clients The Media Control Platform adheres to the RFC 3263 standard, in which SIP
uses DNS procedures to enable a client to resolve a SIP URI to an IP address,
port, and transport protocol. SIP also uses DNS to enable a server to send a
response to a backup client if the primary fails.
For a complete list of GVP-supported specification and standards, see
Appendix I on page 495.

Call-Progress Detection and Analysis


The Media Control Platform stores the most recent call-progress detection
(CPD) events. When the call is connected, the last collected CPD event is sent
to the application module, which determines how to handle the results.
The default CPD parameters are defined in the Media Control Platform's
configuration. These tuning parameters can be overwritten by the IVR Profile's
service parameters, that are passed to Media Control Platform by the Resource
Manager.
The Media Control Platform reports CPD results to VoiceXML application as
they are detected. If the Media Control Platform does not perform Call
Progress Analysis (CPA), the CPD result is provided to VoiceXML
applications and processed by the Media Control Platform through Media

Deployment Guide 145


Chapter 3: How GVP Works How the Media Control Platform Works

Server Markup Language (MSML) requests. Call Progress Analysis (CPA) is


initiated by a CPA request in the MSML dialog or by the VoiceXML
application.

Detection Methods
The Media Control Platform supports two methods of CPD:
• Gateway-based with audiocodes, where SIP Server is the CPD provider.
• Core-based, where the Media Server module of the Media Control
Platform is the CPD provider. CPD is triggered by the MSML <cpd>
element.
When core-based CPD is implemented, the CPD result is passed to a dialog
that is initiating a VoiceXML application, by using a MSML <dialogstart>
request, or a <send> request with an event=start parameter. The CPD result is
contained in the MSML <gvp:params> element.
The <gvp:params> request does not validate the content of the name and value
parameter pair. The CPD result string that is sent to the VoiceXML dialog in
the <gvp:params> element is mapped to the CPD event, such as,
value=cpd.sit.nocircuit, as shown in the example above.
For a complete list of CPD events, see Appendix A, “MSML Specification”, in
the Genesys Media Server 8.1 Deployment Guide.

Analysis Logging
Result analysis and logging can performed when the cpa.enable_log_param
and cpa.enable_log_result configuration options are enabled in the mpc
section of the Media Control Platform Application. This information is logged
in the Media Control Platform metrics log.
CPA parameter logging and CPA tone-setting logging are enabled if the
cpa.enable_log_param option is configured as true, and the logging
timestamp is determined when detection (CPD) is started.
CPA parameter logging and CPA result logging are enabled by using the
cpa.enable_log_param and cpa.enable_log_result configuration options.
The cpa_parameter logging and cpa_tone_setting logging configuration
options are enabled if the cpa.enable_log_param option is configured as true,
and the logging timestamp determines when CPA detection is started.
The cpa_result logging option is enabled if the cpa.enable_log_result
option is configured as true, and the logging timestamp is determined by
when Media Control Platform reports the CPD result.
The metrics are contained within the cpa.enable_log_param and
cpa.enable_log_result log messages, which contain the following
information:
• cpa.enable_log_param
 Global Call ID

146 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Media Control Platform Works


Start time of detection

Configuration information that was used in detection.
• cpa.enable_log_result

Global Call ID

Time that the detected event was reported.

Detected CPD results
The tenant ID and the IVR Profile name is also included in the metrics log in
the call_reference entry in the following format:
call_reference <SIP Call-ID>|< GVP-SESSION-ID|< GVP-Tenant-ID>| IVR
Profile Name

Log Format
The CPA log format differs slightly for parameter, tone setting and results
logging, as described below:
Parameter • Parameter logging—Enabled when the cpa.enable_log_param option value
Logging is set to true, and detection is initiated by an MSML <cpd> request, or by
a VoiceXML application, in the following log format:
[<field name="name"/>=<field name="value"/>[|<field
name="name"/>=<field name="value"/>...]]
where:
“name” is the name of the tuning parameter and “value” is the value of the
parameter, for example:
max_preconnect_time=30000|max_postconnect_time=20000|max_beep_det_t
ime=30000|no_limit_timeout=30000|chunks_not_flush_on_state_chg=9000
0|machine_greet_dur=1800|voice_pause_dur=1000|max_voice_signal_dur=
800|fax_duration=160|voice_range_db=25|voice_level_db=17.5|max_ring
_cnt=9|sil_before_beep=4500|preconnect_tone_det_mode=0|notime_ringb
ack_match_percent=50|ontime_preconnect_match_percent=60

Tone Setting • Tone setting logging—Enabled when the cpa.enable_log_param option


Logging value is set to true, and detection is initiated by an MSML <cpd> request,
or by a VoiceXML application, in the following log format:
[<field name="tone_name"/>=<field
name="tone_value"/>[|segment=<field value="seg_value"/>[,<field
name="name"/>=<field name="value"/>...]…]]
where:
“tone_name” is the tone name, “tone_value” is the tone description,
“seg_value” is the segment value, “name” is the name of the parameter,
and “value” is the value of the parameter. See the following two examples:
Example 1:
cpa_tone_setting busy=na_busy
Example 2:

Deployment Guide 147


Chapter 3: How GVP Works How the Media Control Platform Works

cpa_tone_setting
ringbak=tone1|segment=1,f1min=0,f1max=0,f2min=0,f2max=0,ontimemin=2
0,ontimemax=20,offtimemin=0,offtimemax=0|segment=2,f1min=0,f1max=0,
f2min=0,f2max=0,ontimemin=20,ontimemax=20,offtimemin=0,offtimemax=0
|segment=3,f1min=0,f1max=0,f2min=0,f2max=0,ontimemin=20,ontimemax=2
0,offtimemin=0,offtimemax=0

Result Logging • Result logging—Enabled when the cpa.enable_log_result option value is


set to true, and the CPA result is detected by the Media Control Platform,
in the following log format:
<field name="value"/>
where:
“value” is one of the following CPA results:

Human 
SIT Vacant Circuit

Answering Machine 
SIT Operator Intercept
 No Media  SIT Recorder
 Answering Machine Beep  Custom1

Answering Beep Long Silence 
Custom2

No Beep Long Answering Machine 
Custom3
 Fax  Custom4

No Answer Max Ring 
No Answer Buffer Limit

No Answer Timeout 
No Media Buffer Limit
 Busy  Timeout

Fast Busy 
Stopped

SIT No Circuit 
Unknown
For example, cpa_result Answering machine detected

Overwriting CPA Configuration Options


The gvp.service options in the IVR Profile can overwrite the CPA
configuration options. The IVR Profile service parameter must be prefixed by
voicexml.gvp.config for VoiceXML services, and by msml.gvp.config for
MSML services.
For example, to overwrite CPA the mpc.cpa.maxbeepdettime option in the IVR
Profile for VoiceXML service, add the following name/value pair to
gvp.service-parameters:
Name: gvp.service-parameters.voicexml.gvp.config.mpc.cpa.maxbeepdettime
Value: fixed,30000
For a complete list of CPA configuration options that can be overwritten by the
gvp.service-parameter in the IVR Profile, see Appendix B in the Genesys
Voice Platform 8.1 User’s Guide.

Codec Negotiation
The Media Control Platform supports the standard RFC 3264 offer/answer
mechanism to negotiate capabilities for media services: The caller includes an
SDP offer in the SIP INVITE, the receiving party answers with matched SDP

148 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Media Control Platform Works

capabilities in the 200 OK, and the originating caller acknowledges and
confirms the negotiated SDP in an ACK message.
The Media Control Platform also supports receiving SIP INVITE messages
without SDP. In these cases, it generates an SDP offer in the 200 OK response.
For outbound calls, it also supports receiving SDP in the 183 Session Progress
response.
In addition, the platform supports in-call media information updates through a
re-INVITE/200 OK/ACK sequence.

Note: If a SIP re-INVITE is sent to the Media Control Platform to alter the
SDP while audio is playing, it can cause the loss of some audio when
the Media Control Platform flushes its buffer.

The Media Control Platform can support the following codecs:


pcmu g726 amr h264
pcma g729 amr-wb vp8
g722 g729[b] h263 telephone-event
g722.2 g729a[b] h263-1998 gsm
A configurable parameter (mpc.codec) enables you to customize the list of
codecs that are advertised in SDP offers, or that are used to match the remote
party’s offer.
If both the Media Control Platform and the remote end point are configured to
negotiate multiple codecs for a call session, multiple audio codecs can be used
within a single SIP call.

Note: In certain media operations, such as Conference, CPD/CPA require


internal transcoding to a native primitive codec L16. Therefore, the
codec being used must be added to the mpc.transcoders configuration
option in the Media Control Platform Application. If the default IVR
Profile has specific transcoding disabled, operations that require that it
will fail.

For information about the supported audio and video file formats, see the
Media Control Platform reference information appendix in the Genesys Voice
Platform 8.1 User’s Guide.

SDP Negotiation for Telephony Events


The Media Server module supports telephony events (and the PSTN
Connector) by sending DTMF digits by one of three methods when telephone
events are negotiated by SDP:
• Telephony tones or signaling (RFC 4733)
• Inband signaling
• SIP INFO messages

Deployment Guide 149


Chapter 3: How GVP Works How the Media Control Platform Works

To determine which method to use, the Media Server checks the


mpc.sdp.map.origin.[n].dtmftype parameter that is mapped to the remote
SDP’s origin field (o=) with the mpc.sdp.map.origin.[n] parameter. Therefore,
the method is determined by applying the following logic:
• When the Media Control Platform is sending DTMF digits:

If the o= and s= attributes in the request from the caller matches the
mpc.sdp.map.origin.[n] mapping, the DTMF method is dictated by
the mpc.sdp.map.origin.[n].dtmftype (where [n] can be a number
from 0 to 9).

If a telephony event is negotiated, the RFC 4733 method is used.

If neither of the first two scenarios exists, the method that is used is
based on the mpc.rtp.dtmf.send configuration parameter.
• When the Media Control Platform is receiving DTMF digits:

If a telephony event is negotiated, the RFC 4733 method is used
together with SIP INFO (if it is listed in the mpc.rtp.dtmf.receive
configuration parameter).

If the first scenario does not exist, DTMF digits are allowed. based on
the mpc.rtp.dtmf.receive configuration parameter.
If the SDP negotiation results in an media-less SIP dialog (RFC 5552), or the
remote SDP has an IP address like 0.0.0.0, the VoiceXML application does
not execute. To run the VoiceXML application, the UAC must initiate SDP
negotiation with a RE-INVITE that results in an active media channel and
negotiation of a valid remote IP.

MSML-Based Media Services


When enabled for Media Server Markup Language (MSML), SIP Server
responds to a media service request by sending an INVITE message first, to
establish a connection with the media server, then an INFO message to start the
particular service, such as treatment or conference.
When sending an INVITE for MSML service to GVP or Genesys Media
Server, SIP Server includes the following special parameters in the Request
URI to help identify the kind of MSML service being asked for, as well as for
which tenant:
• media-service — Includes the value treatment, media, cpd, conference, or
record, depending on the requested service.
• tenant-dbid — Includes the identification number for the tenant to which
the SIP Server switch belongs.
The Table 4 on page 151 describes which service types are covered by the
media-service values.

150 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Media Control Platform Works

Table 4: Media-service Values and MSML Service Types

media-service value MSML service type

treatment Used for any of the following treatment types, as


asked for in the initiating RequestApplyTreamtent:
• Music
• Silence
• CollectDigits
• PlayAnnouncement
• PlayAnnouncementAndDigits
• PlayApplication (including VoiceXML)
• RecordUserAnnouncement

cpd Used for Call Progress Detection (CPD) for


outbound calls.

record Used for both static (DN-level configured) and


dynamic (T-Library initiated) call recording.

conference Used for conferences or for supervisor monitoring.

media Used for the following services:


• greetings (static or dynamic)
• music-on-hold, music-in-queue
• ringback or busy tone
• nailed-up connections
• third party in push video-scenarios
• RingBack, Busy, FastBusy, as initiated by
RequestApplyTreatment

Saving call detail records (CDRs) for these media services is optional, and
controlled by the option media-service-cdrs.reduce.

[cdr] media-service-cdrs.reduce
Default = true
Valid values = true, false
Takes effect at: start or restart
Disables/enables the storage to the remote database of Resource Manager and
Media Control Platform CDRs that have these media service types: media, cpd,
record or conference.
• true disables CDR storage to the remote database.
• false enables CDR storage to the remote database.

Deployment Guide 151


Chapter 3: How GVP Works How the Media Control Platform Works

Speech Services
The Media Control Platform manages MRCP Client sessions with third-party
speech engines. The Media Control Platform provides speech recognition and
speech synthesis commands to the MRCP Client, and the MRCP Client
communicates these to the MRCP server(s) to carry out speech requests.
• For MRCPv1, the MRCP Client uses Real Time Streaming Protocol
(RTSP) to establish MRCPv1 control sessions.
• For MRCPv2, the MRCP Client uses SIP and SDP to create the
client/server dialog and set up the media channels to the server. It also uses
SIP and SDP, over Transport Control Protocol (TCP) or Transport Layer
Security (TLS), to establish MRCPv2 control sessions between the client
and the server, for each media processing resource that is required for that
dialog.
The platform sends the RTP stream directly to the MRCP server for ASR, and
it receives the RTP stream directly from the MRCP server for TTS.

Grammars
The Media Control Platform generates the following grammars:
• Hotkey grammars—Grammars that are used to match the UNIVERSALS
properties for the hotwords Help, Cancel, and Exit. There are separate
grammar files for each supported speech engine. The hotkey grammars are
stored in the C:\Program Files\Common
Files\GCTI\www\gvp\mcp\<app_obj_name>\grammar directory.

Note: The default hotkey grammars may not contain the correct strings
for the hotwords in certain languages. Verify that the grammars are
correct for the languages that are required in your deployment, and
correct or add any required strings as necessary.

• Built-in grammars—The set of built-in grammars provided in the


VoiceXML specification. The Media Control Platform provides these
because some engines do not support VoiceXML built-in grammars
internally on the engine side. The built-in grammars are stored in the
/var/www/gvp/mcp/<app_obj_name>/grammar directory.
• Inline and Implied grammars—Menu and option grammars that the
Medial Control Platform generates dynamically. These grammars are
temporarily stored in the <MCP Installation Path>\tmp directory.
In addition, the Media Control Platform supports native DTMF grammar
handling with a built-in DTMF recognizer.
For the default languages and built-in grammars that are supported when strict
grammar mode is enabled, see the description of the conformance.supported_*
options in the vxmli configuration section.

152 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Media Control Platform Works

Microsoft Internet Information Services (IIS) on the Media Control Platform


host serves the grammars to the off-board ASR server. The Apache HTTP
Server provides the same service when the Media Control Platform is installed
on Linux. Ensure that you configure the IIS and Apache application servers to
serve the required grammars.

Transfers
VoiceXML or CCXML applications use the <transfer> tag in VoiceXML
dialogs to initiate transfers.

Transfer Types
From the perspective of the VoiceXML or CCXML application, there are three
types of call transfers:
• Blind—The application is detached from the incoming call (and the
outbound call, if one is involved) as soon as the transfer is successfully
initiated. This means that the application is unable to detect the result of
the transfer request.
• Consultation (also referred to as supervised)—The application is detached
from the incoming call when the transfer process is successfully
completed. If the transfer process is unsuccessful, the application retains a
relationship with the call. In this way, the application is able to report
transfer failures.
• Bridge—The application is not detached from the incoming call. When the
transfer ends, control of the call always returns to the application,
regardless of the transfer result.
Whisper Transfer In addition, the whisper transfer feature enables the platform to delay
connection of the caller and called party after the transfer operation has been
performed.
Whisper transfer enables the platform to continue performing media operations
with the called party, and to transfer the call out later. Whisper transfer enables
the VoiceXML application developer to write an application that first consults
with the called party, to determine whether the called party will accept the
transferred call. If the called party accepts the call, the transfer proceeds. If the
called party rejects the call, the called party is disconnected, and the
VoiceXML application can return control to the original caller.

AT&T Transfer Types


AT&T Transfer Connect allows the platform to transfer the call to an agent by
using DTMF tones. GVPi and the NGI interact with the network by issuing
DTMF tones, and the network provides call-state and call-progress updates
through DTMF tones. Three transfer types are supported:

Deployment Guide 153


Chapter 3: How GVP Works How the Media Control Platform Works

• Courtesy Transfer—This transfer is equivalent to a Blind transfer. The


VoiceXML interpreter is disconnected as soon as the network receives the
agent number.
• Consult and Transfer—This transfer type is equivalent to a Blind or
Consultation transfer. The VoiceXML interpreter remains on the call until a
successful connection is established between the caller and the agent.
• Conference and Transfer—This transfer type is equivalent to a Blind or
Consultation transfer. Private communication between the VoiceXML
interpreter and the agent occurs while the caller is on hold.
• Bridge—The application is not detached from the incoming call. When the
transfer ends, control of the call always returns to the application,
regardless of the transfer result.

Note: The user must subscribe to AT&T Toll-Free Transfer Connect


Service to use the Courtesy Transfer method. The user calls the
toll-free number and the call lands on GVP.

Transfer Methods
To implement the requests for the different types of transfer at the telephony
layer, the Media Control Platform can use the following SIP transfer methods:
• HKF—Hookflash transfer, using DTMF digits (RFC 2833):
a. The Media Control Platform sends DTMF digits on the media channel
leaving it to the media gateway or switch to perform the transfer on the
network.
b. The call is disconnected by either the platform or the remote end,
depending on the setting of options that you can configure. Otherwise,
the call is disconnected after a configured timeout.
This is a one-leg transfer (in other words, it occupies only one channel on
the platform).
• REFER—Transfer is based on a SIP REFER message (RFC 3515):
a. The platform sends a REFER request to the caller, with the called party
(as specified in the VoiceXML application) in the Refer-To: header.
b. The transfer fails if a non-2xx final response is received for the REFER.
This is a one-leg transfer.
• BRIDGE—The Media Control Platform bridges the media path:
a. The platform sends an INVITE request to the called party, and a dialog is
established between the called party and the platform.
b. The transfer fails if a non-2xx final response is received for the INVITE
request.

154 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Media Control Platform Works

This is a two-leg transfer, or join-style transfer (in other words, it occupies


two channels on the platform). The platform stays in the signaling path and
is responsible for bridging the two call legs.
• REFERJOIN—Consultative REFER transfer (RFC 3891), also referred to as
REFER with replaces transfer:
a. The platform sends an INVITE request to the called party, and a dialog is
established between the called party and the platform.
b. The platform also sends a REFER request to the caller, with the called
party’s information in the Replaces header.
c. The platform treats the transfer as successful if it receives a BYE from
the caller after a 2xx response for the REFER.
d. The transfer fails if a non-2xx final response is received for the INVITE
request or the REFER request.
This is a two-leg transfer.
• MEDIAREDIRECT—Media redirection transfer. The Media Control Platform
uses SIP to handle call control between the caller and the called party, and
the RTP media channel is connected directly between the caller and called
party:
a. The platform sends an INVITE request to the called party, without SDP.
b. If the transfer is proceeding, the called party responds with a 200 OK
that includes an SDP offer.
c. The platform forwards the SDP offer in a re-INVITE request to the
caller.
d. The caller responds with a 200 OK that includes the SDP answer.
e. The platform forwards the SDP answer to the called party in an ACK
response.
f. The transfer fails if a non-2xx final response is received for the initial
INVITE request.
This is a two-leg transfer.

Transfer Method for NEC NEAX 61 Switch


The Media Control Platform supports the NEC61ISDN transfer method, which is
a single B channel Blind transfer over ISDN. This transfer method can be
specified in the VoiceXML application with the <transfer> type=blind
parameter and gvp:method=NEC61ISDN attribute (case insensitive).
In this case, the Media Control Platform uses the SIP REFER transfer method to
trigger the PSTN Connector to perform the transfer.

Transfer Methods for AT&T Transfer Connect


GVP supports AT&T Transfer Connect in-band and out-of-band signaling to
transfer call control information and data. through the PSTN Connector. To
implement the requests for AT&T transfers at the telephony layer, the Media

Deployment Guide 155


Chapter 3: How GVP Works How the Media Control Platform Works

Control Platform can use the following GVP transfer methods to perform
transfers:
• ATTCOURTESY, ATTCONSULT, ATTCONFERENCE—These inbound-call transfers
are treated like any other inbound transfer. The Media Control Platform
sends a request to the gateway to trigger the DTMF transfer, and the PSTN
Connector passes the transfer information to the network through Dialogic
ports:

ATTOOBCOURTESY—The PSTN Connector receives an outbound trigger
or request from the network through Dialogic ports:

The PSTN Connector sends an INVITE to the platform.

The platform initiates call setup and the PSTN Connector sends a
gc_AcceptCall message to the AT&T network.

When the call is established, the platform sends a 200 OK message to
the PSTN Connector.
 The PSTN Connector response with an ACK response and the two
way media session is established.

The platform sends a REFER message that includes the
X-Genesys-Transfer-Method=ATTOOBCOURTESY and the
X-Genesys-GVP-UUI custom headers to the PSTN Connector.

The PSTN Connector sends a 202 Accepted response to the platform
and then sends a FACILITY message to the network with the target
party number and UUI.
 After the network passes on the information to the target party, it
sends a FACILITY message to the PSTN Connector with the transfer
results (success or failure).

The PSTN Connector passes this information to the platform with a
NOTIFY message.

The call is disconnected on the PSTN side, and the platform issues a
BYE message to the PSTN Connector.
 The PSTN Connector responds with 200 OK, and the call is
released.

ATTOOBCONSULT—The PSTN Connector receives an outbound trigger or
request from the network through Dialogic ports:.
 The PSTN Connector sends an INVITE to the platform.

The platform initiates call setup the PSTN Connector sends a
gc_AcceptCall message to the network.

When the call is established, the platform sends a 200 OK message to
the PSTN Connector.
 The PSTN Connector response with an ACK response and the two
way media session is established.
 The platform sends a REFER message that includes the
X-Genesys-Transfer-Method=ATTOOBCONSULT and the
X-Genesys-GVP-UUI custom headers to the PSTN Connector.

156 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Media Control Platform Works


The PSTN Connector sends a 202 Accepted response to the platform
and then sends a FACILITY message to the network with the target
party number and UUI.

After the network passes on the information to the target party, it
sends a FACILITY message to the PSTN Connector with the transfer
results (success or failure).

The PSTN Connector passes this information to the platform with a
NOTIFY message (including the Return Code).

The platform responds with a 200 OK message.

The call is disconnected on the PSTN side, and the platform issues a
BYE message to the PSTN Connector.

The PSTN Connector responds with 200 OK, and the call is
released.

ATTOOBCONFERENCE—The PSTN Connector receives an inbound trigger
or request from the network through Dialogic ports:.
 The PSTN Connector receives an INVITE from the platform that
includes the X-Genesys-Transfer-Method=ATTOOBCONFERENCE and
X-Genesys-GVP-UUI custom headers, and the Call ID.

As the platform is initiating call setup, the PSTN Connector sends a
FACILITY message for redirection to the network that includes the
target party number and the UUI.

The network responds with a FACILITY ACK, and the PSTN
Connector sends a 180 Ringing message, followed by a 200 OK
message to the platform.
 The platform sends an RTCP JOIN packet which enables the PSTN
Connector to retrieve the caller on hold by sending a FACILITY
message to the network.

With the caller on hold, the PSTN Connector mutes the caller leg to
the platform and activates media on the agent leg to the platform,
and then enables whispering to the agent.
 The caller is taken off hold and the PSTN Connector mutes the
agent leg to the platform, and the activates media on the caller leg to
the platform.

When the transfer is completed successfully, the PSTN Connector is
connected to the target party and the FACILITY ACK from the
network indicates success.

The PSTN Connector disconnects the call as soon as the session
termination is received from the platform.
For a complete list of PSTN transfers and the supported VoiceXML transfer
types, see Table 6 on page 160.
The NGI and GVPi control the transfer method that is used, based on the value
that is specified for the method attribute in the VoiceXML application. If the
method is not specified, the default method for the applicable transfer type is
used. The default methods are configurable (in the sip.defaultblindxfer,

Deployment Guide 157


Chapter 3: How GVP Works How the Media Control Platform Works

sip.defaultconsultxfer, and sip.defaultbridgexfer configuration options).


In addition, configurable parameters enable you to specify whether the Media
Control Platform will use the BRIDGE or MEDIAREDIRECT method if one of the
other methods fails.
Because of the actual mechanisms that are involved, the SIP transfer methods
do not support all transfer types. Table 5 summarizes SIP transfer-method
support for the different types of transfer. Supported transfer methods are
configured by using the sip.transfermethods parameter in the Media Control
Platform Application.

Table 5: SIP Transfer Methods and Supported VoiceXML Transfer Types

SIP transfer Supported Notes


method transfer type

HKF • Blind • The DTMF digits are flash or other configured digits,
• Consultation followed by a phone number.
Whisper transfer • A different configured sequence of flash and digits can be
supported dialed to abort the transfer.

REFER • Blind • The default platform method for type=blind.


• Consultation • Transfer connect timeout is not supported.
• The platform can be configured to send an INVITE hold to
the caller.
• For type=consultation, the platform also supports the
NOTIFY method for notification of the transfer result. If the
transfer fails, the platform takes the original caller off
hold, and the VoiceXML application proceeds with the
caller.
Note: Transfer audio does not work with the method
REFER.
• The platform can be configured to send a BYE request to
the caller, or to wait for a BYE from the caller.
• For transfer requests from the Call Control Platform, the
Media Control Platform sends a REFER request to the Call
Control Platform, which throws a dialog.transfer event
to the CCXML application. The type attribute for the
event is always set to blind, whether the request from the
VoiceXML application was for a blind transfer or
consultation (supervised) transfer.

158 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Media Control Platform Works

Table 5: SIP Transfer Methods and Supported VoiceXML Transfer Types (Continued)

SIP transfer Supported Notes


method transfer type

BRIDGE • Blind • The default platform method for type=bridge.


• Consultation • Non-whisper transfers support the
• Bridge connectwhen=immediate attribute in the VoiceXML
application. If this value is specified, a one-way media
Whisper transfer path from the called party to the caller is established
supported before the call is connected.
• If specified in the VoiceXML application, the platform
can continue to support media operations (such as
handling DTMF grammars, ASR, transactional recording,
and playing transfer audio) during a bridge transfer.
• For transfer requests involving the Call Control Platform,
if the VoiceXML application uses a <send> tag to notify
the Call Control Platform about a bridge transfer request,
the Media Control Platform sends a SIP INFO message to
the Call Control Platform.

REFERJOIN • Blind • The default platform method for type=consultation.


• Consultation • The platform can be configured to send an INVITE hold to
Whisper transfer the caller.
supported • If the transfer fails, the platform takes the original caller
off hold, and the VoiceXML application proceeds with
the caller.
• The platform can be configured to send a BYE request to
the caller and then the called party, or to wait for a BYE
from the caller.
• For a whisper transfer, if the called party rejects the
transfer request, the platform sends a BYE to the called
party to disconnect the call.
• Non-whisper transfers support the
connectwhen=immediate attribute in the VoiceXML
application. If this value is specified, the media path is
established between the caller and the called party as soon
as the media session is ready.

Deployment Guide 159


Chapter 3: How GVP Works How the Media Control Platform Works

Table 5: SIP Transfer Methods and Supported VoiceXML Transfer Types (Continued)

SIP transfer Supported Notes


method transfer type

MEDIAREDIRECT • Blind • For a whisper transfer, a media channel is established


• Consultation between the called party and the Media Control Platform
for the consultative part of the transfer, if necessary.
• Bridge
Whisper transfer If the called party rejects the request, the platform sends a
supported BYE request to the called party to disconnect the call. The
media path and interaction between the platform and the
caller then resumes.
• If the caller disconnects during the transfer (that is, if the
platform receives a BYE), the platform sends a BYE to the
called party to disconnect the call.
• If the called party disconnects during the transfer, the
platform updates the caller’s media path back to the
platform, using a new re-INVITE if necessary.

Table 6: PSTN Transfers and Supported VoiceXML Transfer Types

PSTN SIP transfer method Supported Notes


transfers transfer type

AT&T Courtesy ATTCOURTESY • Blind • In-band and out-of-band transfers


Transfer ATTOOBCOURTESY are supported.
• User-to-User Information (UUI)
message in transfer is supported.

AT&T Consult ATTCONSULT • Blind • In-band and out-of-band transfers


Transfer ATTOOBCONSULT • Consultation are supported.
• UUI message in transfer is
supported for out-of-band only.
• Transfer audio is not supported.

AT&T ATTCONFERENCE • Blind • In-band and out-of-band transfers


Conference ATTOOBCONFERENCE • Consultation are supported.
Transfer • UUI message in transfer is
• Bridge
supported for out-of-band only.
Whisper transfer
supported • Whisper transfer is supported when
type=consultation.

160 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Media Control Platform Works

Table 6: PSTN Transfers and Supported VoiceXML Transfer Types (Continued)

PSTN SIP transfer method Supported Notes


transfers transfer type

Dialogic Bridge BRIDGE • Blind • UUI message in transfer is


Transfer • Consultation supported.
• Bridge
Whisper transfer
supported

Dialogic Blind REFER • Blind • UUI message in transfer is


Transfer supported
• When type=blind and
connectwhen=immediate the REFER
message is sent after the outbound
call receives alerting. For any other
combination, the REFER with
Replaces message is sent.

Single B NEC61ISDN • Blind • UUI message in transfer is


Channel supported.
Transfer over
ISDN (for NEC
NEAX 61
switch)

Two-B Channel REFERJOIN • Blind • UUI message in transfer is


Transfer • Consultation supported.
(TBCT)
Whisper transfer • When type=blind and
supported connectwhen=immediate the REFER
message is sent after the outbound
call receives alerting. For any other
combination, the REFER with
Replaces message is sent.

Release Link REFERJOIN • Blind • UUI message in transfer is


Trunk (RLT) • Consultation supported.
Transfer
Whisper transfer • When type=blind and
supported connectwhen=immediate the REFER
message is sent after the outbound
call receives alerting. For any other
combination, the REFER with
Replaces message is sent.

Deployment Guide 161


Chapter 3: How GVP Works How the Media Control Platform Works

Table 6: PSTN Transfers and Supported VoiceXML Transfer Types (Continued)

PSTN SIP transfer method Supported Notes


transfers transfer type

Explicit Call REFERJOIN • Blind • UUI message in transfer is


Transfer (ECT) • Consultation supported.
Whisper transfer • When type=blind and
supported connectwhen=immediate the REFER
message is sent after the outbound
call receives alerting. For any other
combination, the REFER with
Replaces message is sent.

Q Signaling REFERJOIN • Blind • UUI message in transfer is


(Q.SIG) • Consultation supported.
Transfer
Whisper transfer • When type=blind and
supported connectwhen=immediate the REFER
message is sent after the outbound
call receives alerting. For any other
combination, the REFER with
Replaces message is sent.

Table 7: PSTN Connector- and NGI-supported Transfers

PSTN gvp:method type gvp:connectwhen Whisper UUI


Connector attribute attribute attribute transfer support
transfer support

Bridge BRIDGE blind / immediate / answered Yes Yes


consultation /
bridge

Hookflash REFERJOIN blind / N/A Yes Yes


consultation

AT&T Courtesy ATTCOURTESY blind N/A No Yes


Transfer (inband)

AT&T Consult and ATTCONSULT blind / N/A No No


Transfer (inband) consultation

AT&T Conference ATTCONFERENCE blind / N/A Yes No


and Transfer consultation /
(inband) bridge

AT&T Courtesy ATTOOBCOURTESY blind N/A No Yes


Transfer
(out-of-band)

162 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Media Control Platform Works

Table 7: PSTN Connector- and NGI-supported Transfers (Continued)

PSTN gvp:method type gvp:connectwhen Whisper UUI


Connector attribute attribute attribute transfer support
transfer support

AT&T Consult and ATTOOBCONSULT blind / N/A No Yes


Transfer consultation
(out-of-band)

AT&T Conference ATTOOBCONFERENCE blind / N/A Yes Yes


and Transfer consultation
(out-of-band)

Single B channel NEC61ISDN blind N/A No Yes


blind transfer over
ISDN for NEC
NEAX 61 switch

Two B-Channel REFERJOIN blind / immediate / answered Yes Yes


Transfer (TBCT) consultation

Release Link REFERJOIN blind / immediate / answered Yes Yes


Trunk Transfer consultation
(RLT)

Explicit Call REFERJOIN blind / immediate / answered Yes Yes


Transfer (ECT) consultation

Q.SIG Call REFERJOIN blind / immediate / answered Yes Yes


Transfer and Path consultation
Replacement

Notes: REFERJOIN is “REFER with Replaces”.


For TBCT/RLT/ECT/QSIG transfer with REFERJOIN:
• type=blind; connectwhen=immediate. The REFER is sent after the
Outbound call receives alerting.
For any other combination, the “REFER with Replaces” is sent after
the Outbound call gets connected.

Implications of Transfer Method–Transfer Type Combinations


In addition to offering varying levels of support for features such as whisper
transfers and connection timeouts, the different combinations of SIP methods
and VoiceXML transfer types can result in scenarios that can have significant
implications for metrics, for general component activity logs, and, therefore,
for GVP Reporting.

Deployment Guide 163


Chapter 3: How GVP Works How the Media Control Platform Works

IPv6 Support in Inbound and Outbound Transfers


The Media Control Platform supports IPv4 and IPv6 when performing
transfers. Transfers that create outbound calls are created independent of the IP
version that is used on the inbound call, and follow the same rules as specified
for a single outbound call. However, due to the nature of SDP negotiation, the
MediaRedirect SIP transfer method might not work if both the inbound and
outbound calls are using different IP versions.

Conferencing
In essence, conferencing is a special type of bridge transfer. The Media Control
Platform supports conferencing in NETANN format and through MSML
dialogs. The Conference application module handles calls and manages call
interactions with the conference bridge for NETANN and MSML
conferencing.
NETANN Calls join a conference directly, by specifying the conference-bridge identifier
(conference ID) in the SIP Request-URI in NETANN format:
sip:conf=<conf ID>@host.com
Platform-level configuration options (in the conference configuration section)
support standard NETANN conference requirements, such as configurable
participant roles (talk-only, listen-only, or full duplex), audio-gain parameters,
and the video-output algorithm (first, loudest, or no video).
MSML Calls join a conference directly, by specifying the conference bridge identifier
(conference ID) in the SIP Request-URI in the MSML dialog:
sip:msml=conf-ID@<RM-IPaddress>
Platform-level configuration options (in the conference configuration section)
support standard MSML conference requirements, by providing different roles
for each MSML conference leg, such as regular, agent, coach, monitor, push-,
or pull-all, and by providing MSML video conferencing.

Debugging VoiceXML Applications


The NGI interfaces with the debug client GUI that is part of Genesys
Composer.
If the real-time debugger is enabled (in the vxmli.debug.enabled configuration
option), information about calls is passed between the NGI and the debugger
client in SIP INVITE and 18x messages.
The debugger can skip or step through the NGI execution, execute JavaScript
snippets, provide information about currently executing elements, and change
some of the parameters for the elements being executed.
The NGI can also save to the file system all the information related to the
transactions of a call. This feature is helpful for debugging both platform
operations and VoiceXML applications.

164 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Call Control Platform Works

HTTP Basic Authentication


The Media Control Platform’s NGI supports a username and password for
HTTP Basic Authentication. A GVP extension attribute of the <data> element
takes an ECMAScript expression and evaluates it to a string. The interpreter
then passes these values to the Fetching Module as the username and password
authentication.

How the Call Control Platform Works


This section provides information about the following topics, to explain how
the Call Control Platform performs its role in a GVP deployment:
• Operational Overview
 Incoming Connections

Outgoing Connections on page 167
• Device Profiles on page 168

Operational Overview
The Call Control Platform receives requests for call-control or conference
services for incoming connections from the Resource Manager, in the form of
SIP INVITE messages. The platform can conference, transfer, or redirect calls
by using other kinds of SIP messages (see “Transfers” on page 153). The
platform can also initiate outbound calls by sending SIP INVITE requests either
through the Resource Manager or directly to the destination.
The platform can also receive requests for CCXML sessions directly from an
external HTTP client.
For more detailed information, see the Genesys Voice Platform 8.1 CCXML
Reference Manual.

Incoming Connections
The Call Control Platform handles service requests for incoming connections
in a typical call flow, as follows:
1. The Call Control Platform receives a SIP INVITE from the Resource
Manager.
2. The Call Control Platform assigns a device profile to the connection. For
more information about device profiles, see “Device Profiles” on page 168.
3. The Call Control Platform can accept, reject, join, or redirect the
connection. Configuration options enable you to customize some of the
SIP responses that the Call Control Platform sends to the Resource

Deployment Guide 165


Chapter 3: How GVP Works How the Call Control Platform Works

Manager for the events. For more information, see the section about
customizing SIP responses in the Genesys Voice Platform 8.1 User’s
Guide.
4. For connections that it accepts, the Call Control Platform sends an
HTTP/HTTPS or file retrieval request to the Fetching Module to fetch the
initial page.

Because the Resource Manager has modified the SIP request by
inserting service prerequisites for the IVR Profile, the SIP Request-URI
includes a ccxml parameter, which specifies the URI of the initial page
of the required CCXML application.

If the Request-URI from the Resource Manager does not include an
initial page URI, or if the Call Control Platform is being used in a
deployment without the Resource Manager, the Call Control Platform
uses the default that has been configured for the platform (in the
ccpccxml.default_uri configuration option).
 Call Control Platform HTTP requests comply with HTTP 1.1. For
HTTPS, the Call Control Platform supports HTTP over Secure Socket
Layer (SSL) 3.0 and HTTP over TLS.

The HTTP/HTTPS fetch method (get or post) depends on whether the
method parameter was specified in the SIP Request-URI. The default is
get.

The following parameters are also supported in the HTTP/HTTPS
fetch:
 namelist—A list of ECMAScript variables whose values are
submitted as part of the request.

enctype—The encoding type to be used for namelist data, if the
method is post. The only supported value is
application/x-www-form-urlencoded.
For both get and post methods, namelist variables must be encoded in
the URI query string in the form url-encoded format (as described in
the HTML 4.01 specification). If the get method is used, the namelist
variables are appended after a question mark (?).
5. The CCXMLI compiles and interprets the initial page, and all subsequent
pages, so that the Call Control Platform can execute the application.
A CCXML page may transition to another page as it is executed, but
only one page is executed at a time.

The CCXML session may create and interact with other entities:

Connections (other SIP sessions)
Dialogs (VoiceXML sessions)

Conferences

Other CCXML sessions

166 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Call Control Platform Works


To improve performance, the Call Control Platform enables the root
page of the initial page to be cached. Caching is not relevant for the
initial page itself, or for other pages, because CCXML application
pages are session-specific. For more information about how the
Fetching Module caches pages, see “Caching” on page 170.

The Call Control Platform supports receiving DTMF events in SIP
INFO messages, and it propagates the events and data to the CCXML
application and other connections.
6. The Call Control Platform uses the Media Control Platform to provide
bridging, conference, and transcoding services. It may also perform
implicit conferencing and transcoding if the endpoints of a connection do
not have the required bridging capabilities or support the required codecs.
The Call Control Platform obtains these services by sending SIP requests
through the Resource Manager.
Dialog-initiated transfers between CCXML sessions, or between CCXML
and VoiceXML sessions, are application driven, with the SIP messaging
going through the Resource Manager in SIP INFO messages. For more
information about transfers, see “Transfers” on page 153.
7. For each CCXML session, the Call Control Platform generates call-detail
records, which it sends to the Reporting Server. For information about the
CDR attributes, see “CDR Reporting” on page 194.
8. For each CCXML session, the Call Control Platform sends logs and
metrics (CCXML application event logs) to the log sinks and, from there,
to the Reporting Server.
For more information about metrics, see “Metrics” on page 192. For
descriptions of the Call Control Platform metrics, see the Genesys Voice
Platform 8.1 Metrics Reference.

Note: In GVP 8.1, the Call Control Platform supports Operational


Reporting (OR).

9. If it is configured to do so (see the description of the ccxmli.debug.data.*


and ccxmli.platform.save.* parameters), the Call Control Platform
captures fetch data for CCXML and ECMAScript files, to aid in debugging
CCXML applications.

Outgoing Connections
The Call Control Platform can place outbound calls by starting a new CCXML
session, if it receives a session creation request directly from an HTTP client.
Alternatively, it can place an outbound call within the context of an existing
session.
The CCXML application uses the <createcall> tag to create the connection,
and it specifies the destination of the call (in the dest attribute) as a SIP URI.

Deployment Guide 167


Chapter 3: How GVP Works How the Call Control Platform Works

The value of the dest attribute is used in the Request URI that the Call Control
Platform sends to the Resource Manager to place the call. The Resource
Manager, in turn, forwards the request either to another SIP Proxy that has
been configured in a route set for the Call Control Platform, or to the SIP
Server.

Note: You can override the default outbound proxy configured in the route
set by specifying an outboundproxy hint in the CCXML <createcall>
tag.

If an outbound call (connection or conference leg) is not joined to any call and
the user does not set the caller information, the caller URI is configurable.

Device Profiles
The Call Control Platform interacts with a variety of SIP devices, all of which
have different characteristics and features. The concept of a device profile
enables the Call Control Platform to interact with a wide range of devices,
even though they might differ in the way they support SIP.
The device profile defines a number of properties that describe the SIP and
SDP capabilities of a class of devices. The Call Control Platform uses a device
profile when it performs call-control operations (for example, <join> and
<accept>). The Call Control Platform assigns a device profile to any SIP
device with which it interacts. The properties of the device profile then govern
how the Call Control Platform interacts with the SIP device.
Device-Profile The properties of the various device profiles are defined in a text file in the
Configuration File Call Control Platform config directory (<Call Control Platform Installation
Directory>\config\ccpccxml_provision.dat). For more information about the
properties that are defined for CCXML device profiles, see the section about
configuring device profiles in the Genesys Voice Platform 8.1 User’s Guide.
Assigning Device The Call Control Platform assigns device profiles, as follows:
Profiles
• Incoming connections—The Call Control Platform tries to match the SIP
header from the incoming SIP INVITE with the value of the SIP Header
Name property that is defined in the device profile configuration file, using
the order of precedence that is also specified in the configuration file. (By
default, the SIP header that the platform looks for is User-Agent.) If it
cannot match the SIP header, the Call Control Platform uses the Default
Inbound profile that has been provisioned (see “Default Device Profiles”).
• Outbound connections, dialogs, and conferences—The Call Control
Platform matches CCXML hints with the value of the Device Profile Name
property that is defined in the device profile configuration file. If it cannot
match the hint, the Call Control Platform uses the Default Outbound,
Default Dialog, or Default Conference profile that has been provisioned
(see “Default Device Profiles”).

168 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Fetching Module Works

Default Device By default, VP Call Control Platform 8.1 is provisioned with the following
Profiles device profiles for SIP devices, by order of precedence:
• Dialogic Media Gateway
• Cisco Gateway
• Audiocodes Gateway
• Convedia Media Server
• X-Lite
• Brooktrout Snowshore
• GVP MCP
• Audiocodes MP 104
• eyeBeam
• Kapanga
• Default Inbound
• Default Outbound
• Default Conference
• Default Dialog
For the property values that have been defined for the preprovisioned device
profiles, see the Genesys Voice Platform 8.1 User’s Guide.
If your deployment uses SIP devices that are not adequately represented by the
default device profiles, you must either provision additional device profiles or
modify an existing device profile. For more information, see the section about
configuring device profiles in the Genesys Voice Platform 8.1 User’s Guide.

How the Fetching Module Works


The Media and Call Control Platforms use the Fetching Module to fetch
documents and perform caching. The Fetching Module maintains a
high-performance in-memory cache and interfaces with the on board Squid
Caching Proxy.

Note: In GVP 8.1.2 and later releases, the Fetching Module is integrated
with the Media and Call Control Platforms and is no longer a separate
component, and Squid is now an optional component.

This section provides information about the following topics, to explain how
the Fetching Module and the Squid Caching Proxy perform their role in a GVP
deployment:
• Caching

Non-HTTP/1.1-Compliant Caching

HTTP/1.1-Compliant Caching

Deployment Guide 169


Chapter 3: How GVP Works How the Fetching Module Works


Squid Configuration File on page 174

Squid Log Files on page 174

Logging and Reporting on page 190

Caching
Unlike visual browsers, there are no end-user controls in the VoiceXML
interpreter (the NGI) context to enable stale content to be updated or refreshed.
Instead, the VoiceXML document itself enforces cache refreshes, through
appropriate use of the maxage and maxstale attributes. However, these attributes
interact with other proxy settings and HTTP cache-control mechanisms at
various levels, as described in the following subsections.

Note: The legacy VoiceXML interpreter, GVPi, does not use the Fetching
Module to fetch documents or perform caching; instead it uses the
Page Collector module. For a description of how the Page Collector
fetches and performs caching, see “Page Collector Caching” on
page 68.

Non-HTTP/1.1-Compliant Caching
The Fetching Module caches documents in-memory, in accordance with
configurable maximum age and URL substring parameters (the
iproxy.cache_max_age, iproxy.cache_error_max_age, and
iproxy.no_cache_url_substr configuration parameters).
The GVP 8.1.1and earlier 8.x versions of the Fetching Module are not
HTTP/1.1-compliant, and should be used carefully. If you require strict
compliance in your deployment and upgrading to GVP 8.1.2 is not an option,
set the iproxy.cache_max_age and iproxy.cache_error_max_age parameters to
0, so that this in-memory caching is turned off.

HTTP/1.1-Compliant Caching
The GVP 8.1.1 and earlier 8.x releases of the Fetching Module use a caching
proxy (Third-Party Squid) for HTTP/1.1-compliant caching. Although the
caching proxy generates HTTP/1.0 requests, it supports HTTP/1.1 caching
functionality.
In GVP 8.1.2, the Fetching Module is integrated with the Media Control and
Call Control Platforms and is HTTP/1.1-compliant. In addition, the Squid
Caching Proxy is optional.
The caching policies of the VoiceXML interpreter context adhere to the
cache-correctness rules of HTTP/1.1. In particular, the Expires and
Cache-Control headers are honored.

170 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Fetching Module Works

Caching Policies
• The application server maintainer/content provider can provide guidelines
for content expiry by using the Cache-Control and Expires HTTP response
headers.
• If these headers are not present, the Fetching Module (or, in GVP 8.1.1 and
earlier 8.x releases, Squid) uses heuristics to generate expiry times.
• The application developer can control the caching behavior of application
resources, by using the maxage and maxstale attributes for each URI-related
VoiceXML tag. This behavior includes forcing a validation of the current
cache contents (using maxage), and accepting expired cache contents (using
maxstale).
• The platform maintainer can control cache-resource usage through the
Media Control Platform or Call Control Platforms (or, in GVP 8.1.1 and
earlier 8.x releases, Squid) configuration.

Caching Behavior
The primary effect of the caching policies is that the client has control over
what it will accept from the cache, even if the server has specified an Expires
header or maxage/maxstale attributes, or if the caching proxy has generated an
expiry time itself.
• Documents from the web server will be delivered with none, one, or both
of the response headers.
• If an Expires header is present, it is used to set the expiry time of the object
in the cache.
• If the Expires header is not present, Squid applies a heuristic to set an
expiry time.
• If a Cache-Control header is present in the response, it is used to control
expiration times, and it overrides an Expiry time if it is specified.

Note: If the policy requires a fetch from the server, it is an optimization to


perform a get if modified (the request includes an If-Modified-Since
[IMS] header) on a document that is still present in the cache. Squid
performs this optimization.

maxage and maxstale


VoiceXML enables the application developer to control caching policy for
each use of each resource.
The application developer can specify maxage and maxstale attributes for each
resource-related element. These attributes provide fine-grained control over

Deployment Guide 171


Chapter 3: How GVP Works How the Fetching Module Works

when documents are returned from the cache, and when they are fetched from
the origin server. For example:
• Setting maxage to a nonzero value means that the Fetching Module (or, in
GVP 8.1.1 and earlier 8.x releases, Squid) might be forced to get a fresh
copy of a resource that may not yet have expired in the cache. Setting
maxage to zero (0) means that Squid is unconditionally forced to get a fresh
copy.
• Using maxstale enables the application developer to specify that an expired
copy of a resource that is not too stale (according to the rules of HTTP/1.1)
can be used. This can improve performance by eliminating a fetch that
would otherwise be required to get a fresh copy. This is especially useful
for application developers who might not have direct server-side control of
the expiration dates of large static files.

Notes: Like other caching proxies that support maxage and maxstale, the
Fetching Module (or, in GVP 8.1.1 and earlier 8.x releases, Squid) does
not delete items from the cache after their expiry time, unless other
cache requirements (such as memory or disk-usage limits) dictate such
action. The reason for this is that the client might specify that an
expired resource is acceptable.
Some resources may be addressed by URIs that name protocols other
than HTTP, and that do not support the maxage and maxstale attributes.
If the protocol does not support the concept of resource age, the
interpreter context computes the age of a resource from the time that it
was received. If the protocol does not support the concept of resource
staleness, the interpreter context treats the resource as having expired
immediately upon receipt.

The maxage and maxstale attributes interact with server-provided expiry times
to produce a variety of caching behaviors. Table 8 describes some sample
behaviors.

172 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Fetching Module Works

Table 8: Using maxage and maxstale Attributes

Desired behavior maxage maxstale Notes

Client control over <desired_expiry> 0 • Caching is based on the Expires


expiry header.
• Refetch is based on maxage and
maxstale.
• Uses IMS.

Expired document <large_value> <desired_maxstale> • Caching is based on the Expires


acceptable header.
• Refetch occurs after Expiry time
plus maxstale.
• Uses IMS.

maxage, maxstale, and the Initial Page


For the initial page request, the GVP session ID is submitted as part of the
URL. Because this ID is unique, the requested URL appears unique; therefore,
the maxage and maxstale parameters have no meaning for that page. However,
they do have meaning for the initial root page.
Configuration parameters vxmli.initial_request_maxage and
vxmli.initial_request_maxstale in the Media Control Platform set the values
of the maxage and maxstale parameters for the initial root page. For both
parameters, the default value is -1 (undefined).

Determining Expiry Time


Web servers may or may not return an Expires response header to the client.
• If the Web server does return an Expires response header, this expiry time
is used in the cache refresh algorithm.
• If, instead, the Web Server provides expiration information as part of a
Cache-Control header (using maxage/maxstale), this information will be
used to control cache expiry.
Expiration Model The Fetching Module (or, in GVP 8.1.1 and earlier 8.x releases, Squid) uses a
refresh-rate model, instead of a time-based expiration model. Objects are not
purged from the cache when they expire. Instead of assigning a time to live
when the object enters the cache, the Fetching Module checks freshness
requirements when objects are requested:
• If an object is fresh, it goes directly to the client.
• If an object is stale, an If-Modified-Since request is made and sent to the
web server.

Deployment Guide 173


Chapter 3: How GVP Works How the Fetching Module Works

For information about how to use HTTP caching to improve performance, see
Appendix G on page 471.

Squid Configuration File


The Squid configuration file (C:\squid\etc\squid.conf [Windows], or
<Directory>/etc/squid/squid.conf [Linux]) controls configuration of the
caching proxy. The configuration file is a text file that contains pairs of
keywords and values (with no equal sign [=] between them). For example, the
following pair defines port 3128 as the TCP port that the caching proxy will use
for receiving requests:
http_port 3128
In general, the default Squid configuration file should be suitable for most
installations. However, you might need to modify it for the following reasons:
• You need to configure for a second-level proxy.
• You cannot configure your Web Server to deliver Expires headers, and you
want to change the Squid defaults for the expressions that Squid tries to
match in SIP request-URI headers to control refresh behavior.
• You need to configure nonstandard “safe” ports or SSL ports for HTTP and
SSL.
For more information about modifying the Squid configuration file, see the
section about configuring the Squid caching proxy in the Genesys Voice
Platform 8.1 User’s Guide.
For detailed information about all Squid configuration items, see the Squid
Configuration Guide at http://squid.visolve.com/squid24s1/contents.htm.
Changes to the Squid configuration file do not take immediate effect in the
running configuration.

Squid Log Files


The caching proxy logs can provide useful information to help you identify
performance issues or resolve VoiceXML or CCXML application problems.

Access Logs
The Squid access.log file is in the following location:
C:\squid\var\logs\ (Windows) or /var/log/squid (Linux).
The access log contains one entry for each HTTP (client) request and each
Inter-Cache Protocol (ICP) Query. HTTP requests are logged when the client
socket is closed. The native access.log file has ten fields. A single hyphen (-)
indicates unavailable data.
For detailed information about the fields in the Squid access.log file, see the
caching reference information appendix in the Genesys Voice Platform 8.1
User’s Guide.

174 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the MRCP Proxy Works

For information about how to schedule log rotations and manage the cache
manually, see “Managing the Cache” on page 316.

How the MRCP Proxy Works


This section provides information about the following topics, to explain how
the MRCP Proxy (MRCPP) Server performs its role in a GVP deployment:
• Operational Overview
• Resource Management
• High Availability on page 176
• Data Collection and Logging on page 176

Operational Overview
MRCP Proxy accepts client requests (from Media Control Platform) and sends
requests to ASR and TTS speech servers by using MRCPv1.
MRCP Proxy also supports a subset of RTSP over persistent TCP connections
for client or server interactions. MRCPv1 does not require full support of
RTSP, therefore, SETUP, TEARDOWN, DESCRIBE, and ANNOUNCE requests only are
supported.

Resource Management
MRCP Proxy obtains a list of MRCPv1 resources from Management
Framework to maintain an up-to-date picture of the resource pool. ASR and
TTS speech server are added as connections in the MRCP Proxy Application
object and become the resource access point. The MRCP Proxy uses the
information that is configured in the provision section of the speech resource
Application object to determine how the requests for resources will be routed.

Resource Load MRCP Proxy supports round-robin load balancing for eligible speech
Balancing resources in the deployment. Eligibility is determined in the following manner:
• MRCP Proxy sends ping messages (RTSP DESCRIBE) regularly to the speech
resources.
• If the ping fails, the speech resource is isolated and set to the unavailable
state. Requests are not routed to that resource until the resource becomes
available.
The time between ping requests is controlled by the
provision.vrm.proxy.ping_interval parameter in the ASR or TTS
resource configuration option.
• Only the speech resources with the engine name (for example,
provision.vrm.client.resource.name) that are requested by the Media
Control Platform are considered for matching.

Deployment Guide 175


Chapter 3: How GVP Works How the MRCP Proxy Works

Resource and The MRCP Proxy receives and processes periodic updates from Management
Application Framework for its configured Application objects and resources in the
Updates following way:
• If it receives an update from the Management Framework for its own
Application object, all changes to the vrmproxy.timeout.* parameters are
accepted and the MRCP Proxy uses the new timeout values.
• If it receives an update that a new connection is added to its Application
object, and the connected object is identified as an ASR or TTS resource,
the resource is added to its resource pool.
• If it receives an update that an existing connection is deleted from the its
Application object, and the connected object is identified as an ASR or
TTS resource, the resource is deleted from the resource pool.
• If it receives an update that the provision section of an ASR or TTS
resource object has changed, it takes effect immediately.

High Availability
MRCP Proxy can be deployed in HA warm active–standby mode. Two servers
are required for this configuration—one configured as the primary server and
the other as the backup server. Management Framework’s Solution Control
Server determines which server is active and which is on standby at any given
time.
The standby MRCP Proxy puts itself into suspended mode and does not submit
data to the Reporting Server nor does it respond to incoming RTSP requests;
only the active server performs these functions.
When failover occurs, the existing TCP connections are terminated and all of
the existing ASR/TTS sessions are lost. In addition, when the standby machine
becomes active, the peak ASR and TTS usage counter is reset to zero.

Data Collection and Logging


MRCP Proxy uses the Operational Reporting (OR) interface to send ASR and
TTS usage data to the Reporting Server in real time. It submits the following
usage information:
• ASR and TTS peak data for a specific speech resource
• ASR and TTS arrival data for a specific speech resource
• ASR and TTS peak data for a specific tenant
• ASR and TTS arrival data for a specific tenant
• ASR and TTS peak data for a specific IVR Profile
• ASR and TTS arrival data for a specific IVR Profile
• ASR and TTS peak data for the entire deployment

176 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Supplementary Services Gateway Works

MRCP Proxy reports ASR and TTS usage data for tenants, IVR Profiles, or the
entire deployment. The MRCP Proxy receives the tenant and profile
information from the Media Control Platforms for each speech resource
request. This information is sent to the Media Control Platform originally from
the Resource Manager, based on the tenant/profile mapping.

Support for Multiple Speech Servers


MRCP Proxy supports Primary and Backup speech server lists, based on the
configuration.
• MRCP Proxy will route the request to one of the primary speech servers in
round-robin fashion.
• If none of the speech servers listed in the primary group is available, then
MRCP Proxy will route the request to one of the backup speech servers.
MRCP Proxy supports connecting Speech Servers in the connection tab. See
the procedure “Adding a Speech Server as Primary or Backup” on page 272.

How the Supplementary Services Gateway


Works
This section provides information about the following topics, to explain how
the Supplementary Services Gateway (SSG) performs its role in a GVP
deployment:
• Operational Overview
• Requests and Responses on page 178
• Asynchronous Result Notifications on page 182
• Call Initiation Through SIP Server on page 183
• Call-Progress Detection on page 183
• Port-Availability Notifications on page 185
• Persistent Storage on page 186
• Processing Requests on page 186
• Database Cleanup on page 188

Operational Overview
The Supplementary Services Gateway receives requests for outbound-call
initiation from third-party Trigger Applications (TA). The requests are
validated and placed in persistent storage in the Supplementary Services
Gateways external database. If the outbound call succeeds (or fails after
specified number of retries), the Supplementary Services Gateway notifies the

Deployment Guide 177


Chapter 3: How GVP Works How the Supplementary Services Gateway Works

trigger application with a result notification URL in the form of an HTTP


request (which the trigger application includes in the call initiation request).
Embedded HTTP • The Supplementary Services Gateway has an embedded HTTP server
Server which communicates with the trigger application to service HTTP GET,
POST, and DELETE requests.
The embedded HTTP server supports both HTTP and HTTPS over Secure
Socket Layer version 1 (SSLv1), SSL version 2 (SSLv2), and Transport
Layer Security version 1 (TLSv1).
The default page or identifier for the embedded HTTP server is SSG, and is
configured in Genesys Administrator with the HTTPDefaultPage parameter
in the http section of the Supplementary Services Gateway Application
object. HTTP or HTTPS URIs targeted for the Supplementary Services
Gateway use the following format:
http(s)://<ssg host>:<http/https port>/SSG?...

Secure • The Supplementary Services Gateway also supports HTTPS for secure
Communications communication.
Outbound-Call • When the Supplementary Services Gateway receives an HTTPS POST
Establishment trigger from the trigger application with CreateRequest in the body, it
initiates an outbound call by sending a TMakePredictiveCall request to SIP
Server. SIP Server establishes two call legs; one to Media Control Platform
through the Resource Manager and one to the external party. The call legs
are then bridged, which invokes a third-party call-control scenario.
Requests for • When the request reaches the Resource Manager it is treated like any other
Service request for service within GVP. The Resource Manager determines the
type of service and application profile that will be used to fulfill the request
and sends it to the Media Control Platform, which then provides the
media-centric services for the Supplementary Services Gateway—
specifically VoiceXML applications. See also, “Call Initiation Through
SIP Server” on page 183.
Component • Like all other GVP components the Supplementary Services Gateway is
Management managed (stopped, started, or restarted) and monitored by the Genesys
Administrator web interface. It also receives configuration and
provisioning information from the Configuration Server.

Requests and Responses


The Supplementary Services Gateway and the trigger application use the
HTTP request/response standard used in server/client environments. The
Supplementary Services Gateway sometimes acts as the server and sometimes
as the client, depending on whether it is requesting or providing information.
(See “Supplementary Services Gateway Interfaces” on page 70).
This section describes the following types of requests and the corresponding
responses:

178 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Supplementary Services Gateway Works

• Create Requests on page 179


• Query Status Requests on page 181
• Cancel Requests on page 182

Create Requests
The Supplementary Services Gateway receives HTTP triggers from the trigger
application for single and bulk outbound-call requests. The call triggers
include a Token which uniquely identifies the trigger application submitting
the request. The Supplementary Services Gateway responds to these call
triggers by generating a RequestID and managing the status of outbound-call
requests.

Outbound Requests—HTTP POST


TAs use the HTTP POST method to submit outbound-call requests to the
Supplementary Services Gateway. HTTP POST is used to create, query, and
cancel requests. The body of a single POST can contain a single CREATE, QUERY,
or CANCEL request, multiple (bulk) CREATE, QUERY, or CANCEL requests, or any
combination of all three requests. The Supplementary Services Gateway does
not impose a limit on the size of an HTTP POST request.
Request Validation The Supplementary Services Gateway validates each HTTP POST request sent
from the TAs based on the following criteria:
• The body of each HTTP POST request must conform to the schema that is
defined for the HTTP POST method.
• Each POST request must include the TenantName parameter in the query
string of the POST Request URI—for example,
<host>:9800/SSG?TenantName=<Tenant_Name>
• The Content-Type for each request must be text/XML or application/XML.
If the POST request meets this criteria, it is validated and added to the
Supplementary Services Gateways persistent storage (an external database).
Request After validation, the Supplementary Services Gateway parses the XML data in
Acceptance the POST request body and generates the a unique identifier (RequestID) for
each request. The RequestID is stored in the Supplementary Services Gateways
database along with the request. The Supplementary Services Gateway sends
the RequestID and Token back to the trigger application to indicate that the
request has been accepted and simultaneously processes each request in
storage. A detailed description of this process is described in “Basic
Outbound-Call Flow” on page 482.
Each HTTP POST request must adhere to the XML schema. The CreateRequest
part of the POST body must include certain mandatory attributes, such as:
Token, IVRProfileName, Telnum, NotificationURL, MaxAttempts, and
TimeToLive. See the following example,

Deployment Guide 179


Chapter 3: How GVP Works How the Supplementary Services Gateway Works

<CreateRequest Token="Token" MaxAttempts="2" TimeToLive="123s"


IVRProfileName="Application" Telnum="9884719189"
NotificationURL="http://182.123.12.12/DIR/OutURL.xml"
Ani="12345"></CreateRequest>
For a detailed description of the attributes of the CreateRequest, see the
Genesys Voice Platform 8.1 User’s Guide.

Responses to Outbound Request—HTTP 200 OK


In most cases, the Supplementary Services Gateway responds to requests from
the trigger application with HTTP 200 OK responses. The response section of
the 200 OK message can contain single or bulk requests, depending on whether
the POST (to which it is responding) is a single or bulk request. The response
contains the RequestID, the Token, and the request result (success or failure)
which is in a format defined by the XML response schema. For more
information about the XML response schema, see the Genesys Voice
Platform 8.1 User’s Guide.
Success and The Supplementary Services Gateway generates responses to indicate success
Failure Response or failure, based on the following methods of validation:
Types
• If a request is successful, the response sent to the trigger application
includes the RequestID and Token for the request, or for each request
within the bulk request with a SUCCESS response type. The trigger
application must include the RequestID in any further requests (such as,
status querying or request cancellation).
• If a request fails during request validation or when it is being stored in the
external database, a FAILURE response type is sent within the 200 OK
response, along with the Token, a Reason Code, and Reason. See the
following SSGResponse part of a 200 OK bulk response:
<SSGResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ResponseElement ResponseType="SUCCESS" Token="T1001"
RequestID="123435"/>
<ResponseElement ResponseType="SUCCESS" Token="T1002"
RequestID="123436"/>
<ResponseElement ResponseType="FAILURE" Token="T1003"
ReasonCode="120" Reason="DB Insertion failed"/>
</SSGResponse>
• If parsing or validation fails for a bulk POST request, the entire request fails
and the Token is not passed back to the trigger application. However, if it is
parsed and validated successfully, but later encounters an operational error,
(for example, a request fails when it is added to the database) the bulk
response contains a mix of SUCCESS and FAILURE response types and the
Tokens for each request are passed back to the TA.
• If a POST request contains a mixture of CREATE, QUERY, and CANCEL
requests, and the number of database records is approaching the maximum
during processing, the Supplementary Services Gateway inserts them into
the database until the maximum threshold is reached and then, executes the

180 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Supplementary Services Gateway Works

QUERY and CANCEL requests. The Supplementary Services Gateway sends a


FAILURE response for the remaining requests with a Reason Code, and
Reason.
The Supplementary Services Gateway also generates HTTP 500 responses to
indicate internal errors. For a detailed description of the attributes of the
SSGResponse part of the response and a complete list of status codes in the
response, see the Genesys Voice Platform 8.1 User’s Guide.

Query Status Requests


The trigger application uses two methods to query the status of previously
submitted requests that are stored in the Supplementary Services Gateway
database: HTTP GET for a single query and HTTP POST for single or bulk
queries. When the trigger application sends GET or POST query requests, they
must contain the RequestID and TenantName parameters. The request is passed
on in the HTTP GET query string, or in the body of the HTTP POST request. In
the HTTP POST query request, the Content-Type must be text/xml or
application/xml and must conform to the Supplementary Services Gateway
XML schema.
Responses to The following responses are the same for both the GET and POST methods of
Status Queries querying requests:
• If the Supplementary Services Gateway finds the request (or each request
if POST is used) in its database and obtains the status of the request, a
200 OK response, with a SUCCESS ResponseType is sent to the trigger
application. The response also contains the RequestID, Token, and other
attributes (see the example in this section).
The Content-Type in the 200 OK response is text/xml. If the Content-Type
of the POST request is neither text/xml or application/xml, the
Supplementary Services Gateway returns a 415 status code in the body of
the response, indicating an invalid content type was used.
• If query request parsing fails, mandatory attributes are missing, or database
operation fails, only the RequestID, ReasonCode, and Reason parameters
are passed back to the TA.

If validation or parsing fails, the entire POST or GET request fails and
the Supplementary Services Gateway generates a ReasonCode and
Reason (or failure description).
 If validation and parsing succeeds, but there are other failures—for
example, a specific RequestID is not found in the database—the
RequestIDs are passed back in the 200 ok response.
The following is an example of the SSGResponse part of a 200 OK bulk query
response:
<SSGResponse>
<ResponseElement ResponseType="SUCCESS" Token="T1001"RequestID="123435"
TenantName="Environment" IVRProfileName="Application" Telnum="11011"

Deployment Guide 181


Chapter 3: How GVP Works How the Supplementary Services Gateway Works

NotificationURL="http://182.24.129.82/Dir/Response.asp" AttemptsMade=4
MaxAttempts=7 TimeToLive="12000s" TTLRemaining="3477s"Status="Waiting
to be processed"/>
<ResponseElement ResponseType="FAILURE" RequestID="1234"
ReasonCode="404" Reason="RequestID not found in the Database"/>
</SSGResponse>
For a complete list and description of the HTTP request and response
attributes, see the Genesys Voice Platform 8.1 User’s Guide.

Cancel Requests
Trigger applications use two methods to cancel pending outbound requests:
HTTP DELETE to cancel a single request and HTTP POST to cancel a single or
bulk request. When the trigger application sends DELETE or POST requests, they
must contain the RequestID and TenantName parameters. The request is passed
on in the HTTP DELETE query string, or in the body of the HTTP POST request.
The Content-Type of the HTTP POST cancel request must be XML text or an
XML application that conforms to the XML schema.
Responses to A request that is not in progress (the TMakePredictiveCall request has not been
Cancel Requests sent to SIP Server), can be cancelled and the record deleted from the
Supplementary Services Gateway database. However, if the request is already
in progress, the Supplementary Services Gateway does not attempt to delete
the request from its database, but sends a FAILURE response type in the 200 OK
response.
The responses to requests for the DELETE and POST methods of cancellation
requests are the same as for query requests. See “Responses to Status Queries”
on page 181.
The following is an example of the SSGResponse part of a 200 OK bulk
cancellation response:
<SSGResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ResponseElement ResponseType="SUCCESS" RequestID="1121245"/>
<ResponseElement ResponseType="FAILURE" RequestID="1000000"
ReasonCode="106"Reason="Invalid RequestID"/>
</SSGResponse>

Asynchronous Result Notifications


The Supplementary Services Gateway notifies the trigger application about the
final outcome of the outbound request in the form of a NotificationURL, which
is a mandatory parameter in the CreateRequest. The Supplementary Services
Gateway performs an HTTP GET on the Notification URL and appends certain
query-string parameters that indicate the status of the outbound request

182 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Supplementary Services Gateway Works

Asynchronous Result Notification—Success


When a call is made through a trunk group DN and a TreatmentApplied event
is received from the SIP Server, the Supplementary Services Gateway deems
the call successful, appends the query string, and sends the Notification URL
to the trigger application.
Notification URL Among the query-string parameters that are passed back to the trigger
Query-String application in the Notification URL is the CallUUID, which is a unique ID that
Parameters is generated by the SIP Server for the call. When the outbound call has been
attempted multiple times, only the last calls UUID is sent in the Notification
URL. In addition, the Status parameter contains the reasons (separated by a
colon [:]) that each prior attempt failed—for example,
AnsweringMachineDetected:RingNoAnswer:DestinationBusy
The following is an example of a Notification URL that is sent when the
outbound call is successful:
//test.genesyslab.com/trigger/result.asp?Token=T3001&RequestID=123345&T
enantName=Environment&IVRProfileName=Application&Telnum=4086552367&Atte
mptsMade=1&MaxAttempts=3&TimeToLive=12000s&TTLRemaining=4367s&CallUUID=
8GQE8C05B56SV2HRTTJ8M9RFR8000001&Result=SUCCESS&Status=DestinationBusy:
RingNoAnswer

Asynchronous Result Notification—Failed


Requests can fail at two stages of the process: before they are stored in
persistent storage and after they have been processed. An outbound request
fails after processing for various reasons: It exceeded the maximum attempts
(MaxAttempts in the request), the time-to-live (TTL) expired, or a permanent
error caused it to fail.
The query-string parameters that are passed back to the trigger application in
the Notification URL are the same as for a success notification, and the Status
parameter contains the reasons (separated by a colon [:]) that each prior
attempt failed—for example,
ExternalError:RingNoAnswer:DestinationBusy:MaxAttempts Exceeded

Call Initiation Through SIP Server


The Supplementary Services Gateway receives HTTP requests from the trigger
application along with parameters in the body of the POST requests. Acting as a
T-Lib client, the Supplementary Services Gateway uses SIP Servers T-Lib
interface to send a TMakePredictiveCall, with the parameters sent as
extensions. SIP Server then establishes two call legs by sending one INVITE
request to the Media Control Platform (through Resource Manager) and
another to the external party.
SIP Server, acting as a T-Server, establishes two call-legs—one to the Media
Control Platform through the Resource Manager and one to the external party.
The call legs are then bridged, invoking a third-party call. The call leg that is

Deployment Guide 183


Chapter 3: How GVP Works How the Supplementary Services Gateway Works

established to the Media Control Platform, contains parameters that are passed
on in the INVITE messages to Resource Manager as Request URI parameters or
special headers. The Resource Manager uses these parameters to determine if a
specific IVR Profile is required. After the call legs are established, the
VoiceXML application associated with the IVR profile is played for the
external party.
Connection to SIP To Supplementary Services Gateway establishes a connection with SIP Server
Server in HA Mode in HA mode by obtaining the configuration details for both the primary and
secondary SIP Server through CCILib.
After the connection to the primary SIP Server is configured in the
Supplementary Services Gateway Application (in the Connections tab), it uses
the port ID in the primary SIP Server to establish a connection with the
secondary SIP Server. It attempts to establish a connection with the primary
SIP Server first. If there is no response, it tries with secondary SIP Server by
using a simple round robin mechanism.
Secure SIP Server can connect to the Supplementary Services Gateway on any of its
Connections secure or unsecured ports. Secure ports are configured by creating security
Through TLS certificates, which enable the Supplementary Services Gateway to interact with
SIP Server by using TLS.
For a procedure that describes how to create security certificates, see Chapter 3 in
the Genesys Voice Platform 8.1 User’s Guide.
DNs for Resource The Resource Manager trunk-group DNs are registered on the Supplementary
Manager and Services Gateway in the Tenant1 section and contains the following
External Party parameters, including the mandatory TGDN parameter:
[Tenant1]
TGDN=<tg-dn>
RPDN=<rpdn>
AccessGroup=<grp-name>
DialPrefix=<DialPrefix-name>
(The value that is configured in the TGDN parameter is used as the tenant name.)
The external-party Trunk DNs are configured on the SIP Server. SIP Server
selects the external-party DN, based on the mandatory telnum parameter,
which is one of the parameters in the body of the HTTP request.

Call-Progress Detection
The Supplementary Services Gateway and SIP Server support Call-Progress
Detection (CPD) on the Media Gateway or on the Media Server module of the
Media Control Platform. CPD is optional, however if it is configured on both
the Media Gateway and Media Server, the Media Gateway takes precedence as
the CPD provider. SIP Server receives the CPD result from the CPD provider
and passes it back to the Supplementary Services Gateway through a T-Event.
CPD Control Trigger applications send CPD control parameters to the Supplementary
Parameters Services Gateway in the CreateRequest part of the HTTP POST requests. All of

184 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Supplementary Services Gateway Works

the CPD parameters are optional. The value of the record parameter specifies
if the CPD part of the call is recorded—true or 1 if the CPD is to be recorded
and false or 0 if it is not. The value of the preconnect parameter is mapped to
the cpd-on-connect extension in the TMakePredictiveCall request and
specifies when to start CPD—true or 1 if CPD is to be started when the first
packet is received, and false or 0 if CPD is started when the call is connected.
If there are no CPD parameters in the CreateRequest part, SIP Server relies on
its own CPD configuration.
For a complete list and description of CPD parameters, see the Genesys Voice
Platform 8.1 User’s Guide.
The following is an example of the CreateRequest part of a POST request with
CPD parameters:
<CreateRequest Token="Token" MaxAttempts="2" TimeToLive="123s"
IVRProfileName="Application" Telnum="9884719189"
NotificationURL="http://182.123.12.12/DIR/OutURL.xml" Ani="12345">
<cpd record="false"
postconnecttimeout="6000ms"
rnatimeout="60s"
preconnect="true"
detect="all"/>
</CreateRequest>
For information about how the Media Control Platform (Media Server)
supports CPD, see “How the Media Control Platform Works” on page 139.

Port-Availability Notifications
The Supplementary Services Gateway relies on T-lib event notifications from
SIP Server to receive notification of available ports. The Resource Manager
and Media Control Platform have a finite number of ports available for
outbound calls; therefore, the Supplementary Services Gateway must be aware
of the maximum number of ports that are available for a tenant and the number
of ports that are available at any given time.
Subscription The Supplementary Services Gateway sends the subscription request to SIP
Request Server as a RequestRegisterAddress extension in the resource DN (configured
in the Supplementary Services Gateway). SIP Server sends notifications on
behalf of the DN using the EventResourceInfo event with extensions that
include the total number of ports that are allocated and the total number of
ports that are available for outbound calls. If the Resource Manager is
unavailable, SIP Server returns zeros (0) for total-ports and available-ports
parameters.
The Resource Manager provides port-availability notifications that include
data that is specified for each tenant. When the Supplementary Services
Gateway receives these notifications for a tenant trunk group, it uses these new
values to manage the tenant campaigns.

Deployment Guide 185


Chapter 3: How GVP Works How the Supplementary Services Gateway Works

Persistent Storage
The Supplementary Services Gateway uses an SQLite external database for its
persistent storage, supported on Windows and Linux. It stores requests for
outbound-call initiation persistently for the following reasons:
a. Although a limited number of Resource Manager and Media Control
Platform ports are available for outbound calls, outbound requests are
not rejected, because they can be stored and executed as ports become
available.
b. Previous requests can be retrieved from the database across
Supplementary Services Gateway restarts. Incomplete calls are
reinstated as new calls and re-attempted.
c. The progress and status of each request can be maintained in the
database.
There is a threshold for the maximum number of records allowed in the
database. When the maximum number of records is reached, further requests
from trigger applications are rejected with the appropriate error code in the
response (see also, “Responses to Outbound Request—HTTP 200 OK” on
page 180).

Processing Requests
The Supplementary Services Gateway processes HTTP requests in batches
based on information received in EventResourceInfo messages sent every five
(5) seconds from SIP Server. The EventResourceInfo messages contain the
total number of GVP ports, the number of available GVP ports, and the
TenantName.

Fetching from Requests are fetched from the database and placed in the Supplementary
Database to Services Gateway in-memory queue (InMemQ). The number of fetched requests
InMemQ can be configured with the Request Batch Size parameter using one the
following values:
• TotalPorts—Use the total ports returned in the EventResourceInfo
message from SIP Server. This is the default value.
• AvailablePorts—Use the available ports returned in the
EventResourceInfo message from SIP Server.
• NNN—A specified number, for example, 610.
When the InMemQ falls below a certain percentage of the Request Batch Size
parameter the next database fetch cycle is triggered and the state of each
fetched record is marked INITIATED in the database. The default percentage is
25% and can be configured using the Queue Low Watermark parameter.
Allocation of A separate InMemQ exists for each IVR Profiles, the contents of which is
InMemQ for IVR processed using a round-robin algorithm. If there are requests in the database
Profiles for more than one IVR Profile, a portion of the batch size is allocated to each

186 Genesys Voice Platform 8.1


Chapter 3: How GVP Works How the Supplementary Services Gateway Works

application. The Application Slot Calculation parameter controls how the


batch size is divided using one of two values:
• PROPORTIONATE—The batch size is divided in the same proportion as the
number of requests pending for the IVR Profiles. This is the default value.
• EQUAL—The batch size is divided equally among the IVR Profiles.

Prioritizing When requests are fetched from the database for a specific IVR Profiles, they
Requests are prioritized in the following ways:
• Requests with earlier NextRetryTime values are picked up ahead of those
with later NextRetryTime values.
• If requests have the same NextRetryTime values, the requests with least
remaining time-to-live (TTL) have priority over those with higher
remaining TTL.
• If requests have the same NextRetryTime values and same remaining TTL,
the requests with the higher number of attempts have priority over those
with fewer number of attempts.
Each IVR Profile can have a combination of new requests in the database and
requests that were already processed (the call failed and they will be
re-attempted). The value of the EqualPriorityToNewAndOld parameter
determines how the Supplementary Services Gateway picks up requests, for
example, if the value is:
• FALSE—The requests for each IVR Profile are picked up based on the
NextRetryTime, remaining TTL, and number of attempts. This is the
default value.
• TRUE—For each IVR Profile in a fetch cycle an equal amount of new and
previously-attempted requests are picked up.
Processing The requests in InMemQ are passed to the SIP Server to make outbound calls.
Requests from The Supplementary Services Gateway checks the AvailablePorts parameter in
InMemQ the EventResourceInfo message to determine the number of GVP ports
available for outbound calls. The number of calls the Supplementary Services
Gateway is able to pass to SIP Server is determined by the value of the
PortLoadFactor parameter, which has a NNN value (expressed as a percentage
of the available ports). The default value is 100.
After the number of outbound calls is determined, the Supplementary Services
Gateway throttles them rather than send them to SIP Server all at once (which
could result in high Call Available Per Second [CAPS] and overload the
components). The throttling functionality is controlled by the value X of the
pacing.caps.CallRequestsPerSecond parameter that the Supplementary
Services Gateway sends to SIP Server. The Supplementary Services Gateway
only attempts X calls per second to SIP Server. It continues to make X calls
every second until the number of requests that are configured in the
PortLoadFactor parameter is exhausted.

Deployment Guide 187


Chapter 3: How GVP Works How the Supplementary Services Gateway Works

Error Handling Failed requests are categorized as permanent or temporary failures and handled
in the following ways:
• Permanent failures—The record is marked as PROCESSED in the database,
the result is marked as FAILURE, and the deleteflag is set.
• Temporary failure, where either the number of attempts exceeds the
maximum number of attempts (#Attempts>MaxAttempts) or the TTL has
expired—The record is processed the same as for a permanent failure.
• Temporary failure that have attempts left and TTL remaining—The
NextRetryTime is calculated:

For internal failures (within GVP), the number of attempts is not
updated in the database. Requests are pushed either to the back or in
front of the InMemory Queue. The NextRetryTime parameter value is
calculated based on the NextRetryInterval parameter value. The
default value is 10 seconds.

For external failures, the number of attempts is increased in the
following ways:
 For Busy or SIT Tones (other than those that are treated as
permanent failures)—The NextRetryTime parameter value is paced
closer together and spread out later.

For all other external failures (such as, Answering Machine, Ring
No Answer)—The NextRetryTime parameter value is paced equally.
(The remaining TTL is divided equally among the remaining
attempts.)
After the NextRetryTime parameter value is calculated, the request is either
left in the InMemQ (if the current time >= NextRetryTime) or put back into
the database and processed later.
Calls that succeed are marked as PROCESSED in database, the result is
marked as SUCCESS, and the deleteflag is set.

Database Cleanup
The persistent storage database is monitored and cleaned up at regular intervals
(configured with the Clean Interval parameter; default value = 180
[seconds]). Cleanup occurs in three stages:
a. The database is trawled, and all records that have deleteflag set are
collected.
b. A SUCCESS or FAILURE Notification URL is sent to the trigger
application for each record. If an error occurs during invocation of the
Notification URL, an SNMP trap is generated.
c. The selected records are deleted from the database.

188 Genesys Voice Platform 8.1


Chapter 3: How GVP Works Support for Nuance SessionXML

Support for Nuance SessionXML


GVP 8.1.7 and higher supports SessionXML for:
• Nuance NR10 over MRCP v2 (recognition)
• Vocalizer 5.7 over MRCPv2 (synthesis)
You can use a single SessionXML file for both recognition and synthesis. Your
Nuance documentation explains in detail how to create a SessionXML file.

MRCPv2 Support
When receiving an MRCP request, the MRCPv2 client searches the session
configuration parameter object for the Nuance Speech Synthesizer (NSS)
session.xml file URL, which is specified by including
gvp.config.vrm.nsssessionxml in the RURI of the call.
See “Resource Manager Support” on page 189.
• If the URL is not specified, the MRCPv2 client retains the current
behavior.
• If the URL is specified, the MRCPv2 client sends the SessionXML data to
the NSS. This action is controlled by the engine-specific provision
parameter vrm.client.SendSessionXML. This parameter enables/disables
this functionality:
 true enables the SessionXML file contents to be sent to NSS server.

false (default) disables transmission.

MRCPv2 supports only the local SessionXML file that is specified in
vrm.nsssessionxml. It supports only file:// protocol and absolute
path.

Notes: The MRCPv2 client embeds the SessionXML file the contents as-is
into the body of the SDP of the INVITE message, when it requests a
Speech Resource.
The MRCPv2 client does not validate the contents of the specified
SessionXML file. If that file is empty or cannot be read, MRCPv2
returns an error.

Resource Manager Support


On a per application and per tenant basis, the RM allows you to configure the
NSS SessionXML URL by specifying it as the configuration parameter
gvp.policy.speech-resources.nsssessionxml. RM looks first for this Type-III
policy parameter in the IVR Profile and if the search is fruitless, then searches
the tenant hierarchy from the bottom up. When found, the RM passes the URL

Deployment Guide 189


Chapter 3: How GVP Works Logging and Reporting

to the MCP handling the request as the SIP Request URI parameter
gvp.config.vrm.nsssessionxml.

Note: Configure this parameter exactly as you would any other IVR
Profile/tenant-level configuration parameter.

Logging and Reporting


GVP Reporting refers to the GVP logging and reporting feature, which
provides the following services:
• Accumulates key measurements and data that describes the calls being
processed by the deployment
• Delivers the infrastructure for reliable delivery of data to a relational back
end
• Provides services for near real-time reporting about operational aspects of
the deployment
• Provides historical reporting about VoiceXML and CCXML application
usage
For an overview of the GVP Reporting architecture, see “GVP Reporting
Architecture” on page 73.
This section provides information about the following GVP Reporting topics:
• GVP Logging

Logs
 Metrics on page 192

Log Sinks on page 193
• CDR Reporting on page 194
• OR Service on page 196
• SQA Service on page 197
• Reporting Client on page 200
• Reporting Server on page 200
• Reporting Web Services on page 202

GVP Logging
The GVP Logging API enables GVP components to raise logging events at
two levels:
• At the level of the component, or GVP Application object—These are
referred to as logs.
• At the level of the VoiceXML or CCXML application—These are referred
to as metrics.

190 Genesys Voice Platform 8.1


Chapter 3: How GVP Works Logging and Reporting

Logs
Logs include three important elements by which they can be filtered: severity,
module ID, and specifier.
Severity Like most other Genesys components, GVP components can raise events at
various levels, however, they can also log them further by the following levels
of severity (in order of descending severity):
• 0 = Critical
• 1 = Error
• 2 = Warning
• 3 = Note
• 4 = Info
• 5 = Debug
Module IDs Each GVP component is composed of one or more application modules, each
of which is assigned a Module ID. The component logically organizes the logs
that it emits by Module ID.
Specifiers A specifier is a number that uniquely identifies a given event that is logged by
a given module.
For a list of the Module IDs and specifiers that are used in GVP 8.1, see the
Genesys Voice Platform 8.1 User’s Guide.
Additional Log GVP Logging associates a UTC timestamp, to millisecond precision, with each
Data logging event when it is raised.
Logs for call-processing component events that are associated with a call
session include the GVP component ID (DBID of the GVP application that
raised the log), the GVP session ID, and the UTC timestamp. Metrics can
therefore be mapped to CDRs, which provide more information, such as the
call start time, call end time, IVR Application ID (DBID of the IVR Profile),
Tenant ID, and local and remote SIP URIs.
The GVP session ID is also unique to the deployment, where the environment
may include deployments at multiple sites or geographic locations.
For more information about GVP IDs, see the section about GVP identifiers in
the Genesys Voice Platform 8.1 User’s Guide.
Log Delivery Log events are delivered to one or more log sinks for the component (see “Log
Sinks”), and then sent to Management Framework or the Reporting Server.
By default, log files are stored in the following location:
C:\Program Files\GCTI\gvp\<IP name>\<Your component application
name>\logs\
The Management Framework Adapter sink passes along GVP log messages to
its own logging system. In general, GVP logging is mapped to the
Management Framework logging levels in the following way:

Deployment Guide 191


Chapter 3: How GVP Works Logging and Reporting

• Metrics are mapped to the interaction level and have IDs between
50000-55000.
• Critical, Error, and Warning logs are mapped to the standard level.
• Notice and Info logs are mapped to the trace level.
• Debug logs are mapped to the debug level and usually have an ID of
20000.
For a list of Management Framework IDs for GVP log messages, see the LMS
file for each GVP component. The LMS file contains a mapping of GVP log
messages to Management Framework IDs. The LMS file is located in the
<Install_Dir>\config directory for each GVP component.
For more information about the GVP log messages, see Appendix A in the
Genesys Voice Platform 8.1 User’s Guide.

Metrics
Metrics describe application-level events, and have no severity.
Each metric has a unique type identifier (for example, start_session) and is
associated with a specific VoiceXML or CCXML session ID. The body of the
metric is defined by the component. For example, the body of a metric can be a
text string that consists of a number of pipe-delimited parameters (such as
ANI|DNIS|SIP Request-URI) encoded in UTF-8.

Metrics Examples The following are examples of the kinds of metrics that are logged. For full
details about the metrics that are available in GVP 8.1, see the Genesys Voice
Platform 8.1 Metrics Reference.
• The Media Control Platform logs an INCALL_BEGIN metric when an inbound
call is accepted.
• The NGI logs a PROMPT metric when it starts to play back a prompt queue.
• The amount of time to fetch a VoiceXML page is measured and logged.
VAR Metrics Voice Activated Response (VAR) metrics are events that the Media Control
Platform generates when it encounters VAR-specific <log> tags in the
VoiceXML applications. The VAR-specific <log> tags have the prefix
com.genesyslab.var.
For the metrics that the Media Control Platform generates when the NGI
executes a VAR-specific <log> tag, see the Media Control Platform reference
information appendix in the Genesys Voice Platform 8.1 User’s Guide.
For more information about using <log> tags in VoiceXML applications, see
Genesys Voice Platform 8.1 VoiceXML 2.1 Help.
Metrics Delivery Metrics are delivered to the log sinks for the component (see “Log Sinks”).
Upstream metrics, which are also referred to as call events, are metrics that are
configured to be sent to the Data Collection Sink (DATAC), and then to the
Reporting Server for storage and reporting purposes. The DATAC also computes
service-quality measurements based on the logs and metrics that are forwarded

192 Genesys Voice Platform 8.1


Chapter 3: How GVP Works Logging and Reporting

to it. The Media Control Platform and Call Control Platform are the only
sources of upstream metrics.

Log Sinks
Every component that uses logging has configurable access to one or more log
sinks, that receive a real-time stream of logs or metrics, as defined by filters
that you can configure (in the ems.logconfig.<Sink Name> and
ems.metricsconfig.<Sink Name> parameters).
The log sinks enable GVP Reporting to implement upstream reporting,
integrate with Management Framework, and accumulate summary statistics
that are used by the Reporting Server. Upstream reporting refers to the ability
of components to send a configured subset of metrics to the Reporting Service
for storage and reporting purposes.
The following log sinks are available in GVP:
• MFSINK—The Management Framework Adaptation Sink. MFSINK connects
the GVP and Management Framework logging systems, through CCILib,
for file-based and network-based logging. Configurable parameters in the
log configuration section for each GVP component determine what
Management Framework does with the logs—for example, writing them to
file or delivering them to Message Server.
• DATAC—The Data Collection Sink. DATAC derives resource-specific
summary statistics, and delivers summary statistics and metrics to the
Reporting Server, where they can be queried through the Call Events
reporting service. (This sink is not applicable for the Resource Manager or
Fetching Module.)
The ems.dc.default.metricsfilter configurable option on the Media
Control Platform and Call Control Platform enables you to specify which
of the metrics delivered to DATAC will be forwarded to the Reporting Server.
• TRAPSINK—The SNMP integration sink. For GVP components that have
been configured to raise traps, TRAPSINK forwards log messages to the
Management Data Agent library, which the GVP process uses to
implement the applicable management information bases (MIB).
The log sinks are dynamic link libraries (DLL) that are loaded dynamically at
runtime. By default, the following log sinks are attached to each component:
• Resource Manager and Fetching Module—MFSINK and TRAPSINK
• Media Control Platform and Call Control Platform—DATAC, MFSINK, and
TRAPSINK
Depending on the configured filters, a particular log or metric may be directed
to more than one log sink for the component, or to none. If a given log event
does not match the configured event types for that component’s log sinks, the
log event is silently discarded.

Deployment Guide 193


Chapter 3: How GVP Works Logging and Reporting

The log sinks themselves can generate log events, therefore, they have one or
more log sinks attached to them. For example, in GVP 8.1, DATAC has an
MFSINK, which enables DATAC logs to be delivered to Message Server or to file.

CDR Reporting
Call-detail records are records that describe key attributes of a call session that
the deployment is processing, or has processed.
The CDR Service on the Resource Manager, Media Control Platform, and Call
Control Platform enables the component to submit and update CDRs to the
Reporting Server in near-real time.
The Reporting Server correlates the CDRs based on the GVP Session-ID. This
is the ID that the Resource Manager assigns to all calls that come into GVP.
For more information about GVP session-IDs, see the Genesys Voice
Platform 8.1 User’s Guide.
The intervals at which the Reporting Client submits CDRs to the Reporting
Server depends on the configuration. For configuration considerations, see the
description of the ems.rc.cdr.batch_size configuration parameter in the
section about configuring GVP Reporting in the Genesys Voice Platform 8.1
User’s Guide.

CDR Attributes
The CDRs share a common set of attributes that, at a minimum, the component
must include. In addition, the Media Control Platform and Call Control
Platform include certain attributes that are specific to the component type.

Common CDR Attributes


All components include the following attributes in the CDRs that they submit:
• Session start and end times.
• IDs for the VoiceXML or CCXML application; Media Control Platform or
Call Control Platform session; Resource Manager session; and overall
Genesys session (UUID).
• IDs for the tenant for which the call is associated. The CDR report returns
CDRs for all tenants that are in the tenant hierarchy.
• Call type—The available types are the following:
 Inbound (1)—For the Resource Manager and Media Control Platform.

Outbound (2)—For the Resource Manager and Media Control
Platform.

Bridged (3)—For the Media Control Platform.

Unknown (4)—For the Resource Manager.
 New Call (5)—For the Call Control Platform.

Create-CCXML (6)—For the Call Control Platform.

194 Genesys Voice Platform 8.1


Chapter 3: How GVP Works Logging and Reporting


External (7)—For the Call Control Platform.
• Local-URI—The URI that identifies the local service that was delivered.
• Remote-URI—The URI of the party with whom the dialog was conducted.
The platform obtains this information from the From header on an inbound
call or the Request-URI on an outbound call.

Media Control Platform–Specific Attributes


The Media Control Platform includes the following additional attribute in
CDRs:
• For bridged calls, the parent Component ID (in other words, the Media
Control Platform ID of the call session that originated the bridged session).
The Media Control Platform adds the following attributes to the CDR:
• To capture usage information:
 ASR—If ASR is used at any point during the call.

TTS—If TTS is used at any point during the call.

VOICEXML—If VoiceXML was used during the call.
 NATIVECPA—If native media server CPD/CPA was used during the call.

GATEWAYCPA—If gateway-based CPD/CPA was used during the call.
• To capture information about recording execution:

LOCALREC—If a local recording was executed during the call.

MSRREC—If a media stream replication recording was executed during
the call.
• To capture information about conference, bridging, and connection
establishment:

CONF—If conferencing was established during the call.
 BRIDGING—If bridging was established during the call.

VIDEO—If a video connection was established during the call.
 CODEC— If any transcoding was used for this call (it does not matter
which leg).
• To capture MSML requests information:
 MSPLAY—If MSML <play> was requested.

MSCOLLECT—If MSML <collect> or <dtmf> was requested.

Call Control Platform–Specific CDR Attributes


The Call Control Platform includes the following additional attributes in
CDRs:
• How the session was started:
 EXTERNAL—The session was created through the HTTP-session creation
I/O processor.
 CREATECCXML <parent-ccxml-session-id>—The session was created by
a <createccxml> tag from a parent session.

Deployment Guide 195


Chapter 3: How GVP Works Logging and Reporting


NEWCALL <call-params>—The session was created because of an
inbound call: <call-params> records the relevant parameters (for
example, the UUID of the connection).
• The reason that the CCXML session ended:

EXIT—The <exit> tag was executed.

KILL—The session was terminated by a ccxml.kill.unconditional or
unhandled ccxml.kill event.

DOCINIT—The session ended because an error was encountered during
document initialization.

ERROR—The session was ended by an unhandled error event.

SYSERR—The session ended because of an internal error.
• An ID indicating the source of the session:

For calls started by a connection, the connection ID of the initiating
call.

For externally created calls, the eventsource URI.

For forked sessions, the Component ID of the parent session.

OR Service
The OR interface enables the Resource Manager and Media Control Platform
components to accumulate statistics about call arrivals and call peaks, and it
enables the Call Control Platform component to accumulate statistics about
CCXML session peaks. The statistics are submitted to the Reporting Server,
through the Reporting Client:
• Call arrivals—Counts are derived from the CDRs as they are submitted or
updated.
 The Resource Manager submits arrivals for the CTI and PSTN
Connectors.
• Call peaks—Statistics are derived from counts of the maximum number of
concurrent calls that are observed within a given 5-minute time period.
 The Resource Manager submits peaks for the deployment as a whole,
for the CTI and PSTN Connectors individually, and for each IVR
Profile that is processed on a per-tenant basis.

The Media Control Platform submits peaks for itself only.
The Reporting Client submits OR data to the Reporting Server at the interval
that is configured in the ems.ors.reportinginterval parameter. The default is
once per minute.

VAR Per-Call IVR Actions Reporting Service


The VAR Per-Call IVR Actions Reporting Service is a Reporting web service
endpoint, which is available at the following URL:
/ems-rs/HIST/CDRs/MCP/VAR/actions.

196 Genesys Voice Platform 8.1


Chapter 3: How GVP Works Logging and Reporting

It lists the IVR actions that are occur within the lifetime of an active Media
Control Platform session. Per-call IVR actions are logged with the following
labels: com.genesyslab.var.ActionStart, com.genesyslab.var.ActionEnd, and
com.genesyslab.var.ActionNotes.
This service supports session-id parameter, which works in conjunction with
the comp-id parameter. The session-id parameter selects a single call that
matches a session ID that is local to a given call processing server. Session IDs
are not necessarily globally unique, therefore, this parameter must be
accompanied by the comp-id parameter.
The VAR Per-Call IVR Actions Reporting also supports gvp-guid parameter.
The Resource Manager manages the GUID and passes it to all call processing
servers that provide service for a specific GVP session. When this parameter is
specified, the report returns information for all Media Control Platform
sessions that are associated with a specified GVP session (if it has been served
by multiple Media Control Platform sessions).
All calls associated with a specific Genesys Management Framework session
can also be selected, by using the genesys-uuid as the identifier. No two
session IDs, GVP GUIDs, or Genesys UUIDs can be specified at the same
time, otherwise an HTTP 400 error code is returned.
For a complete description of the VAR Per-Call IVR Actions Report, see
Chapter 22 in the Genesys Voice Platform 8.1 User’s Guide.

SQA Service
The Service Quality Analysis (SQA) service on the call processing servers,
provides statistics on the service quality of GVP deployments and sends this
data to the Reporting Server through the Reporting Client. This differs from
the analysis of operational logging and reporting, which typically focus on the
availability and performance of servers and system components. Events that
affect service quality might not show up in any operational logs.
Service-quality measurements account for all calls to the system. The platform
itself measures the calls being handled, rather than using a sampling
methodology where periodic test calls are made to the system. SQA gathers
information from the platform and the applications running on the platform
and prepares reports on quality at regular interval.

Note: The ems.dc.enableSQA parameter can be set to false if service


quality, latency, and call-failure tracking information is not required.
When this parameter is disabled, the Reporting Client does not send
this data to the Reporting Server.

SQA and NGI Compatibility


SQA is currently designed to work properly only with MCPs using NGI.

Deployment Guide 197


Chapter 3: How GVP Works Logging and Reporting

Some SQA metrics may show up for non-NGI configurations, because some
configurations of GVP can be deployed with other interpreters (such as the
Legacy GVP Interpreter). But beginning with release 8.1.5, MCP does not
support those interpreters.

SQA Metrics
The Reporting Server Client obtains data about service quality from the call
processing components and forwards it to the Reporting Server. The following
types of service-quality data are accessible through the various SQ reporting
UIs in the Monitoring > Voice Platform pane in the Genesys Administrator:
Service-Quality The period of time for which service quality is calculated can be configured in
Calculations the Media Control Platform Application. The ems.dc.serviceQualityPeriod
parameter is configured with values that divide evenly into 1 hour (the default
value is 15 minutes).
The following functions occur within each interval:
• The Reporting Client forwards accumulated metrics to the Reporting
Server, such as:
 The number of completed calls on each Media Control Platform. A call
is considered complete if either an incall_end or outcall_end event is
logged or the call completes abnormally (see “Abnormally Terminated
Calls” on page 199).

The number of failed calls on each Media Control Platform.
• SQ metrics are calculated, such as:

The percentage of successful calls on each Media platform.

The number of completed and failed calls, as well as the percentage of
successful calls for the cluster.
 Aggregated hourly, daily, weekly, and monthly summaries of the
number of completed calls, number of failed calls, and percentage of
successful calls. These summaries are accumulated for each Media
Control Platform and for the entire cluster.

Deletion of statistics for the basic service-quality period (15 minutes)
after a configurable period of time (2 days). Hourly, daily, weekly, and
monthly statistics are also deleted after a configurable period of time.
 System dialog messages that are generated if SQ data retention periods
are configured in such a way that prevents statistics aggregation from
being done properly.

Logged events that contain the service-quality percentage for a specific
application in the cluster. These events can be used to trigger alarms
when service quality falls below the configured threshold. Logged
events are not generated when the number of completed calls in the
service-quality period is less than the configured threshold.

The percentage of successful calls for each application that has been
executed for each Media Control Platform.

198 Genesys Voice Platform 8.1


Chapter 3: How GVP Works Logging and Reporting


The percentage of successful calls for each application that is executed
in the deployment. This percentage is derived from aggregated results
that are reported by the individual Media Control Platforms.

Service-Quality Failures
The SQA service provides metrics for the following failure types:
Failed Logging • When the VoiceXML interpreters on the Media Control Platform generate
Sessions a <log> with a com.genesyslab.quality.failure or
com.genesyslab.quality.failure label, the logging session is considered
to have failed. SQ Failure types include data relating to latency,
application, and audio gap failures (see “Call Failures”).
Latency Intervals • SQA uses the intervals-between-events data that is derived from
component latency reporting and compares it with configured thresholds.
Latency periods are measured in milliseconds(ms).
Abnormally • When calls are abnormally terminated, they are marked with the Abnormal
Terminated Calls Termination failure type. The following call events are some examples of
calls that are considered abnormally terminated:
 An incall_initiated event is logged, but no associated incall_begin
or incall_rejected event is logged.

An incall_begin event is logged, but a corresponding incall_end is
not.

The incall_end event is logged with the syserr reason code.
 The Resource Manager logs a sip_session_timeout event for the call.

A bridge_begin event is logged, but no corresponding bridge_end
event.
Call Failures • The SQA service gathers and stores call-failure information for each
session that ends in each service-quality period. Call Failure Records are
maintained in the database for a configured period of time (by default, 1
year).
The default value for the Call Failure Records can be overridden in the
gvp.rs.db.retention.sq.failures configuration option. The SQA service
stores the following information for each call failure:

Session ID

Session end time
 Application (associated with the session)

Failure type

Time of failure (within ms)
 Cause-of-failure description (value string)
Reporting data can be generated for various types of call failures and the
SQ Failure Details report can be filtered to provide details about each of

Deployment Guide 199


Chapter 3: How GVP Works Logging and Reporting

the specific call-failure types, including short strings for System Error call
failures, which describe the cause-of-failure.
For more information about the configuration options that relate to all aspects
of SQA, see the Genesys Voice Platform 8.1 User’s Guide.

Reporting Client
The Reporting Client on each component provides reliable delivery of DATAC
logs and metrics, CDRs, service-quality metrics, and OR statistics to the
Reporting Server.
The Reporting Client persistently queues data when the Reporting Server is
unavailable, and uses exponential back-off to attempt to reconnect to the
Reporting Server. Data that is submitted to the Reporting Client is eventually
sent to the Reporting Server, even if the Reporting Server is unavailable for an
extended period of time due to an outage.

Note: Data that is stored in memory is lost if the call-processing component


shuts down unexpectedly. Data is persisted to disk only if the
Reporting Client cannot successfully deliver the data to an available
Reporting Server.

For improved performance, the Reporting Client can be configured to send


CDRs and metrics in batches. However, this can result in slight delays in data
delivery. For more information, see the description of the
ems.rc.cdr.batch_size parameter in the section about configuring GVP
Reporting in the Genesys Voice Platform 8.1 User’s Guide.
Support for The Reporting Client can connect to a Reporting Server in TLS mode.
Reporting Server Whether or not it uses an encrypted connection, depends on how the
in TLS mode activemq.connectionMode option in the messaging section of the Reporting
Server (to which it is connected) is configured.
The Reporting Client’s rc.certificate configuration option in the ems section
contains the file name of the TLS certificate in Privacy Enhanced Mail (PEM)
format. The certificate is required to connect to the Reporting Server
(ActiveMQ) over TLS.

Reporting Server
As shown in Figure 3 on page 73, the services that the Reporting Server
provides include the following:
• Storage services—Logs and metrics that the Reporting Client (on the
components) delivers are stored in the GVP Reporting database, where
they can be queried by Reporting Web Services.

200 Genesys Voice Platform 8.1


Chapter 3: How GVP Works Logging and Reporting

• Reporting Web Services—HTTP web services return XML that conforms


to well-defined schemas. XML-based reports are displayed on the
Monitoring tab in Genesys Administrator. For more information, see
“Reporting Web Services”.
• Service Quality (SQ) Alarm Generator—Alarms are generated through
Reporting Web Services (in Genesys Administrator) when service quality
falls below configured thresholds.
• VAR Stats Generator—The Reporting Server computes VAR statistics,
based on the VAR-specific metrics that it receives (see “VAR Metrics” on
page 192).
• Summarization process—Every hour (on the half-hour), the Reporting
Server rolls five-minute statistics into higher-level hourly, daily, weekly,
and monthly summaries. The process summarizes VAR, SQ, and OR data
only.
For performance reasons, the process does not start summarizing for a
period until that period has ended. For example, a monthly summary for
January will not be created until the start of February.
The Reporting Server can derive summaries upon request. For example,
you can request a monthly report for January before January has ended.)
However, this puts more load on the database than when the regular
summarization process derives summaries from precomputed data.
• Database maintenance process (DBMP)—The DBMP purges old data in
accordance with data-retention policies. By default, the process runs once
per day, at a configurable time. The data-retention policies are also
configurable. For more information, see the section about configuring
database retention policies in the Genesys Voice Platform 8.1 User’s Guide.
• Database Partitioning—The Reporting Server supports partitioning for
Oracle 10g or 11g Enterprise Edition, and Microsoft SQL Server 2008
Enterprise Edition, and provides compatible schemas. Partitioning is
automatically enabled during installation if either of these database
editions is selected.

Note: Genesys recommends that you not change the partitioning mode
of operation or the number of partitions (even after the Reporting
Server is started) because of issues that might arise if the database
schema or stored data is changed.

• Queries the SNMP MIBs from the Supplementary Services Gateway


components and provides summarized data to the Reporting Web Services.

SNMP Query and Trap Generation


To manage SNMP query and trap generation for multiple Reporting Server
instances in your environment, you can configure Reporting Server

Deployment Guide 201


Chapter 3: How GVP Works Logging and Reporting

connections to the SNMP Master Agent. After the connections are established,
the Reporting Server queries and generates traps in the following way:
• The Reporting Server finds the first Management Framework connection
to an SNMP Master Agent and attempts to use the agent on this
connection.
• If the agent is not reachable, the Reporting Server attempts to connect to
the agent at regular intervals, which is configured by using the
connection_delay_sec option in the agentx section of the Reporting
Server Application. The default value is 60 seconds. By using the
max_connection_attempt configuration option in the agentx section, the
number of times the connection is re-attempted can also be configured.
For a complete list of Reporting traps, see the Genesys Voice Platform 8.1
SNMP and MIB Reference.

Reporting Web Services


Reporting Web Services can be deployed over HTTP or HTTPS and is
deployed by default, at the following URL:
http://<Reporting Server host name>:8080/ems-rs
In multi-tenant environments, Reporting Web Services provides the
http://<Reporting Server host name>8080/ems-rs/tenants URL, which
returns a complete list of tenants, including their names and DBIDs, that are
provisioned for the environment.
When SQA is enabled in the deployment, the SQ Summary, Failure Details,
Latency, and Latency Histogram reports can be accessed through the following
URLs respectively:
• http://<Reporting Server host name>8080/ems-rs/sqa/servicequality
• http://<Reporting Server host name>8080/ems-rs/sqa/failures
• http://<Reporting Server host name>8080/ems-rs/sqa/latency/details
• http://<Reporting Server host name>8080/ems-rs/sqa/latency/
histogram
The reporting services return results (reports) as XML documents that conform
to available Regular Language for XML Next Generation (RelaxNG) schemas,
therefore, the GVP Reporting data is available to third-party reporting
products, and on the Monitoring tab in the Genesys Administrator GUI. User
interfaces for Service Quality Advisor (SQA) Reporting, VAR Reporting, CDR
Reporting, and Operational Reporting can be used to view and filter reports
and statistical data.

Note: Browse to: http://<Reporting Server host


name>:8080/ems-rs/components to test Reporting Server.

202 Genesys Voice Platform 8.1


Chapter 3: How GVP Works Logging and Reporting

For detailed information about the XML schemas for GVP Reporting Web
Services, contact Genesys Technical Support.
Report Categories Reporting services are grouped into the following categories:
• Real-time
• Historical
• VAR
For more information about the GVP reports that are available in these
categories, see the Monitoring part of the Genesys Voice Platform 8.1 User’s
Guide.

Deployment Guide 203


Chapter 3: How GVP Works Logging and Reporting

204 Genesys Voice Platform 8.1


Chapter

4 Prerequisites and Planning


This chapter describes the prerequisites and planning considerations for the
deployment of Genesys Voice Platform (GVP) 8.1 on Windows and Linux
operating systems and includes information about the required software. It
contains the following sections:

GVP Installation DVDs, page 205

Prerequisites, page 207
 Dialogic Telephony Cards, page 212

Antivirus Software, page 213

Host Setup, page 213
 PSTN Connector and GVPi Support in 8.1.5, page 214

Voice Platform Solution, page 215

Important Information about HMT Permissions and Access Rights,
page 220

GVP Installation DVDs


Genesys Voice Platform 8.1.3, 8.1.4, and 8.1.5 components are shipped on two
DVDs—one containing the Genesys Voice Platform components and one
containing the Genesys Media Server components. The 8.1.2 and earlier
components are shipped on one DVD. The components on each DVD are
listed in Table 9.
.

Table 9: CD Contents

Component 8.1.7 8.1.6 8.1.5 8.1.4 8.1.3 8.1.2

Genesys Voice Platform DVD #1

Resource Manager (RM) ✓ ✓ ✓ ✓ ✓ ✓

Deployment Guide 205


Chapter 4: Prerequisites and Planning GVP Installation DVDs

Table 9: CD Contents (Continued)

Component 8.1.7 8.1.6 8.1.5 8.1.4 8.1.3 8.1.2

Media Control Platform (MCP) ✓ ✓ ✓ ✓ ✓ ✓

Call Control Platform (CCP) ✓ ✓ ✓ ✓ ✓ ✓

Reporting Server (RS) ✓ ✓ ✓ ✓ ✓ ✓

Squid Caching Proxy ✓ ✓ ✓ ✓ ✓ ✓

Supplementary Services Gateway (SSG) ✓ ✓ ✓ ✓ ✓ ✓

Computer Telephony Integration (CTI) Connector ✓ ✓ ✓ ✓ ✓ ✓

Public Switched Telephone Network (PSTN) ✓ ✓ ✓


Connector

Policy Server (PS) ✓ ✓ ✓ ✓

Media Resource Control Protocol (MRCP) Proxy ✓ ✓ ✓ ✓

Management Information Bases (MIB) ✓ ✓

Genesys Media Server DVD #2

Resource Manager (RM) ✓ ✓ ✓ ✓ ✓

Reporting Server (RS) ✓ ✓

Media Control Platform (MCP) ✓ ✓ ✓ ✓ ✓

Management Information Bases (MIB) ✓ ✓ ✓ ✓ ✓

The Fetching Module is integrated with the Media Control and Call Control
Platforms and is included in those Installation Packages (IP). The Squid
Caching Proxy, and CTI Connector are included for Windows only. The PSTN
Connector is for Windows and Linux. The Genesys Composer installation
software ships on a separate DVD.
The PSTN Connector and GVPi are not included in the releases above 8.1.4,
but they are still supported. For more information about how these components
are supported, see PSTN Connector and GVPi Support in 8.1.5, page 214.

Note: GVP is installed, provisioned, and managed by using Genesys


Administrator. Ensure that you have Genesys Administrator installed
as part of your deployment. For information about Genesys
Administrator, see the Framework 8.1 Deployment Guide.

206 Genesys Voice Platform 8.1


Chapter 4: Prerequisites and Planning Prerequisites

Prerequisites
Table 10 summarizes the software requirements for GVP 8.1 deployments on
Windows.

Note: Genesys recommends that you review “Host Setup” on page 213 and
the Task Summary table at the beginning of Chapter 6, Appendix A, or
Appendix B before you install any software.

Table 10: Software Requirements—Windows

Category Requirements and comments

Operating system on GVP servers

Genesys Voice Platform 8.1 • Microsoft Windows Server 2003, SP2 and 2008:
(Mandatory) 
64-bit binaries running on 64-bit OS (optimal performance)

32-bit binaries running on 64-bit OS

32-bit binaries running on 32-bit OS
• Microsoft Windows Server 2008 R2:

64-bit binaries running on 64-bit OS (optimal performance)

32-bit binaries running on 64-bit OS
Notes: Microsoft Visual C++ is installed automatically with the GVP
IPs.

Operating system supporting components

Reporting Server and Policy Sun Java Runtime Environment (JRE) 7.0 or later
Server Download the Sun JRE platform software from the Sun Microsystems
website. If using Windows 2008 64-bit, download the 64-bit Sun JRE
platform.

Microsoft Internet • Common files.


Information Services • IIS Manager Snap-In for Microsoft Management Console
(IIS) 6.0 components
• World Wide Web server
(Mandatory for GVP 8.1.1
Install these component from the Windows 2003 CD either by using
and earlier 8.x releases)
Add/Remove Programs or downloading them from the Microsoft website.
Note: In GVP 8.1.1 and earlier releases, IIS was required to host inline
and universal hotkey grammar files that were fetched by ASR.In
GVP 8.1.2 and later releases, IIS is not required, unless you are using
GVPi. If GVPi is used, IIS MUST be installed before installing the MCP.

Deployment Guide 207


Chapter 4: Prerequisites and Planning Prerequisites

Table 10: Software Requirements—Windows (Continued)

Category Requirements and comments

Operating system supporting components (continued)

Reporting Server Database Required only on GVP servers that have Reporting Server DB installed:
requirements • Microsoft SQL Server 2008 (clustered and/or replicated), or 2005 SP2
(Standard and Enterprise editions), or
Oracle 10g, 10g Real Application Cluster (RAC), or 11g RAC
Database Server (Standard and Enterprise editions)
For additional information about supported operating systems for the
Reporting Server Database, see “Host Setup” on page 213.
Download the SQL Server or the Oracle Database Server software from
the vendor’s website. It is your responsibility to obtain the appropriate
licenses for this software.

Management and monitoring • Genesys Simple Network Management Protocol (SNMP) Master
tools Agent
(Optional) • SNMP Network Management Software (NMS)
(optional)
The Genesys SNMP Master Agent is installed on the same host(s) as the
VP Resource Manager, VP Media Control Platform, VP Call Control
Platform, and VP Fetching Module components.
Install the Genesys SNMP Master Agent software from the Genesys
Management Framework Installation CD. You can use any type of
SNMP NMS—for example, HP OpenView.

Specific services and settings You must configure certain specific services and settings on each host
(Mandatory) before you install GVP.
For more information, see “Windows Services and Settings” on
page 223.

Web browser (for Used only from the administrator’s desktop:


administration) • Microsoft Internet Explorer (IE) 6.0, SP1, up to and including 8.0.
(Mandatory) • Firefox 2.x, up to and including 3.6.

Third-party supporting components

Third-party TDM interface If you are installing the PSTN Connector:


(Mandatory for PSTN • Dialogic v6.0
Connector only) • Dialogic Service Update 241

208 Genesys Voice Platform 8.1


Chapter 4: Prerequisites and Planning Prerequisites

Table 10: Software Requirements—Windows (Continued)

Category Requirements and comments

Automatic speech Genesys recommends that the ASR servers are installed and
recognition (ASR) operational before you install the Genesys Voice Platform. Genesys
(Optional) has validated the following third-party ASR software:
• Nuance SpeechWorks Media Server (SWMS) 3.1.19, with Patch
NSRD00060805 for Windows, and Nuance OpenSpeech Recognizer
(OSR) 3.0.18.
• Nuance Speech Server (NSS) 5.1.3 with Nuance Recognizer 9.0.18
• NSS 5.0.9 with Nuance Recognizer 9.0.14
• Telisma Telispeech ASR 2.0 SP1.
• IBM WebSphere Voice Server (WVS) 6.1.1 ASR or higher.
It is your responsibility to obtain the software and the appropriate
licenses. Media Resource Control Protocol version 1 (MRCPv1) and
MRCP version 2 (MRCPv2) are supported.
For more speech information, see the Genesys Supported Media
Interfaces Reference Manual.

Text-to-speech (TTS) Genesys recommends that the TTS servers are installed and
(Optional) operational before you install the Genesys Voice Platform. Genesys
has validated the following third-party TTS software:
• Nuance SWMS 3.1.19, Service Pack 1 with Nuance RealSpeak TTS
4.0.12.
• NSS 5.1.3 with Vocalizer 5.0.3
• NSS 5.1.1 with Nuance RealSpeak 4.54
• IBM WebSphere Voice Server (WVS) 6.1.1 TTS or later, with IBM
TTS connector
It is your responsibility to obtain the software and the appropriate
licenses. MRCPv1 and MRCPv2 are supported. For more speech
information, see the Genesys Supported Media Interfaces Reference
Manual.

Deployment Guide 209


Chapter 4: Prerequisites and Planning Prerequisites

Table 11 summarizes the software requirements for GVP 8.1 deployments on


Linux.
Table 11: Software Requirements—Linux

Category Requirements and comments

Operating system on GVP servers

For Genesys Voice • Red Hat Enterprise Linux 5.x Advanced Platform
Platform 8.1  64-bit binaries running on 64-bit OS (optimal performance)
(Mandatory)  32-bit binaries running on 64-bit OS
 32-bit binaries running on 32-bit OS
• Red Hat Enterprise Linux 4 Advanced Server
 32-bit binaries running on 32-bit OS

Reporting Server and Policy Sun Java Runtime Environment (JRE) 7.0 or later.
Server Download the Sun JRE platform software from the Sun Microsystems
website. If using Windows 2008 64-bit, download the 32-bit Sun JRE
platform.

Operating system supporting components

Reporting Server Database Required only on GVP servers that have Reporting Server DB installed:
requirements • Oracle 10g, 10g, or 11g Real Application Cluster (RAC) Database
Server (Standard or Enterprise editions).
For additional information about supported operating systems for the
Reporting Server Database, see “Host Setup” on page 213.
Download the Oracle Database Server software from the Oracle website.
It is your responsibility to obtain the appropriate licenses for this
software.

Apache HTTP Server • httpd-2.0 or later.


(Mandatory for GVP 8.1.1 Install Apache on the Media Control Platform and Call Control Platform
and earlier 8.x releases) host(s) before you install the GVP components.
Note: In GVP 8.1.1 and earlier releases, Apache HTTP Server was
required to host inline and universal hotkey grammar files that were
fetched by ASR. In GVP 8.1.2, Apache is no longer required. The Media
Control Platform now transmits these grammars by default in the MRCP
requests.

210 Genesys Voice Platform 8.1


Chapter 4: Prerequisites and Planning Prerequisites

Table 11: Software Requirements—Linux (Continued)

Category Requirements and comments

Operating system supporting components (continued)

Management and monitoring • Genesys Simple Network Management Protocol Master Agent.
tools • SNMP Network Management Software (optional).
(Optional) The Genesys SNMP Master Agent is installed on the same host(s) as the
VP Resource Manager, VP Media Control Platform, VP Call Control
Platform, and VP Fetching Module components.
Install the Genesys SNMP Master Agent software from the Genesys
Management Framework Installation CD. See Framework 8.0
Deployment Guide. You can use any type of SNMP NMS—for example,
HP OpenView.

Specific services and settings You must configure certain specific services and settings on each host
(Mandatory) before you install GVP.
For more information, see the Task Summary: Preparing Your
Environment for GVP (Linux), on page 355.

Web browser (for Used only from the administrator’s desktop:


administration) • Microsoft Internet Explorer 6.0, SP1 or 7.0
(Mandatory)

Third-party supporting components

Automatic speech recognition Genesys recommends that the ASR servers are installed and
(Optional) operational before you install the Genesys Voice Platform. Genesys
has validated the following third-party ASR software:
• Nuance SpeechWorks Media Server (SWMS) 3.1.19, with Patch
NSRD00060805 for Linux, and Nuance OpenSpeech Recognizer
(OSR) 3.0.18.
• Nuance Speech Server (NSS) 5.1.3 with Nuance Recognizer 9.0.18
• NSS 5.0.9 with Nuance Recognizer 9.0.14
• Telisma Telispeech ASR 2.0 SP1.
• IBM WebSphere Voice Server (WVS) 6.1.1 ASR or higher.
It is your responsibility to obtain the software and the appropriate
licenses. MRCPv1 and MRCPv2 are supported.
For more speech information, see the Genesys Supported Media
Interfaces Reference Manual.

Deployment Guide 211


Chapter 4: Prerequisites and Planning Dialogic Telephony Cards

Table 11: Software Requirements—Linux (Continued)

Category Requirements and comments

Text-to-speech Genesys recommends that the TTS servers are installed and
(Optional) operational before you install the Genesys Voice Platform. Genesys
has validated the following third-party TTS software:
• Nuance SWMS 3.1.19, Service Pack 1 with Nuance RealSpeak TTS
4.0.12.
• NSS 5.0.9 with Nuance RealSpeak 4.5
• NSS 5.1.3 with Vocalizer 5.0.3
• IBM WebSphere Voice Server 6.1.1 TTS or later, with IBM TTS
connector
It is your responsibility to obtain the software and the appropriate
licenses. MRCPv1 and MRCPv2 are supported.
For more speech information, see the Genesys Supported Media
Interfaces Reference Manual.

Dialogic Telephony Cards


The PSTN Connector relies on Dialogic hardware and software to provide a
gateway solution for customers with existing TDM-based networks to simplify
the integration and migration to the GVP IP-based solution.
The following Dialogic telephony cards are supported on Windows:
• Dialogic DM/V480A • Dialogic DM/V1200BTEP
• Dialogic DM/V960A • Dialogic D240JCT
• Dialogic DM/V600A • Dialogic D480JCT
• Dialogic DM/V1200A • Dialogic D300JCT
• Dialogic DM/V600BTEP • Dialogic D600JCT

The PSTN Connector does not impose a limit on the number of cards it can
support. Limitation arises from the number of PCI slot in the machine and the
load on the PCI bus.
Dialogic Software GVP supports Dialogic v6.0 with Service Update 241 for Windows, and
Service Update 327 with RHEL Linux.
For information about how to install and configure the PSTN Connector, see
“Installing GVP by Using the Wizard” on page 238 and “Provisioning the
PSTN Connector” on page 274.
Dialogic Circular When you configure the PSTN Connector application, set the value for
Buffer Size [DialogicManager] DialogicTransferBufferSize to 2048. This specifies the
size of the Dialogic Circular buffer which is used for transferring data to the
Dialogic firmware. The default value of this parameter on Windows is

212 Genesys Voice Platform 8.1


Chapter 4: Prerequisites and Planning Antivirus Software

different, but must be set to 2048 for Linux. If not, the Dialogic may return
LOW_WATER_MARK warnings during initial play of the media, which interferes
with normal audio play and may result in the prompt being cut off.

Antivirus Software
Antivirus software can affect system performance and call response time. In an
ideal deployment, antivirus software is disabled on GVP systems. However,
Genesys understands the need to have antivirus protection on servers and,
therefore recommends, at a minimum, that you exclude the GVP directory
from virus scanning, and that you schedule system scans to occur at times
when traffic is low.
Also, be aware that antivirus software may interfere with the installation of
GVP during initial deployment. Make sure that the server is not running
antivirus software, or any other third-party software, during installation.

Host Setup
GVP provides some flexibility in combining various components on one host;
however, the following restrictions apply:
• If you are installing Genesys Administrator and (a single instance of) the
Media Control Platform on the same host, you must install GVP by using
the manual procedures and ensure that Genesys Administrator is shut down
during the installation. Genesys does not recommend that you install
Genesys Administrator on a host that has multiple instances of the Media
Control Platform.
• If the Resource Manager is in active–standby High Availability (HA)
mode, Genesys recommends that other SIP components that communicate
with the Resource Managers are installed on different servers, unless they
support static routing and do not interfere with the Resource Manager’s
HA mechanism. When the Resource Manager is in active–backup mode, it
uses Network Load Balancing (NLB) (on Windows) or Virtual IP takeover
(on Linux or Windows). Other SIP HA components (for example, SIP
Server) that use the same HA mechanism as the Resource Manager can
interfere if deployed on the same servers within the cluster. In addition,
when a Virtual IP address is used, Windows NLB has a limitation, where
the Virtual IP always resolves to localhost on servers within the NLB
cluster.
• If you are installing the Media Control Platform and the PSTN Connector
on the same host, ensure the value of the rtpthreadlevel option in the mpc
section of the Media Control Platform to TIME_CRITICAL.

Deployment Guide 213


Chapter 4: Prerequisites and Planning PSTN Connector and GVPi Support in 8.1.5

The following are some additional restrictions or requirements:


• If you are installing multiple instances of the same GVP 8.1.1 (and earlier
8.x versions) component, you must install each instance on a different host.
The Genesys Administrator 8.0.2 (and earlier) Deployment Wizard
supports installing only a single instance of a component on each host. In
GVP 8.1.2 and Genesys Administrator 8.0.3 multiple instances of the
Media Control Platform on a single server is supported. See “Deploying
Multiple Media Control Platforms” on page 389.
• For GVP 8.1.1 and earlier 8.x versions, the Fetching Module and Squid
caching proxy are required on computers hosting the Media and Call
Control Platforms. In GVP 8.1.2, the Fetching Module is integrated with
the Media and Call Control Platforms and the Squid proxy is optional.
• The Reporting Server can be deployed with one Resource Manager
instances only, unless the Resource Manager is deployed in HA mode.
When the Resource Manager is in HA mode, the Reporting Server
recognizes the HA pair as a single instance.
• The Reporting Server Database (DB) is supported in the following ways:

The Reporting Server DB does not have to reside on the server where
Reporting Server is installed.
 The Reporting Server DB can be installed on Windows or Linux.
• The Reporting Server DB and the Reporting Server can be installed on
different operating systems. (For example, the Reporting Server can be on
Windows and the DB on Linux).

Note: There are additional restrictions for the Reporting Server host if it
is configured for High Availability, see Appendix F on page 465

• You can mix GVP components that are installed on different operating
systems within a deployment.

PSTN Connector and GVPi Support in 8.1.5


The PSTN Connector and Legacy GVP VoiceXML interpreter (GVPi) are not
included in the 8.1.5 release, but they are still supported and can be deployed
in 8.1.5 environments. However, at least one instance of the 8.1.4 Media
Control Platform is required to provide capability-based routing of PSTN
Connector and GVPi requests for media services.
In other words, the 8.1.4 Media Control Platform can interoperate with all
GVP 8.1.5 components, but the 8.1.4 PSTN Connector and GVPi can not.
For example, your 8.1.5 environment might be deployed in the following way:
• A pool of 8.1.5 Media Control Platform instances is deployed to enable
new media capabilities like video.

214 Genesys Voice Platform 8.1


Chapter 4: Prerequisites and Planning Voice Platform Solution

• A pool of 8.1.4 Media Control Platform instances is deployed to support


GVPi and/or the PSTN Connector (together in the same environment).
To do this, you must provision two separate MCP Logical Resource Groups
(LRG), each with different capabilities. For example:
1. The 8.1.5 MCP Resource Group must have video and other media
capabilities configured.
2. The 8.1.4 MCP Resource Group must have the GVPi and PSTN Connector
3. The Resource Manager’s capability-based routing feature must be
configured to ensure that the PSTN Connector (using GVPi) calls are
handled by the 8.1.4 MCP Resource Group only.
4. To ensure the correct LRG processes the calls, create an IVR profile that
requests the PSTN Connector/GVPi capability-based routing features (they
must match the ones that are defined in the LRG).
To configure the Resource Groups and IVR Profiles to support this
configuration, see the sections “Using Resource Groups” on page 288 and
“Creating IVR Profiles and DID Groups” on page 291 in this guide, and “IVR
Profile Configuration for GVPi”, Chapter 6 in the Genesys Voice Platform 8.1
User’s Guide.

Voice Platform Solution


This section describes the required and optional components for a successful
deployment of a Voice Platform Solution (VPS).
Table 12 lists the versions of Management Framework components and SIP
Server that are recommended for each GVP release.
Table 12: Versions Compatible With GVP

GVP version Management Framework SIP Server


version version

Genesys Configuration
Administrator Server

8.1.7 8.1.3 8.1.3 8.1.1

8.1.6 8.1.3 8.1.2 8.1.0

8.1.5 8.1.2 8.1.1 8.1.0

8.1.4 8.1.0 8.1.0 8.0.4

8.1.3 or 8.1.2 8.0.3 8.02 8.0.3

8.1.1 8.0.11 8.0.1 8.0.2

Deployment Guide 215


Chapter 4: Prerequisites and Planning Voice Platform Solution

Table 12: Versions Compatible With GVP (Continued)

GVP version Management Framework SIP Server


version version

8.1 8.0.1 8.0.1 8.0.2

Note: If you plan to install the MRCP Proxy and Policy Server, you must
upgrade to Genesys Administrator 8.1.0 and Configuration Server 8.1.1. If not,
the 8.0.2 versions are acceptable and compatible with all other GVP 8.1.4
components.

Voice Platform Solution and Dependencies


The following is an overview of a VPS and the associated dependencies:
• A centralized instance of Genesys Management Framework that includes
the following components:

Configuration Database
 Log DB Server

Microsoft SQL Server or Oracle Database Server

Configuration Server
 Genesys Administrator

Solution Control Server

Solution Control Interface (optional)
 Message Server

Local Control Agent—required on all GVP 8.1.x hosts

Optional: Genesys SNMP Master Agent on all GVP 8.1 hosts
(See Table 12 on page 215 for Management Framework versions that
are compatible with each GVP release.)
• Session Initiation Protocol (SIP) Server
• IVR Server 8.0
• Stat Server
• Universal Routing Server
• T-Server (switch-specific)
• Voice Platform (VP) Resource Manager:
 Mandatory component—one or more per deployment

Can be deployed as an active–active or active–standby pair for high
availability

Prerequisite: Local Control Agent
 Optional: SNMP Master Agent
• VP Media Control Platform:

Mandatory component—one or more per deployment

216 Genesys Voice Platform 8.1


Chapter 4: Prerequisites and Planning Voice Platform Solution


Prerequisite: Local Control Agent

Optional: SNMP Master Agent
• VP Call Control Platform:

Optional component—one or more per deployment

Prerequisite: Local Control Agent

Optional: SNMP Master Agent
• VP Reporting Server:

Optional component—one or more per deployment

Prerequisite: Local Control Agent

Prerequisite: Database Server (Microsoft SQL Server 2005, 2008 or
Oracle 10 g, 11g)

Prerequisite: Sun JRE 6.0, Update 19 or later

Optional: SNMP Master Agent
• VP CTI Connector:
 Optional component—one per deployment

Prerequisite: Local Control Agent

Prerequisite: IVR Server or Cisco Intelligent Contact Management
(ICM) (based on the deployment)
 Optional: SNMP Master Agent
• VP PSTN Connector:
 Mandatory component for TDM integration—many per deployment

Prerequisite: Local Control Agent

Prerequisite: Dialogic v6.0 with Service Update 241
 Optional: SNMP Master Agent
• VP Supplementary Services Gateway:
 Optional component—many per deployment

Prerequisite: Local Control Agent
 Optional: SNMP Master Agent
• VP Policy Server
 Optional component—many per deployment

Prerequisite: Local Control Agent

Optional: SNMP Master Agent
• VP MRCP Proxy

Optional component—many per deployment
 Prerequisite: Local Control Agent

Deployment Guide 217


Chapter 4: Prerequisites and Planning Voice Platform Solution


Optional: SNMP Master Agent

Note: You can deploy many UCM Connectors in your environment.


However, a single UCM Connector can interact with only one Cisco
T-Server. Alternatively, a single Cisco T-Server can interact with
multiple UCM Connectors.

VPS Components—Minimum Deployment


At a minimum, the following components are required to deploy the VPS:
• Management Framework components
• Genesys Administrator
• SIP Server
• GVP components

One Resource Manager

One Reporting Server (optional)
 One Media Control Platform
Fetching Module

Squid Caching Proxy


Note: In GVP 8.1.2, the Fetching Module is integrated with the Media
Control and Call Control Platforms and is no longer a separate
Installation Package. Also, the Squid caching proxy is optional.

Optional Components
The following components are optional:
• One or more additional Supplementary Services Gateways—More than
one instance can communicate with the same SIP Server, but each
Supplementary Services Gateway instance must have a unique Resource
DN.
• Multiple VP Resource Managers—For high availability in active–standby
and active–active HA modes.
• Multiple VP Reporting Servers—For high availability in Active–Standby.
• One or more additional VP Media Control Platforms with VP Fetching
Module and VP Squid—Depends on sizing.
• One or more VP Call Control Platforms with VP Fetching Module and VP
Squid—Depends on sizing.
• SNMP Master Agent—See “Voice Platform Solution and Dependencies”
on page 216.

218 Genesys Voice Platform 8.1


Chapter 4: Prerequisites and Planning Voice Platform Solution

• CTI Connector—See “CTI Connector” on page 53 and “How the CTI


Connector Works” on page 125.
• PSTN Connector—Optional only for customer who do not use traditional
TDM technology in their environment, otherwise, it is required. See
“PSTN Connector” on page 56 and “How the PSTN Connector Works” on
page 132.
• Policy Server—Optional, but recommended for enterprise environments
that include multi-tenant hierarchies. See “How the Policy Server Works”
on page 118.
• MRCP Proxy—Optional, but recommended in environments where
MRCPv1 ASR/TTS usage reporting is required. See “How the MRCP
Proxy Works” on page 175.

Options to Deploying VP Reporting Server


Genesys recommends that you deploy at least one VP Reporting Server per
deployment. When VP Reporting Server is installed, GVP Reporting data can
be viewed on the Monitoring tab in the Genesys Administrator GUI. VP
Reporting Server also provides an API, which allows GVP reporting data to be
used with third party reporting products.
If you do not require GVP historical reporting in your deployment, you can
deploy VP Reporting Server without a Reporting Server database. This
deployment option retains support for the GVP dashboard reports. If you do
not require the historical or dashboard reports, installation of the VP Reporting
Server is not required.

Startup Sequence for the VPS


Table 13 describes the recommended startup sequence that is used to start the
VPS successfully at initial startup, or if any component in the solution is
stopped and must be restarted. It includes only those components that are listed
in “VPS Components—Minimum Deployment” on page 218.
See the following procedures describe ways to stop and start GVP Application
and Solution objects:
• Procedure: Starting and Stopping GVP Solution Objects, on page 312
• Procedure: Starting and Stopping GVP Application Objects, on page 313
• Procedure: Configuring Application Objects to Start Automatically, on
page 314

Deployment Guide 219


Chapter 4: Prerequisites and Planning Important Information about HMT Permissions and Access Rights

Table 13: Startup Sequence—VPS (Minimum Deployment)

Requirement VPS component

Components that must be 1. Management Framework components


operational before you 2. SIP Server
start the GVP
3. Database Server—prerequisite for the Reporting
components
Server, but optional.

GVP Components 1. Reporting Server


2. Resource Manager
3. Media Control Platform
4. Call Control Platform

Important Information about HMT


Permissions and Access Rights
If you are deploying GVP in a multi-tenant environment, you must ensure that
the service provider or GVP enterprise manager is the only user assigned to the
super-users access group, and therefore, is solely responsible for managing
DID Groups and defining tenants. In addition, to maintain numbering and
naming uniqueness, which is a GVP requirement, tenants must not be assigned
edit permissions for their own configurations. However, tenant users can be
assigned read permissions, which enable them to read and modify their
configurations and reports
The tenant that is defined as the parent becomes the reference entry point in
the tenant hierarchy. The parent tenant with read permissions can view their
child tenants and their configurations and reports, but cannot view the child
tenants below them (their grandchild tenants).

220 Genesys Voice Platform 8.1


Part

2 Installation
Part Two of this Deployment Guide describes how to install the Genesys Voice
Platform (GVP) on the Windows and Linux operating systems by using
Genesys Administrator. It also describes advanced configuration and how to
maintain GVP. This information appears in the following chapters:
• Chapter 5, “Preparing the Operating System for GVP,” on page 223
• Chapter 6, “Installing GVP,” on page 229
• Chapter 7, “Post-Installation Configuration of GVP,” on page 253
• Chapter 8, “Maintaining the Genesys Voice Platform,” on page 311

Deployment Guide 221


Part 2: Installation

222 Genesys Voice Platform 8.1


Chapter

5 Preparing the Operating


System for GVP
This chapter describes how to prepare the Windows operating system for
Genesys Voice Platform (GVP) 8.1.x deployments. It contains the following
section:

Windows Services and Settings, page 223
For information about the software prerequisites when deploying GVP on the
Windows platform, see “Prerequisites” on page 207.

Note: There are no requirements to prepare the Linux platform for GVP.
This section contains information about the Windows platform only.

Note: GVP supports installation on virtual machines created by VMware


ESXi5 software. All the same requirements for physical GVP host
systems apply. See the VMWare ESXi5 manuals and the operating
system vendor documentation for installing virtual machines.

Windows Services and Settings


Complete the tasks to configure Windows services and modify Registry
settings on each host before you install GVP. See Task Summary: Specifying
Windows Services and Settings.

Warning! When you name a computer, do not use the underscore (_)
character, even though Windows setup permits it. Using the
underscore character causes serious problems with several web
services used by the GVP software.

Deployment Guide 223


Chapter 5: Preparing the Operating System for GVP Windows Services and Settings

Task Summary: Specifying Windows Services and Settings

Objective Related procedures and actions

Modify Windows Registry settings 1. (Optional) On Windows 2003 only:


Modify the Internet Protocol (IP) Type-of-Service
(ToS) option in the Windows Registry to ensure the
ToS bits are correctly marked when the Resource
Manager sends SIP INVITE messages to the Media
Control Platform.
Use the regedit.exe command to modify the following
registry key:
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/
Services/tcpip/Parameters
a. Select Edit > New.
b. Click the DWORD value, enter
DisableUserTOSSetting and press ENTER.
c. Exit the Registry and reboot the computer.
When the DWORD value is added, the value is set to 0
(zero) and should not be changed.

2. On Windows 2008 and 2003:


Accommodate environments that handle a large number
of concurrent calls or enable quick usage of MRCPv2
ASR & TTS resources by changing the following
Windows Registry parameter on all GVP hosts before
you begin the deployment.
If you have planned your environment to reach call
volumes of more than 200 concurrent calls, use the
regedit.exe command to add the DWORD parameter to
the following registry key:
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/
Services/tcpip/Parameters
a. Select Edit > New.
b. Click the DWORD value, enter TcpTimedWaitDelay
with decimal value: 30 (or hex value: 1e)
c. Exit the Registry and reboot the computer.
The minimum value for this parameter is 30 seconds. If
a value less than 30 is specified, the DWORD resets to the
default of 240 seconds.

224 Genesys Voice Platform 8.1


Chapter 5: Preparing the Operating System for GVP Windows Services and Settings

Task Summary: Specifying Windows Services and Settings (Continued)

Objective Related procedures and actions

Modify Windows OS settings 3. On Windows 2008 only:


Set the IP DiffServ bits on outgoing packets by
defining the QoS Policy in the QoS Packet Scheduler,
which is included in the OS.
For instruction about how to define the IP DiffServ bits
on outgoing packets per executable or per port, see the
article, Creating and Editing the QoS Policy in the Tech
Center Library on the Microsoft website.
Note: Changing the QoS policy is optional and should
not be done casually.

4. On Windows 2008 only:


If you are installing the PSTN Connector and Dialogic,
disable Physical Address Extensions (PAE) by
executing the following commands in the CLC:
C:\bcdedit /set nx OptOut
C:\bcdedit /set pae ForceDisable
Then, restart the server.

Enable or disable the required services, and Modify the following services as indicated:
set service start modes
• Alerter: Disabled

• Application Manual
Management:

• Com + Event System: Manual

• Computer Browser: Disabled

• Event Log: Automatic

• Internet Information Automatic


Server (IIS) Admin
Service:

• Indexing Service: Disabled

• License Logging: Disabled

• Messenger: Disabled

• Net Logon: Automatic

• NT LAN Manager Manual


(LM) Security Support
Provider:

Deployment Guide 225


Chapter 5: Preparing the Operating System for GVP Windows Services and Settings

Task Summary: Specifying Windows Services and Settings (Continued)

Objective Related procedures and actions

Enable or disable the required services, and • Plug and Play: Automatic
set service start modes (continued)
• Protected Storage: Automatic

• Remote Procedure Call Automatic


(RPC):

• Remote Procedure Call Manual


(RPC) Locator:

• Server: Automatic

• System Event Automatic


Notification:

• Task Scheduler: Automatic

• TCP/IP NetBIOS Automatic


Helper:

• Telephony: Manual

• Uninterruptible Power Manual


Supply (UPS):

• Workstation: Automatic

• World Wide Web Automatic


Publishing Service:

Specify the recommended system See Procedure: Configuring Settings for System
performance settings. Performance.

Procedure:
Configuring Settings for System Performance

Purpose: To maximize the performance of the GVP hosts in your deployment.

Summary
Complete this procedure for each Windows server that will host GVP
components.

226 Genesys Voice Platform 8.1


Chapter 5: Preparing the Operating System for GVP Windows Services and Settings

Start of procedure
1. Go to Control Panel > System > Advanced tab.
2. In the Performance section, click Settings.
The Performance Options page appears.
3. Click the Advanced tab.
4. In the Processor scheduling section, select Background services.
5. Set the virtual memory size:
a. In the Virtual memory section, click Change.
The Virtual Memory page appears.
b. Select Custom size, and then set the following:
• Initial size (MB): 1.5 times your RAM
• Maximum size (MB): 2 times your RAM
c. Click Set.
6. Click OK to exit all dialog boxes.
7. When prompted, restart the computer.

End of procedure

Next Steps
• No additional steps are required.

Deployment Guide 227


Chapter 5: Preparing the Operating System for GVP Windows Services and Settings

228 Genesys Voice Platform 8.1


Chapter

6 Installing GVP
This chapter describes how to install Genesys Voice Platform (GVP) on
Windows or Linux operating systems (OS) by using the Genesys Deployment
Wizard. It contains the following sections:

Task Summaries, page 229

Preparing the Hosts for GVP, page 232
 Installing GVP by Using the Wizard, page 238

Installing the GAX-GVP Reporting Plugin, page 245

GVP-GAX Reporting Plugin Privileges, page 250

Task Summaries
The following Task Summary: Preparing Your Environment for GVP contains
a list of tasks required to prepare your environment for GVP and includes links
to detailed information required to complete these tasks.

Task Summary: Preparing Your Environment for GVP

Objectives Related procedures and actions

Plan the deployment For specific restrictions and recommendations to consider,


see “Host Setup” on page 213.

Prepare your environment—Install 1. Management Framework.


common Genesys Framework Deploy Genesys Management Framework and ensure
components that it is fully operational and running. See
Framework 8.1 Deployment Guide.
Management Framework is the centralized element
management system for all Genesys software.

Deployment Guide 229


Chapter 6: Installing GVP Task Summaries

Task Summary: Preparing Your Environment for GVP (Continued)

Objectives Related procedures and actions

Prepare your environment—Install 2. Genesys Administrator.


common Genesys Framework Install Genesys Administrator and ensure that it is fully
components (continued) operational. See Framework 8.1 Deployment Guide.
Genesys Administrator is the centralized management
GUI for all Genesys software.

3. Genesys SNMP Master Agent.


Install and configure the SNMP Master Agent on the
same host(s) as the Resource Manager, Media Control
Platform, Call Control Platform, Supplementary Services
Gateway, CTI Connector, and PSTN Connector
components.
After the SNMP Master Agent has been installed on the
GVP hosts, you will assign the SNMP Master Agent to
each component for which you want to capture alarm and
trap information. This is a post-installation activity (see
“Creating a Connection to a Server” on page 262).
The Genesys Voice Platform 8.1 DVD includes an MIB
Installation Package that can be loaded on the SNMP
management console (for example, HP Open View) in
your environment. To install the MIBs, run the setup.exe
file and select the default installation path:,
C:\Program Files\GCTI\gvp\VP MIB 8.1
Note: The SNMP Master Agent is required only if you are
capturing alarm and trap information. For more information
about installing the Management Framework and the SNMP
Master Agent, see the Framework 8.1 Deployment Guide.
For more information about the MIBs, see the Genesys Voice
Platform 8.1 SNMP and MIB Reference.

Prepare your environment—Install third 4. Third-party hardware and software.


party software 
If you are using automatic speech recognition (ASR)
and/or text-to-speech (TTS), install the third-party
Media Resource Control Protocol (MRCP) speech
server and ensure that it is operational. For more
information about this software, see your MRCP
vendor’s documentation.
For information about prerequisite software, see
“Prerequisites” on page 207.

Prepare the host(s) 1. Stop antivirus software that might be running on systems
that will host GVP components.
Check the vendor documentation for your antivirus
software configuration.

230 Genesys Voice Platform 8.1


Chapter 6: Installing GVP Task Summaries

Task Summary: Preparing Your Environment for GVP (Continued)

Objectives Related procedures and actions

Prepare the host(s) (continued) 2. Install the Local Control Agent on the GVP host(s).
See Procedure: Installing the Local Control Agent
(Windows), on page 235 or Procedure: Installing the
Local Control Agent (Linux), on page 236.

Complete the prerequisites 1. Install the Squid caching proxy on the Media and Call
Control Platform hosts (Windows). Squid is installed
with the OS on Linux. To confirm that Squid is
installed, check Windows Services, or type the rpm -qa
| grep squid command in Linux.
Note: In GVP 8.1.2, Squid is optional and is no longer a
prerequisite for the Fetching Module.

2. On the Media Control Platform, install the Apache Web


Server (Linux only).
Obtain the latest Red Hat Package Manager (RPM) for
the Apache Web Server from the vendor’s website and
follow the instructions for installing it.
Configure the Apache Web Server to start automatically
at startup. Modify the /etc/rc.d/rcX.d file.
Type /etc/init.d/httpd start, and press Enter.
For more information about the prerequisite software, see
“Prerequisites” on page 207 or visit the vendor’s website.
Note: In GVP 8.1.1 and earlier 8.x releases, the Apache
Server was required to host inline and universal hotkey
grammar files fetched by ASR. In GVP 8.1.2, Apache is
no longer required because these grammars are now
transmitted by default in the MRCP requests.

3. If you are adding the PSTN Connector to your


environment, install Dialogic.
To ensure Dialogic functions properly after installation,
you must disable the Physical Address Extension (PAE)
on Windows 2008.
From the command line interface (CLI), enter:
 C:\bcdedit /set nx OptOut

C:\bcdedit /set pae ForceDisable
and then restart the server.
For more information about the installing and
configuring Dialogic hardware and software, visit the
vendor’s website.

Deployment Guide 231


Chapter 6: Installing GVP Preparing the Hosts for GVP

The following Task Summary: Deploying GVP by Using Genesys


Administrator contains a list of tasks required to install GVP and includes links
to detailed information required to complete these tasks.

Task Summary: Deploying GVP by Using Genesys Administrator

Objectives Related procedures and actions

Configure the host(s) 1. Configure a new host in the Configuration Database for
each computer that is hosting GVP components.
See Procedure: Configuring a Host in Genesys
Administrator, on page 233.

Install GVP 2. Import the Installation Packages into the Genesys


Administrator Repository.
See Procedure: Importing the Installation Packages into
the Repository, on page 239.

3. Use the Genesys Deployment Wizard to install the GVP


components with basic configuration.
See Procedure: Using the Deployment Wizard to Install
GVP, on page 241.
Note: If the components are deployed on the same server
(all-in-one deployment), be aware of port conflicts. To avoid
port conflicts use the Genesys Deployment Wizard for
all-in-one deployments.

Start the components 4. Configure the GVP components to start automatically.


See “Startup Sequence for the VPS” on page 219 and
“Starting and Stopping the Components” on page 311.

Complete the post-installation activities 5. Configure the GVP components for the functionality that
you want use in your deployment.
See Task Summary: Post-Installation Configuration of
GVP, on page 253.
Note: Before you begin to plan and configure your GVP
resources, there is important information you should know
about tenant permissions and assigning DID Groups in
multi-tenant environments. See “Important Information
about HMT Permissions and Access Rights” on page 220.

Preparing the Hosts for GVP


In a solution environment that includes Management Framework, the
Configuration Server propagates configuration information to the servers that
are hosting Genesys components. To facilitate this, the Genesys Local Control
Agent (LCA) must be installed on each GVP host.

232 Genesys Voice Platform 8.1


Chapter 6: Installing GVP Preparing the Hosts for GVP

In addition, each new host is created in the Configuration Database through


Genesys Administrator so that the Configuration Server can detect their
presence.

Configuring Hosts in the Configuration Database


This section contains the following procedures, which describe how to prepare
the host(s) before the GVP components are installed:
• Configuring a Host in Genesys Administrator
• Installing the Local Control Agent (Windows) on page 235
• Installing the Local Control Agent (Linux) on page 236

Procedure:
Configuring a Host in Genesys Administrator

Purpose: To configure a host in Genesys Administrator to communicate with


the Configuration Server.

Summary
Each new host is configured in Genesys Administrator and is controlled and
monitored by the LCA.

Prerequisites
• The Genesys Administrator web application is installed on the
Management Framework host.
• You have obtained the Universal Resource Locator (URL) of Genesys
Administrator.

Start of procedure
1. In a web browser, type the URL to Genesys Administrator—for example:
http://<Genesys Administrator host>/wcm/
2. In the Login dialog box, enter the information as shown in Table 14

Table 14: Genesys Administrator Login

Field Description

User Name Enter the user name, typically default

Password Enter the password, typically password.

Deployment Guide 233


Chapter 6: Installing GVP Preparing the Hosts for GVP

Table 14: Genesys Administrator Login (Continued)

Field Description

Application Enter the application name of the Configuration Server,


typically default.

Host Name Enter the host name of the Configuration Server—for


example, ConfgS1.

Port Enter the port number of the Configuration Server,


typically 2020.

3. Click OK.
The Genesys Administrator graphical user interface (GUI) appears.
4. On the Provisioning tab, click Environment > Hosts> New.
5. In the General section of the Configuration tab, enter the information that
identifies the host, as shown in Table 15.
Table 15: Host Properties—Genesys Administrator

Field Description

Name: Enter the host name of the GVP host—for


example, MCP1

IP Address: Enter the IP address of the GVP host.

OS Type: From the drop-down list, select the OS type.

OS Version: Enter the version number of the OS that is installed


on the host.

LCA Port: The LCA port number 4999 is entered by default.

Solution Control Server: Browse to select the Solution Control Server


(SCS).

State: Enter a checkmark in Enabled.

Note: When you are entering the host name for Linux hosts, ensure that
the host name that is created in the Configuration Database is
identical to the host name of the Linux host (they are
case-sensitive). If the host names do not match, the installation
fails when the hostname command is executed.

234 Genesys Voice Platform 8.1


Chapter 6: Installing GVP Preparing the Hosts for GVP

6. Save the configuration.

End of procedure

Next Steps
• Install the LCA on the host. See Procedure: Installing the Local Control
Agent (Windows) or Procedure: Installing the Local Control Agent
(Linux), on page 236.

Procedure:
Installing the Local Control Agent (Windows)

Purpose: To install and configure the Local Control Agent on a Windows host.

Summary
You must install the LCA on each GVP host to ensure it is controlled and
monitored by the Solution Control Server. When you install the LCA, the
Genesys Deployment Agent (GDA) is also installed.

Prerequisites
• The servers on which you are installing GVP components meet the GVP
system requirements. For more information about these requirements see
Chapter 4 on page 205.
• The fully qualified domain names (FQDN) of Genesys servers do not
contain special characters, such as the underscore (_).

Note: To ensure that Genesys software works properly, FQDNs must


contain only standard characters, such as letters A–Z, a–z, digits 0–
9, and hyphens (-).

• Third-party software, especially antivirus software, is stopped on the


servers on which GVP components will be installed.
• You have obtained the Genesys Management Framework CDs, or a
network path and the location the LCA software. For a description of the
directory structure of the installation CDs, see the Framework 8.1
Deployment Guide.

Start of procedure
1. On the host, navigate to the directory that contains the installation files for
the Local Control Agent and then execute the setup.exe file.
2. At the prompt, enter the information that identifies the host, as shown in
Table 16.

Deployment Guide 235


Chapter 6: Installing GVP Preparing the Hosts for GVP

Table 16: Configuration Server Properties—Deployment Wizard

Field Description

Name: Enter the host name of the Configuration Server—for example,


Config1.

Port: Enter the port number of the Configuration Server. The default is
2020.

User: Enter a user name for the Configuration Server—typically,


default.

Password: Enter a password for the Configuration Server—typically,


password.

Note: When you install the LCA on the Supplementary Services


Gateway host, ensure that the name and port number of the
Configuration Server are the same as those that were configured
for the Reporting Server. This is necessary because the Reporting
Server polls the Supplementary Services Gateways data through
SNMP and is made aware of its existence through the
Configuration Server.

3. Click Next.
4. Restart the host computer.
5. After the host is restarted, open Windows Services, and verify that the
Local Control Agent and the Genesys Deployment Agent services are
installed and running.

End of procedure

Next Steps
• Complete the preinstallation activities. See “Preinstallation Activities” on
page 327.

Procedure:
Installing the Local Control Agent (Linux)

Purpose: To install and configure the Local Control Agent on a Linux host.

236 Genesys Voice Platform 8.1


Chapter 6: Installing GVP Preparing the Hosts for GVP

Summary
You must install the LCA on each GVP host to ensure it is controlled and
monitored by the Solution Control Server. When you install the LCA, the
Genesys Deployment Agency is also installed.

Prerequisites
• The servers on which you are installing GVP components meet the GVP
system requirements. For more information about these requirements see
Chapter 4 on page 205.
• The fully qualified domain names of Genesys servers do not contain
special characters, such as the underscore (_).

Note: To ensure that Genesys software works properly, FQDNs must


contain only standard characters, such as letters A–Z, a–z, digits 0–
9, and hyphens (-).

• Third-party software, especially antivirus software, is stopped on the


servers on which GVP components will be installed.
• You have obtained the Genesys Management Framework CDs, or a
network path and the location the LCA software. For the directory
structure of the Installation CDs, see the Framework 8.1 Reference Guide.

Start of procedure
1. At the Linux host, log in as root by typing su.
2. Log in as root and enter the path to the directory that contains the LCA
installation package.
3. Run the sh install.sh command.
The installation script is initiated.
4. At the prompt, enter the information that identifies the host, as shown in
Table 16 on page 236.

Note: When you install the LCA on the Supplementary Services


Gateway host, ensure that the name and port number of the
Configuration Server is the same as the one that was configured
for the Reporting Server. This is necessary because the Reporting
Server polls the Supplementary Services Gateways data through
SNMP and is made aware of its existence through the
Configuration Server.

5. At the prompt, enter the destination directory—for example:


/opt/genesys/lca

Deployment Guide 237


Chapter 6: Installing GVP Installing GVP by Using the Wizard

Note: Genesys recommends that you use the destination directory that is
shown in the example.

6. Configure the GDA to start automatically when the server is restarted—for


example,
/etc/rcX.d /etc/rc.d/init.d/gctigda start, and press Enter.
7. Configure the LCA to start automatically when the server is restarted—for
example,
/etc/rcX.d /etc/rc.d/init.d/gctilca start, and press Enter.
Alternatively, you can start the LCA and GDA manually at the Linux
prompt by using the following commands:
/etc/init.d/gctilca start and /etc/init.d/gctigda start

End of procedure

Next Steps

• Complete the preinstallation activities. See “Preinstallation Activities” on


page 327.

Installing GVP by Using the Wizard


The Genesys Administrator wizard simplifies the GVP deployment by
prompting you for the information that is required to install each component.
The Import Wizard enables you to import the GVP installation packages into a
repository. You can use the built-in Genesys Administrator Repository, or you
can create your own repository. Then, use the Deployment Wizard to install the
GVP components individually with a basic configuration, or to install multiple
instances of the same component on different hosts.
For information about how to create a repository, see Framework 8.0 Genesys
Administrator Help.

Note: If you are installing Genesys Administrator and the Media Control
Platform on the same host, you must install GVP by using the manual
procedures and ensure that Genesys Administrator is shut down
during the installation. For the procedures to install GVP manually,
see Appendix A on page 323 (Windows) or Appendix B on page 355
(Linux).

The GVP installation CDs contain the installation packages for both Windows
and Linux operating systems (see “GVP Installation DVDs” on page 205).

238 Genesys Voice Platform 8.1


Chapter 6: Installing GVP Installing GVP by Using the Wizard

Use the following procedures to install GVP on the targeted host(s):


• Importing the Installation Packages into the Repository
• Using the Deployment Wizard to Install GVP on page 241.

Procedure:
Importing the Installation Packages into the
Repository

Purpose: To import the Installation Packages into a repository before you start
the Deployment Wizard to install the GVP components.

Prerequisites
• The installation packages are copied to, and accessible from, the server on
which Genesys Administrator is installed or a network drive for which the
appropriate permissions are set so that a remote user can access it. Ensure
that the folder that contains the installation packages is shared.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Deployment tab, highlight the Repository into which you want the
Installation Packages to be imported.
3. Click Repository > Installation Packages > Import.
The Installation Packages Import Wizard appears, as shown in Figure 11:

Deployment Guide 239


Chapter 6: Installing GVP Installing GVP by Using the Wizard

Figure 11: Genesys Administrator Installation Packages Import Wizard

4. Continue through the Deployment Wizard by performing either of


following methods (a or b):

Installation DVD
a. If you select Installation DVD as the import source, click Next:
i. In the DVD Source field, enter the Universal Naming Convention
(UNC) path to the directory that contains the CDInfo.xml file, (for
example, \\127.0.0.1\GVPCDShare\G254_8131001_ENU\) then click
Next.
The Installation Packages Repository appears in the Select
Items page.
ii. Select the installation package that you want to import, then click
Next.
As the wizard begins to import the package, the Process import
page appears, displaying a progress bar.
iii. After the installation package is imported, click Finish.
iv. Repeat Steps ii and iii to import additional installation packages.

240 Genesys Voice Platform 8.1


Chapter 6: Installing GVP Installing GVP by Using the Wizard

Single Installation Package


b. If you select Single Installation Package as the import source, click
Next:
i. In the IP Source field, enter the UNC path to the folder that
contains the ip_description.xml file. For example,
\\127.0.0.1\GVPCDShare\G254_8131001_ENU\
ii. In the Template Folder field, enter the path to the Templates folder
on the DVD or a folder in a network directory, then click Next.

Note: When you enter the path to a network directory, do not include a
mapped drive letter with a dollar sign ($). Enter the path, without
the drive letter—for example: \\Installation_Pkgs\gvp81\.

The Installation Packages Repository appears on the Select


Items page.
iii. Select the IP template for the IP and version that you want to
install, then click Next.
As the wizard begins to import the package, the Process import
page appears, displaying a progress bar.
iv. After the installation package is imported, click Finish.
v. Repeat Steps iii and iv to import additional installation packages.

End of procedure

Next Steps
• Install the GVP components. See Procedure: Using the Deployment
Wizard to Install GVP.

Procedure:
Using the Deployment Wizard to Install GVP

Purpose: To install the GVP components by using the Genesys Deployment


Wizard.

Summary
The Application objects are created automatically when you use the Genesys
Deployment Wizard; therefore, you do not need to import the templates or

Deployment Guide 241


Chapter 6: Installing GVP Installing GVP by Using the Wizard

create the Application objects manually. Use the Genesys Deployment Wizard
for both Windows and Linux installation packages.

Note: If you are installing multiple instances of the same GVP 8.1.1 (or
earlier 8.x version) component, Genesys recommends that you install
each instance on a different host. The Genesys Administrator 8.0.2
Deployment Wizard supports the installation of only a single instance
of a component on each host.
GVP 8.1.2 and Genesys Administrator 8.0.2 support installing
multiple instances of the Media Control Platform on a single server.
See Deploying Multiple Media Control Platforms, page 389.

Prerequisites
• Prerequisite software is installed on each component, as required. See
“Prerequisites” on page 207.
• A new host is added in the Configuration Database for each GVP host. See
Procedure: Configuring a Host in Genesys Administrator, on page 233.
• The LCA is installed on the GVP host(s). See Procedure: Installing the
Local Control Agent (Windows), on page 235.
• The Installation Packages are imported to the Installation Packages
Repository. See Procedure: Importing the Installation Packages into the
Repository, on page 239.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Deployment tab, click Repository > Installation Packages.
3. Highlight the installation package that you want to install (ensuring that the
IP that you select matches the version of the OS on the host).
4. On the right side of the Installation Packages page, click the left-arrow
button to view the Tasks pane. (See the collapsed/expanded Tasks pane in
Figure 12.)

242 Genesys Voice Platform 8.1


Chapter 6: Installing GVP Installing GVP by Using the Wizard

Figure 12: Genesys Administrator Tasks Pane (Collapsed/Expanded)

5. In the Tasks panel, click the Install Package link.


The wizard Single Installation Package Deployment Wizard page
appears.
6. To enter the information about the target host, click Next:
• Application Name—Enter a name to identify this instance of the
application that is to be deployed.
• Target Host—Select the host on which you want to install the
Application object.

Note: When you are installing multiple applications of the same type, use
unique names in order to identify them easily.

7. To configure the parameters for the component, click Next:


• For each GVP component:
— Working Directory—Accept the default path to the directory in
which the installation package resides.
• For Linux installations, each GVP component has an additional field:
— DataModel—From the drop-down menu, select 32 for Linux 32-bit
operating systems.
Media Control • For the Media Control Platform, configure the following additional
Platform parameters:
Parameters
— Install Mode—From the drop-down menu, select the audio files
format:
— Select MuLaw format in North America.
— Select ALaw format in Europe

Deployment Guide 243


Chapter 6: Installing GVP Installing GVP by Using the Wizard

— .HTTP Proxy Usage—From the drop-down menu. choose Selected


or Not Selected.

Note: When installing GVP 8.1.4 and later components, the prompt for
Reporting Server host and port are no longer required, instead you
must create a connection to the Reporting Server in each of the
Media Control Platform, Call Control Platform, Resource
Manager, and Supplementary Services Gateway Applications.
See Procedure: Creating a Connection to a Server, on page 263.

Reporting Server • For the Reporting Server, enter the following additional parameters:
Parameters — JavaHome Path—Enter the path to the directory in which the Java
binary files will reside—for example:
C:\Program Files\Java\jre1.6.0_19
— DBMS engine—Select the version of the DBMS engines that you
want to install:
— MS SQL Server 2005 or MS SQL Server 2008 Standard Edition
— MS SQL Server 2008 Enterprise Edition
— Oracle 10g/11g Standard Edition
— Oracle 10g/11g Enterprise Edition
— No Database (allows Reporting Server to operate without a
database).

Note: DB Partitioning is supported when the Enterprise edition of


the OS is selected only.

— DBMS host—Enter the host name of the DBMS engine.


— DBMS port—Enter the port number of the DBMS engine.
— Database name—Enter the name of the database server that will be
used by the Reporting Server—for example, db_rs.
— DBMS user—Enter a user name for the DBMS.
— DBMS password—Enter a password for the DBMS.
— Reporting Server Port—This field is populated automatically with
61616.

244 Genesys Voice Platform 8.1


Chapter 6: Installing GVP Installing the GAX-GVP Reporting Plugin

— Web Server Port—Retain the default port number 8080.

Note: To support SCAN addresses used in Oracle, set the Reporting


Server options as follows:
[persistence] hibernate.remote.database =
[persistence] hibernate.remote.url = jdbc:oracle:thin:@<SCAN
address>:<port>/<service name>
The first of these means to set the hibernate.remote.data option
to blank, where as for the second option you should replace the
<SCAN address> with the FQDN of the scan address you've set
up for Oracle RAC, <port> is the port number to access Oracle,
and <service name> is the name of the Oracle service that has
been set up to be used by the Reporting Server.

8. Enter a unique connection port (default is 5000). Genesys Administrator,


through Solution Control Server uses this listening port to monitor, start,
and stop this application after installation.
9. To view the Deployment Summary, click Next.
10. To start the Deployment, click Next.
A progress bar appears at the top of the Deployment page.
11. To view the Results page, click Next.
12. To exit the wizard, click Finish.

End of procedure

Next Steps
• Configure the Application objects to start automatically. See Procedure:
Configuring Application Objects to Start Automatically, on page 314
• Complete the post-installation activities for the GVP components. See
Task Summary: Post-Installation Configuration of GVP, on page 253.

Installing the GAX-GVP Reporting Plugin


Reports—Using GA vs. Using GAX
Genesys Administrator Extension (GAX) can now generate all reports that are
available in Genesys Administrator (GA), and some new reports that GA does
not offer. GVP 8.1.7 configuration, as well as the ability to generate most
reports, remains in Genesys Administrator (GA).
Below is a breakdown of reports that you can generate with GAX vs. with GA.

Deployment Guide 245


Chapter 6: Installing GVP Installing the GAX-GVP Reporting Plugin

Functionality Exclusive to GAX


Generating these new reports:
• VoiceXML Call Arrivals, VoiceXML Call Peaks, Media Service Call
Arrivals, Media Service Call Peaks.
• Call Durations for VoiceXML, Media Service, and ASR/TTS.

Functionality Exclusive to GA
• Configuring GVP.

Functionality Common to both GAX and GA


• Generating Call Browser Reports: Historical Call Status, In Progress Call
Status.
• Generating VAR reports: VAR Call Completion, VAR IVR Action Usage,
VAR Last IVR Action.
• Generating these reports:

Real-time Call Browser, IVR Profile Call Arrivals, IVR Profile Call
Peaks, Tenant Call Arrivals, Tenant Call Peaks.
 Component Call Arrivals (RM, MCP, CCP, PSTNC, CTIC, ASR,
TTS).

Component Call Peaks (RM, MCP, CCP, PSTNC, CTIC, ASR, TTS).

Call Dashboard, SSG Dashboard, Fetch Dashboard, PSTNC, CTIC
Dashboard.
• Generating Service Quality Reports: CallFailures, Call Summary, Latency
Details, Latency Dashboard.

Summary
A plugin for Genesys Administrator Extension (GAX) provides access to
reports on GVP activities.
Table 17: GAX-GVP Reporting Plugin Report Types

Service Quality Generating Service Quality Reports: CallFailures, Call


Report Summary, Latency Details.

Call Detail Record Query and inspect records for calls processed by
Browsing different GVP components. Real-time reporting and
historical reporting supported.

Dashboard Monitor in-progress calls, from the perspective of IVR


Profiles or GVP components, in real time.

246 Genesys Voice Platform 8.1


Chapter 6: Installing GVP Installing the GAX-GVP Reporting Plugin

Table 17: GAX-GVP Reporting Plugin Report Types

Operational Generate reports on the rate of call arrivals or peak call


Reporting volume, by IVR Profile or by GVP component.

Voice Application Generate reports on the logical success and failure rates
Reporting for calls and IVR Actions in a given IVR Profile.

Note: VAR reporting data is available only for applications that leverage the
VAR <log> interfaces Call Result, Action Start, Action End, and
Custom Name/Value Pair.

Procedure:
Installing the GAX-GVP Reporting Plugin from an
executable

Purpose: Enable report generation of GVP activities from Genesys


Administrator Extension (GAX).

Notes: The GVP Reporting Plugin is an add-on component to an existing


GAX installation. It will be enabled automatically when the plugin
files are installed into existing GAX directories.
The GVP Reporting Plugin for GAX supports, and is supported by,
Reporting Sever 8.1.6 or later. It will not work with earlier versions.

Prerequisites
• Required software: GAX 8.1.3 MR1 or later.
• Be prepared for these information requests and choices:

You will need the full path to your Tomcat installation.
 You will either confirm the default installation directory, or enter a new
one.

If the target installation directory is populated, you will choose an
action:
 Back up all files in the directory.
 Overwrite only the files contained in this package.

Wipe the directory clean.

Deployment Guide 247


Chapter 6: Installing GVP Installing the GAX-GVP Reporting Plugin

Start of procedure
1. Stop Tomcat on the host running GAX.
2. Run the installation executable.
For Windows, this file is <IP plugin directory>/setup.exe.
For Linux, this file is <IP plugin directory>/install.sh.
3. Perform the installation steps, using the information that you gathered for
the prerequisites.
4. Start Tomcat on the host running GAX.

End of procedure

Next Steps
• To use the plugin, open GAX and select Voice Platform Reporting from
the Reports menu. See the procedure “Generating a Report Using GAX” in
the Genesys Voice Patform User’s Guide.
• For help with selecting filters—an important aspect of generating a
report—see the GAX online help.
• For help reading and understanding a generated report, see the GAX online
help.

Procedure:
Installing the GAX-GVP Reporting Plugin from inside
GAX

Purpose: Enable report generation of GVP activities from Genesys


Administrator Extension (GAX).

Notes: The GAX-GVP Reporting Plugin is an add-on component to an


existing GAX installation. It will be enabled automatically when the
plugin files are installed into existing GAX directories.
The GVP Reporting Plugin for GAX supports, and is supported by,
Reporting Sever 8.1.6 or later. It will not work with earlier versions.

Prerequisites
• Be prepared to enter the directory path to an installation directory, or to a
zipped file.
• Required software: GAX 8.1.3 MR1 or later.

248 Genesys Voice Platform 8.1


Chapter 6: Installing GVP Installing the GAX-GVP Reporting Plugin

Start of procedure
1. Select Installation Packages from the Configuration menu.
2. Click the “plus” icon (+) at the upper right of the Installation Packages
window.
The Software Installation Wizard dialog appears to the right of the current
window, offering these Import Type Selection choices as radio buttons:

Installation Package Upload (includes templates)

Installation Package Upload (template uploaded separately)

UNC Path to Mounted CD or Directory

UNC Path to an Existing Administrator Repository

UNC Path to Zipped IPs from Support
3. Select the radio button that matches your installation source and click the
Next button.
4. The next dialog will request input according to your choice in the previous
step:
 Installation Package Upload (includes templates) requires you to
choose a zipped IP file.

Installation Package Upload (template uploaded separately)
requires you to choose a zipped IP file, an XML template or an APD
template.

Each of the three choices that begin with UNC Path requires a
directory path that you may type or paste into the entry field.
You may see a request to correct an error; type or paste your correction.
When GAX is ready to install, the Finish button will be enabled.
5. Click the Finish button and wait for the upload to complete.
When you see the message, “Import has started. You may now close this
wizard,” you can close the Software Installation Wizard dialog by clicking
the Close button at the bottom right or the X icon at the top right.
The Reporting Plugin is ready to install.
6. Select the item that you imported from the Installation Packages window.
A dialog with that title (in this case: VP Reporting Plugin for GAX)
appears to the right.
7. The VP Reporting Plugin for GAX dialog offers these actions:
 Download—Downloads the installation package to your computer.

Delete—Erases the IP.

Copy to Tenants—Copies the IP to the tenant(s) that you specify.
You’ll select a tenant and click Finish.
 Deploy Profile: install—Displays the IP Deployment Wizard start
dialog. All following steps in this procedure are the result of this
choice.
8. Click Next to display a list of host computers for possible installation.

Deployment Guide 249


Chapter 6: Installing GVP GVP-GAX Reporting Plugin Privileges

9. Select one or more hosts for installation using the check box to the left of
each host name, and click Next.
10. At the Application Parameters dialog, complete these fields:

Application name for host

Tenant Name

App port

Primary Configuration Server

Backup Configuration Server

Skip IP Re-install

Notes: • Click the Information (i) icon to the right of each field title, for
tool tip help.
• A red * indicates a mandatory entry.
• Click Next when you have completed all mandatory fields.

11. At the Silent.ini Parameters dialog, complete the IPCommon :


InstallPath field. The default answer offered is C:\genesys\GCTI\.
12. At the Deployment dialog, verify that the answers you gave are all correct.
If they are correct, click Finish and wait for the installation to complete.

End of procedure

GVP-GAX Reporting Plugin Privileges


Unrestricted use off the plugin requires the privileges listed in Table 18. You
may need to request them from your system administrator.
Table 18: GAX-GVP Reporting Plugin Privileges

Privilege Name Label Purpose

GVP_RPT_SITES GVP Sites Report Access GVP sites.


Access

GVP_RPT_CALL_BROWSER Call Browser Access and generate GVP Call


Report Access Browser reports.

GVP_RPT_DASHBOARD Dashboard Report Access and generate GVP


Access Dashboard reports.

GVP_RPT_OPERATIONAL_ Operational Access and generate GVP


REPORT Report Access Operational reports.

250 Genesys Voice Platform 8.1


Chapter 6: Installing GVP GVP-GAX Reporting Plugin Privileges

Table 18: GAX-GVP Reporting Plugin Privileges

Privilege Name Label Purpose

GVP_RPT_SQ_REPORT Service Quality Access and generate GVP Service


(SQ) Report Quality (SQ) reports.
Access

GVP_RPT_VAR_REPORT Voice Application Access and generate GVP Voice


Reporter (VAR) Application Reporter (VAR)
Report Access reports.

Deployment Guide 251


Chapter 6: Installing GVP GVP-GAX Reporting Plugin Privileges

252 Genesys Voice Platform 8.1


Chapter

7 Post-Installation
Configuration of GVP
Some Genesys Voice Platform (GVP) components require additional
configuration to initiate the advanced features and optimize operation. This
chapter contains post-installation activities for the GVP hosts, as well as
information about creating the database and schema for the Reporting Server.
It contains the following sections:

Task Summary, page 253
 Configuring the GVP Components, page 257

Reporting Server Database, page 304

Task Summary
The following Task Summary: Post-Installation Configuration of GVP
summarizes the tasks that are required to configure GVP components for the
functionality that you want use in your deployment and provides links to detailed
information that is required to complete these tasks.

Task Summary: Post-Installation Configuration of GVP

Objectives Related procedures and actions

Complete the post-installation 1. If you are installing GVP 8.1.1 or earlier, create a
configuration of GVP components Solution object. See Procedure: Creating a Resource
Solution Object, on page 258.

2. Integrate Application objects. See Procedure: Integrating


Application Objects with Resource Manager, on
page 261.

Deployment Guide 253


Chapter 7: Post-Installation Configuration of GVP Task Summary

Task Summary: Post-Installation Configuration of GVP (Continued)

Objectives Related procedures and actions

Complete the post-installation 3. Create server connections. See Procedure: Creating a


configuration of GVP components Connection to a Server, on page 263.
(continued)
4. Provision and configure Speech Resource objects. See
Procedure: Provisioning Speech Resource Application
Objects, on page 265 and Procedure: Assigning the
MRCP Server to the Media Control Platform, on
page 268.

5. If you are installing GVP 8.1.1 or earlier 8.x versions,


on the Media Control Platform host, use the following
steps to configure the grammars:
a. Change to the root user. Type su, and press Enter:
b. Add the following lines to
/etc/httpd/conf/httpd.conf, and press Enter.
<Directory>
ExpiresActive On
ExpiresDefault "now plus 5 minutes
<Directory>
Alias /vggrammarbase/ "/var/www/vggrammarbase/"
<Directory "/var/www/vggrammarbase/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /treatments/ "/var/www/treatments/"
<Directory "/var/www/treatments/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

254 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Task Summary

Task Summary: Post-Installation Configuration of GVP (Continued)

Objectives Related procedures and actions

Complete the post-installation If you are installing GVP 8.1.1 or earlier 8.x versions,
configuration of GVP components on the Media Control Platform host, use the following
(continued) steps to configure the grammars (continued):
c. Create the following soft link to vggrammarbase:
ln -s <Directory>/gvp/”ProductName”_8.1
/grammar/var/www/vggrammarbase
d. Create the following soft link to treatments:
ln -s <Directory>/gvp/”ProductName”_8.1
/treatments/var/www/treatments
Note: If you receive a 403 error response while accessing
the inline grammar or prepackaged treatment VoiceXML
page, add Apache to the root group. Type: usermod -G 0
apache
Note: If you are installing the Media Control Platform on
Windows, this task is not required.
If you are installing GVP 8.1.2 or later, on the Media
Control Platform host, use the following steps to
configure the grammars:
a. Change to the root user. Type su, and press Enter.
b. Add the following lines to
/etc/httpd/conf/httpd.conf, and press Enter:
Alias /mcp/ "/var/www/gvp/mcp/"
<Directory "/var/www/gvp/mcp/">
ExpiresActive On
ExpiresDefault “now plus 5 minutes”
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

6. On the Apache Web Server (Linux only), modify the


/etc/mime.types file. Type: application/srgs+xml

7. Configure the CTI Connector for Cisco ICM Integration.


See Procedure: Configuring the CTI Connector for Cisco
ICM Integration, on page 273.

8. Provision the PSTN Connector. See Procedure:


Configuring the PSTN Connector, on page 274, and
Procedure: Configuring a Trunk DN for the PSTN
Connector, on page 277.

Deployment Guide 255


Chapter 7: Post-Installation Configuration of GVP Task Summary

Task Summary: Post-Installation Configuration of GVP (Continued)

Objectives Related procedures and actions

Complete the post-installation 9. Provision the Supplementary Services Gateway for


configuration of GVP components outbound-call initiation. See Procedure: Configuring the
(continued) Supplementary Services Gateway, on page 279, and
Procedure: Configuring DNs for the Supplementary
Services Gateway, on page 280.

10.Create DNs for the Supplementary Services Gateway:


a. Create a Routing Point DN to use for outbound calls
with the legacy GVPi (if required). See Procedure:
Configuring a Routing Point DN, on page 283.
b. Create a VoIP Service DN to initiate MSML dialogs
(if required). See Procedure: Configuring a Voice
Over IP Service DN, on page 284
c. Create a Voice Treatment Port (VTP) DN to play
IVR Profile VoiceXML dialogs (if required). See
Procedure: Configuring a Voice Treatment Ports DN,
on page 285

11.(Optional) Install and configure security certificates to


enable the Supplementary Services Gateway to interact
with SIP Server over secure TLS ports. See Chapter 3
in the Genesys Voice Platform 8.1 User’s Guide.

12.Prepare the Call Control Platform to make a call. See


Procedure: Configuring the Call Control Platform, on
page 287.

13.If you are deploying GVP 8.1.2 in a multi-tenant


environment, create the child tenants in the hierarchy.
To create child tenants manually or import multiple
tenants from a file, see Genesys Administrator 8.0.3 Help

14.If you are deploying GVP 8.1.3 or higher, and require


Resource Manager High Availability, configure SIP static
routing for MCP, CCP and CTI Connector to work with
an Resource Manager pair in active–active HA mode. Set
the [sip]transport.staticroutelist parameter to each
Resource Managers IP address. For example,
[sip]transport.staticroutelist=138.120.84.101,
138.120.84.102.
Also: configure the Resource Managers in the same group
to listen on the same port number.

256 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Task Summary: Post-Installation Configuration of GVP (Continued)

Objectives Related procedures and actions

Complete the post-installation 15.Group and configure the GVP resources, IVR Profiles,
configuration of GVP components and DIDs for ease of management and administration.
(continued) See Using Resource Groups on page 288.
Note: Before you begin to plan and configure your GVP
resources, there is important information you should
know about tenant permissions and assigning DID
Groups in multi-tenant environments. See “Important
Information about HMT Permissions and Access Rights”
on page 220.

16.Assign and configure the default tenant, and create the


default profile. See Assigning Default Tenants and
Creating Default Profiles on page 288.

Complete the post-installation 1. Integrate and configure the Reporting Server. See
configuration for the Reporting Server Procedure: Configuring the Reporting Server User
and database. Interfaces, on page 301.

2. Configure the Locale on Reporting Server (if required).


See Procedure: Configuring the Reporting Server Locale,
on page 303.

3. Install the database. See “Reporting Server Database”


on page 304. For information about the supported
databases and versions, see “Prerequisites” on page 207.

Configuring the GVP Components


After you have installed the GVP components and performed the basic
configuration, some additional steps are necessary to configure the advanced
features of the GVP components.
This section contains the following advanced configuration procedures.
• Creating Solution Objects
• Integrating Application Objects on page 260
• Creating a Connection to a Server on page 262
• Provisioning the Speech Resources on page 264
• Provisioning the MRCP Proxy on page 270
• Configuring the CTI Connector for Cisco ICM on page 273
• Provisioning the PSTN Connector on page 274
• Provisioning the Supplementary Services Gateway on page 278
• Preparing the Call Control Platform for Outbound Calling on page 287

Deployment Guide 257


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

• Using Resource Groups on page 288


• Creating IVR Profiles and DID Groups on page 291
• Assigning Default Tenants and Creating Default Profiles on page 297
• Integrating the Reporting Server User Interface with GVP on page 300
• Configuring the Reporting Server Locale on page 303

Creating Solution Objects


Purpose: Creating a Solution object is not a requirement for a successful
deployment, but it is recommended as an efficient way to manage two or more
Application objects. In this case, a Resource Solution object is created to
ensure that the Fetching Module is started before the Media Control Platform
or Call Control Platform. The priorities that are set affect all of the components
within the Resource Solution object.

Notes: In GVP 8.1.2, the Fetching Module is integrated with the Media and
Call Control Platforms and does not have to be added to the Solution
object. However, other optional components can be added, such as,
the CTI Connector or the Reporting Server, if they are installed.
If you are installing GVP 8.1.1 or earlier, the Fetching Module must
be started before the Media Control Platform and Call Control
Platform. If the Fetching Module stops for any reason, the Media
Control Platform and Call Control Platform must also be stopped,
and then restarted after the Fetching Module is restarted.

Procedure:
Creating a Resource Solution Object

Purpose: To create a Resource Solution object that combines two or more


components to facilitate a unified management function

Summary
This procedure is required if you are installing GVP 8.1.1 or earlier releases
only.

Prerequisites
• Two or more GVP components are installed for which a Resource
Solution object is required. Procedure: Using the Deployment Wizard to
Install GVP, on page 241.

258 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, click Environment > Solutions > New.
The Configuration tab appears.
3. In the General section, enter the information, as shown in Table 19.

Table 19: Solution Parameters—General Section

Field Description

Name Enter a name for the Solution object—for example,


VP-SPSol.

Solution Type From the drop-down list, select Voice Self Service.

Solution Control Browse to select Solution Control Server from the


Server Applications list.

Version Enter the release number—for example, 8.1.

State From the drop-down list, select Enabled.

4. In the Components section, click Add.


The Solution Component page appears.
5. Enter the information as show in Table 20:

Note: For deployments using GVP version 8.1.2 and above, Fetching
Module has been integrated with Media Control Platform; therefore,
Steps 4 to 6 and not necessary for Fetching Module.

Table 20: Solution Components

Field Description

Application From the drop-down list, select the Fetching Module


Application object.

Startup Priority Enter a number to set the priority for this application—for
example, 1.

Optional Leave the check box empty to indicate False.

6. Click OK.
The Fetching Module appears in the Solution Components field.

Deployment Guide 259


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

7. Repeat Steps 4 to 6, and then


a. Add a Media Control Platform to the Resource Solution object:
• In the Application field, select the Media Control Platform
Application object.
• In the Startup Priority field, enter 2.
b. If you are adding a Call Control Platform to the Resource Solution
object.
• In the Application field, select the Call Control Platform
Application object.
• In the Startup Priority field, enter 3.
c. Add a Resource Manager to the Resource Solution object:
• In the Application field, select the Resource Manager Application
object.
• In the Startup Priority field, enter 4.

Note: The Components Definition section is populated as Application


objects are added to the Components section. Click the up arrow
next to Components Definition to view the populated fields.

8. Save the configuration.

End of procedure

Next Steps
• Complete the remaining post-installation activities for the GVP
components.

Integrating Application Objects


After the Media Control Platform and Call Control Platform Application
objects are created and the components are installed, they are integrated with
the Resource Manager which acts as a proxy server. SIP devices and
VoiceXML or CCXML applications can then make use of media-centric
services through the proxy, without having to know the actual location of these
resources.
This procedure is optional and required only if you want the Resource
Manager to act as a proxy server for outbound requests. To integrate these
Application objects with the Resource Manager, you configure the Session
Initiation Protocol (SIP) settings.
This procedures describe how to integrate Application objects with the
Resource Manager by configuring SIP and secure SIP options.

260 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Note: Although the GVP components support secure SIP capabilities, the
external SIP Server does not. Before you enable Secure SIP (SIPS) in
your deployment, contact your Genesys sales representative for more
information.

Procedure:
Integrating Application Objects with Resource
Manager

Purpose: To integrate an Application object with Resource Manager by


configuring the Application parameters.

Prerequisites
• All of the GVP components are installed. See Procedure: Using the
Deployment Wizard to Install GVP, on page 241.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Click the Application object that you want to configure—for example, the
Media Control Platform or Call Control Platform Application.
The Configuration tab appears.
4. Click the Options tab, and use the View drop-down list to select Show
options in groups...
5. In the sip section, find the routeset option.
6. In the Value field, type the following:
• <sip:IP_RM:SIPPort_RM;lr> to integrate the Media Control Platform
with Resource Manager.
• <sip:IP_RM:SIPPort_RM:lr> to integrate the Call Control Platform with
Resource Manager.
Where IP_RM is the IP address of the Resource Manager, and SIPPort_RM is
the SIP port of the Resource Manager—typically, 5060.

Note: You must include the angle brackets in the Value field in the
sip.routeset and sip.securerouteset parameters.

7. In the Value field of the securerouteset option, type the following:


• <sip:IP_RM:SIPSecurePort_RM;lr> to integrate the Media Control
Platform with Resources Manager.

Deployment Guide 261


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

• <sip:IP_RM:SIPSecurePort_RM> to integrate the Call Control Platform


with Resource Manager.
In this case, IP_RM is the IP address of the Resource Manager, and
SIPSecurePort_RM is the SIP secure port of the Resource Manager—
typically, 5061.

Note: Although the GVP components support secure SIP capabilities, the
external SIP Server does not.

8. To use the Call Recording Solution through third-party recording servers:


In the vrmrecorder section, configure the following options (pointing to
the Resource Manager’s IP address and SIP port, as shown in Steps 6 and
7):
• sip.routeset
• sip.securerouteset
9. Save the configuration.

End of procedure

Next Steps
• Create the connections to the Message Server. See “Creating a Connection
to a Server”.

Creating a Connection to a Server


Use the procedure in this section to create connections to:
• The Message Server—In the Media Control Platform, Call Control
Platform, Resource Manager, Supplementary Services Gateway, CTI
Connector, PSTN Connector, MRCP Proxy, Reporting Server and Policy
Server Applications to ensure that component log information reaches the
Log database and can be viewed in the Solution Control Interface (SCI).
• The Reporting Server—In the Media Control Platform, Call Control
Platform, Resource Manager, PSTN Connector, CTI Connector,
Supplementary Services Gateway, and MRCP Proxy Applications to
ensure that these components detect the Reporting Server to which they are
sending reporting data. Genesys Administrator also requires a connection
to Reporting Server to monitor GVP components.
• SIP Server—In the Resource Manager, Supplementary Services Gateway,
and PSTN Connector Applications to manage the initiation of outbound
calls.
• MRCP Proxy—In the Media Control Platform Application if you are
planning to use the proxy to manage MRCPv1 RTSP traffic within the
GVP deployment.

262 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

• MRCP Server—In the MRCP Proxy Application if you are planning to


use the proxy to manage MRCPv1 RTSP traffic within the GVP
deployment (in the Media Control Platform Application if you are not
deploying the MRCP Proxy).
• Cisco T-server—In the UCM Connector Application to ensure the tenant
DBID of the Cisco T-Server is included in Request URI in any SIP INVITE
messages sent to the UCM Connector.
• The SNMP Master Agent—In the Media Control Platform, Call Control
Platform, Resource Manager, Supplementary Services Gateway, CTI
Connector, PSTN Connector, MRCP Proxy, and Reporting Server
Applications if you want to capture alarm and trap information.

Note: In GVP 8.1.4 and later releases, the Reporting Server responds to
SNMP queries and can generate some SNMP traps. Earlier
releases of the Reporting Server do not use the connection to the
SNMP Master Agent.

Creating a Connection to a Server

Purpose: To create a connection in an Application object to a server or


component.

Prerequisites
• All of the GVP components are installed. See Procedure: Using the
Deployment Wizard to Install GVP, on page 241.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Click the Application object for which you are creating the connection—
for example, the Media Control Platform Application object.
The Configuration tab appears.
4. In the General section, in the Connections field, click Add.
The Connection Info dialog box appears. See Figure 13.

Deployment Guide 263


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Figure 13: Application Object—Connection Info

5. In the Server field, click the down arrow to open the Browse Application
dialog box.
6. Select the server or component to which you want to create a connection—
for example, Message Server, SIP Server, or SNMP Master Agent.
The required fields in the Connection Info section are populated
automatically. (Ensure the Connection Protocols field is left blank. It is
not required for GVP components.)
7. Click OK.
The server or component you selected in Step 6 appears under
Connections.
8. Save the configuration.

End of procedure

Next Steps
• Complete the remaining post-installation activities for the Media Control
Platform. See “Provisioning the Speech Resources”.

Provisioning the Speech Resources


The Media Resource Control Protocol (MRCP) speech resources are controlled
by the Call Manager Application Program Interface (CMAPI), which opens
and closes sessions, and provides the speech recognition and speech synthesis
commands that the MRCP Server uses to carry out speech requests.
If the MRCP Proxy is deployed, the configurations in this procedure vary
slightly. Therefore, the configurations are described with and without the
MRCP Proxy. If you have installed the MRCP Proxy, see also “Provisioning
the MRCP Proxy” on page 270.

264 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Note: The procedures in this section are required only if you are using
Automatic Speech Recognition (ASR) and Text-to-Speech (TTS)
speech resources, and have an MRCP Server or MRCP Proxy in your
deployment.

This section contains the following procedures, which describe how to create
the Speech Resource Applications and assign the MRCP Server or MRCP
Proxy to the Media Control Platform.
• Procedure: Provisioning Speech Resource Application Objects
• Procedure: Assigning the MRCP Server to the Media Control Platform, on
page 268

Procedure:
Provisioning Speech Resource Application Objects

Purpose: To create the MRCP Speech Resource Applications for ASR and
TTS.

Summary
After a Speech Resource Application is created with the basic configuration, it
must be provisioned with the IP address and port number of the MRCP Server
or the MRCP Proxy (if required).

Prerequisites
• The ASR and TTS servers are installed and operational.
• The MRCP Speech Resource object templates are imported. See Procedure:
Importing Application Object Templates Manually, on page 329
• The MRCP Speech Resource objects are created. See Procedure: Creating
Application Objects Manually, on page 334.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Select the Speech Resource Application you want to configure.
The Configuration tab appears.
4. Click the Options tab, and scroll to the provision section.
5. Enter the value for each Option as described in Table 21:

Deployment Guide 265


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Table 21: MRCP Application Properties—Options Tab

Option name Option value

For MRCPv1

vrm.client.resource.name Enter the identifier used to link the VoiceXML application to a


common set of speech resources—for example,
For ASR, enter IBM, NUANCE, or TELISMA.
For TTS, enter REALSPEAK, VOCALIZER, OSR, or IBM.
Notes:
• A “common set of speech resources” means that the provisioning
data for each speech resource with the same name is identical. A
resource with the same name but different provisioning data
should not be added to the common set of resources.
• GVP supports dynamically removing and adding ASR/TTS
servers (resources), but does not support dynamically changing a
resource's provisioning data. To change a resource's provisioning
data, follow these steps:
1. Remove (delete) the resource.
2. Modify the resource’s provisioning data.
3. Add back (reconnect) the resource.
Important: If the provisioning data of the modified resource is
different from an existing common set of resources with the same
name, then you must use a different name for this resource.

vrm.client.resource.uri The URI must contain the IP address and port number of the MRCP
Server or the MRCP Proxy by using the following format:
rtsp://servername:<port>/<path>
For the recommended resource Universal Resource Identifier (URI),
check the MRCP vendor documentation.
Note: The MRCP Proxy supports MRCPv1 speech resources only.

vrm.proxy.ping_interval Enter a value (or retain the default) to specify the ping interval in
milliseconds (used only when the MRCP Proxy is deployed).
Default value: 30000

For MRCPv2

vrm.client.resource.name Enter the identifier used to link the VoiceXML application to a


common set of speech resources—for example,
For ASR, enter NUANCE.
For TTS, enter REALSPEAK or VOCALIZER.

266 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Table 21: MRCP Application Properties—Options Tab (Continued)

Option name Option value

vrm.client.resource.uri The URI must contain the IP address and port number of the MRCP
server using one of two formats:
sip:mresources@<MRCP server IP>:<port>;transport=TLS
sips:mresources@<MRCP server IP>:<port>
(The default SIPS port number for Nuance Speech Servers is 5061.)
For the recommended resource URI, check the MRCP vendor
documentation.

vrm.client.TransportProtocol Enter one of two values:


MRCPv2 without Security
MRCPv2 with secure TLS

6. Save the configuration

Note: Complete Steps 7 to 10 if you are deploying MRCPv2 with Secure


RTP (SRTP) only.

Configure the Media Control Platform Application


7. Select the Media Control Platform Application that is associated with this
speech resource.
The Configuration tab appears.
8. Click the Options tab, and scroll to the mpc section.
9. Configure the following parameters with the values that are shown here:

asr.srtp.mode=offer
 asr.srtp.sessionparams=none
 tts.srtp.mode=offer

asr.srtp.sessionparams=none
10. Save the configuration.

Configure the ASR Server


11. Configure the following options on the ASR Server:
• If the ASR Server supports session timeout, configure 60000 (seconds)
for the timeout value to prevent interruption of any active recognition
sessions.
• For Nuance SpeechWorks MediaServer and OpenSpeech Recognizer,
configure the server.transport.sessionTimeout VXIInteger option
with a value of 600000 (10 minutes).

Deployment Guide 267


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

• For Nuance Speech Server and Nuance Recognizer, configure the


server.mrcp2.sip.sessionTimeout and
server.mrcp1.rtsp.sessionTimeout options with a value of 600000 (10
minutes).
For other ASR vendors, check the vendor documentation.
12. To make the ASR service work correctly with GVP, you must edit the
Nuance Recognizer file baseline.xml. and comment out the third and
fourth lines in the code sample below:
<param name="swirec_extra_nbest_keys">
<value>SWI_meaning</value>
<!-- <value>SWI_literal</value> -->
<!-- <value>SWI_grammarName</value> -->
</param>
The characters to add to the code are marked in red.

End of procedure

Next Steps
• Assign the MRCP Server to the Media Control Platform Application
object. See Procedure: Assigning the MRCP Server to the Media Control
Platform.

Procedure:
Assigning the MRCP Server to the Media Control
Platform

Purpose: To assign the MRCP Server to the Media Control Platform


Application object.

Summary
Use this procedure if you have not deployed the MRCP Proxy, otherwise see,
“Provisioning the MRCP Proxy” on page 270.

Prerequisites
• The MRCP Speech Resource object templates are imported. See Procedure:
Integrating Application Objects with Resource Manager, on page 261.
• The MRCP Speech Resource objects are created. See Procedure: Creating
Application Objects Manually, on page 334.
• The MRCP Speech Resource objects are provisioned. See Procedure:
Provisioning Speech Resource Application Objects, on page 265.

268 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Double-click the Media Control Platform Application object that you want
to configure.
The Configuration tab appears.
4. In the General section, in the Connections field, click Add.
The Connection Info dialog box appears.
5. Enter the information in the required fields, as shown in Table 22:

Table 22: Connection Info Dialog Box

Field Description

Server Browse to select the MRCP Server.

ID This field is populated automatically with the


value default.

Trace Mode This field is populated automatically with the


value Trace is Turned Off.

Application Parameters Enter provisiontype=primary for a primary


MRCP server.
Enter provisiontype=backup for a backup
MRCP server.

6. Click OK.
7. Save the configuration.

Note: There is no limit to the number of primary or backup MRCP servers


that you can assign to the Media Control Platform; however, do not
assign the same server as both primary and backup.

End of procedure

Next Steps
• If required, complete the post-installation activities for the Supplementary
Services Gateway. See Procedure: Configuring the PSTN Connector, on
page 274.

Deployment Guide 269


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Provisioning the MRCP Proxy


The MRCP Proxy is an optional component, but must be deployed if ASR and
TTS usage reporting is required. You can deploy the MRCP Proxy in
stand-alone or warm active–standby HA mode. The procedures in this section
describe the steps for each configuration.

Note: By design, the MRCP Proxy supports only the NUANCE speech
resource.

Procedure:
Configuring the MRCP Proxy

Purpose: To configure the MRCP Proxy to act as a proxy for all MRCPv1
traffic in the environment.

Prerequisites
• The MRCP Speech Resource objects are provisioned. See Procedure:
Provisioning Speech Resource Application Objects, on page 265.
• The server connections are created. See Procedure: Creating a Connection
to a Server, on page 263.
• The connections to the ASR and TTS resource access points are created.
See Procedure: Provisioning Speech Resource Application Objects, on
page 265.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Double-click the MRCP Proxy Application that you want to configure.
The Configuration tab appears.
4. Click the Options tab, in the vrmproxy section, configure the host part of
the uri configuration option with the actual IP address of the MRCP
Proxy.

Note: If the Media Control Platform is installed on the same host as the
MRCP Proxy, retain the default value for the uri configuration
option.

5. Create a connection to the MRCP Server. See the Prerequisites section of


this procedure.

270 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

6. Save the configuration.

End of procedure

Next Steps
• No further steps are required.

Procedure:
Configuring the MRCP Proxy for HA

Summary
A configured MRCP Proxy acts as a warm standby in case of failover—which
means that, like a hot standby, the standby instance becomes active if the active
instance fails. However, unlike a hot standby, a warm standby does not handle
existing sessions. Application requests are rejected mid-stream during a
failover; and applications must be designed to accommodate such a failure.
The failover sequence of events is as follows:
1. The primary MRCP Proxy terminates.
2. The LCA in the primary MRCPP machine informs SCS about this event.
3. SCS checks to see if the terminated MRCPP has a backup instance
configured.
4. If there is a backup instance configured, SCS instructs—through LCA in
the backup computer—the other MRCPP to become primary.
In a standard configuration, the MRCP Proxies are configured as backup to
each other, and SCS has an HA license to perform a switch-over.

Purpose: To configure the MRCP Proxy in HA mode to act as a proxy for all
MRCPv1 traffic in the environment.

Prerequisites
• Ensure that the latest versions of Management Framework and LCA are
installed and the Solution Control Server (SCS) Application is configured
to support HA licenses. See Framework 8.1 Deployment Guide and
Framework 8.1 Management Layer User’s Guide.
• See also the prerequisites in the Procedure: Configuring the MRCP Proxy,
on page 270.

Note: The prerequisites for the MRCP Proxy backup server are the same
as for the primary in HA mode, and the connections must be the
same on both MRCP Proxy Applications in the HA pair.

Deployment Guide 271


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Start of procedure
1. Complete Steps 1 to 5 in the Procedure: Configuring the MRCP Proxy, on
page 270 for both MRCP Proxy Applications in the HA pair.
2. In the primary MRCP Proxy Application, click the Configurations tab.
3. In the Server Info section, in the Backup Server field, browse to the
backup MRCP Proxy Application and click to select it.
4. In the Redundancy field, select warm-standby.
5. Save the configuration.
Connect to the 6. In the Media Control Platform Application, create a connection to the
MCP primary MRCP Proxy.
7. Save the configuration.

End of procedure

Next Steps
• No further steps are required.

Procedure:
Adding a Speech Server as Primary or Backup

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Select the MRCP Proxy Application that you want to configure and click
Manage Connections.
The Manage Connections dialog appears.
4. Click the Next button twice in the Manage Connections dialog.
The Add Connections dialog appears.
5. Click Add and select the speech server to add.
6. Click Edit and select the Advanced tab.
7. Enter provisiontype=primary in the Application Parameters field, to add
the speech resource as primary.
or
Enter provisiontype=backup in the Application Parameters field to add the
speech resource as backup.
8. Click Execute and then Finish.

End of procedure

272 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Configuring the CTI Connector for Cisco ICM


When you install the CTI Connector, you can select the CTI Framework that is
appropriate for your environment—Genesys CTI or Cisco ICM. Use the
procedure in this section to configure the CTI Connector if you selected Cisco
ICM.

Procedure:
Configuring the CTI Connector for Cisco ICM
Integration

Purpose: To configure the CTI Connector to integrate with Cisco Intelligent


Contact Management (ICM).

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Double-click the CTI Connector Application that you want to configure.
The Configuration tab appears.
4. Click the Options tab.
5. If you want to use the Call Routing Interface (CRI), in the icmc section:
• Configure the ICMInterface option with the CRI value.

Note: During installation, when you select Cisco ICM, the Service
Control Interface is initialize by default.

• Configure the TrunkGroupID option with an applicable value.

For Single Tenant Environments:


6. In the Tenant1 section:
• Enter the tenant name in the TenantName configuration option value field.
• Change the value of the Ports configuration option, as required. For
example, 8000 (or retain the default, 9000).

For Multi-Tenant Environments:


7. Copy the Tenant1 section and rename it for each additional tenant. For
example, Tenant2, Tenant3, Tenant4.
8. For each newly created tenant:
• Enter the tenant name in the TenantName configuration option value field.

Deployment Guide 273


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

• Change the value of the Ports configuration option, as required. For


example, 8000 (or retain the default, 9000).
Ensure that there are no duplicate ports configured across all tenants.

Note: You can specify a comma-separated list of listener ports for a


single tenant, one for each VRU-PG. For example, 8000,
9000, 10000.

9. Save the changes.

End of procedure

Next Steps
• Configure an IVR Profile to support ICM call flows, see Chapter 6 in the
Genesys Voice Platform 8.1 User’s Guide.

Provisioning the PSTN Connector


The procedures in this section describe how to configure the mandatory
parameters for the Public Switched Telephone Network (PSTN) Connector
Application object and the how to integrate the PSTN Connector with SIP
Server. There are many more configurable parameters for the PSTN
Connector, all of which are optional. For a complete list and description of
configuration options, see the Genesys Voice Platform 8.1 User’s Guide.
The PSTN Connector component is required if you are planning to migrate
from GVP 7.x Voice Communication Server (VCS), or a VoiceGenie (VG)
TDM interface to GVP 8.1.2 or later.
This section contains the following procedures:
• Configuring the PSTN Connector
• Configuring a Trunk DN for the PSTN Connector on page 277

Procedure:
Configuring the PSTN Connector

Purpose: To prepare the PSTN Connector to manage inbound and outbound


calls for GVP.

Prerequisites
• All of the GVP components are installed. See Procedure: Using the
Deployment Wizard to Install GVP, on page 241.

274 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

• The connections to Message Server, SIP Server, and the SNMP Master
Agent are configured in the PSTN Connector Application object. See
Procedure: Creating a Connection to a Server, on page 263.
• SIP Server is installed. See the Voice Platform Solution 8.1 Integration
Guide.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Select the PSTN Connector Application object that you want to configure.
The Configuration tab appears.
4. Click the Options tab, and from the View drop-down list, select the
Mandatory Options view.
5. In the DialogicManager_Route1 and GatewayManager sections, enter the
values for the mandatory options as shown in Table 23.

Table 23: PSTN Connector Mandatory Parameters

Section Option Value

DialogicManager_Route1 RouteType Specify one of three route types or call directions for
this route, enter:
• Inbound
• outbound
• In/Out
(See Note below, in this table.)

Signaling Type Specify one of five signaling types, enter:


• T1-ISDN (PRI)
• Analog
• E1-ISDN (PRI)
• T1-RobbedBit
• E1-CAS

DialogicManager_Route1 Channels Specify the ports for this route by using the format,
(continued) [<Card>:<PortRange>,<Card>:<PortRange>].
You can provision more than one board in a route
and a partial range of ports in a board—for example:
• 1:1-23
• 1:1-23,2:1-23
• 1:1-30,2:1-30
• 1:1-12,2:1-15

Deployment Guide 275


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Table 23: PSTN Connector Mandatory Parameters (Continued)

Section Option Value

GatewayManager SIP Destination Enter the SIP endpoint IP address that will receive
IP Address SIP calls from the PSTN Connector. (This is the IP
address for SIP Server or the Resource Manager,
depending on your configuration.)

SIP Destination Enter the SIP endpoint port number of the server that
Port Number is configured in SIP Destination IP Address.

MediaManager Supported Local Enter the audio format that is in use on the TDM
Codec Type trunk:
• 0 - Mulaw
• 8 - ALaw

Notes

• The Inbound & Outbound route type is supported only on ISDN (PRI) lines. If you select one of these
route types, ensure that you use a compatible signaling type.
• If you are using a T1-Robbed Bit or E1-CAS interface, options in the T1rb options group must be
configured, specifically the T1rbProtocolFile option, see the component metadata.
• For JCT boards only, a separate span is required to support ASR or recorded VoiceXML applications
in T1-ISDN, E1-ISDN, or E1-CAS environments. The MediaVoxResourceBoard option must be
configured with route number that is used for CSP.
• When JCT boards are used with the PSTN Connector, and the VoiceXML application uses ASR or
recording media, not all the spans can be used for call handling. For each span that is configured to
take calls, there must be another dedicated span for streaming echo cancelled audio to the Media
Control Platform. Therefore, if Route1 is configured to handle calls on span1 (for example,
ports=1:1-23), the MediaVoxResourceBoard option under DialogicManagerRoute1 section should be
set to 2. Repeat the same steps if you have configured a DialogicManager_Route2 section.
This restriction does not apply in the following scenarios:

The VoiceXML application is a pure DTMF application (does not use ASR or recording media).

The VoiceXML application uses ASR but the JCT board is configured with the T1-Robbed Bit
protocol.

6. Create additional DialogicManager_Route<N> sections as required (for


example, you may want to create a section for inbound ports and one for
outbound ports):
a. From the View drop-down list, select either Advanced View (Options)
or Advanced View (Annex).
b. Right-click on the Section column heading and select New.
c. Enter DialogicManager_Route2 for the Section name, Description for
the Option name, and Route2 Information for the Value.
d. Click OK.

276 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

e. Copy and paste all of the options from the DialogicManager_Route1 and
DialogicManager_Route2 sections, modifying the mandatory values as
required.
f. Repeat these steps as required.
7. Save the configuration.

End of procedure

Next Steps
• Configure the Trunk and Trunk Group DNs for the PSTN Connector. See
Procedure: Configuring a Trunk DN for the PSTN Connector.

Procedure:
Configuring a Trunk DN for the PSTN Connector

Purpose: To configure SIP Server with a Trunk DN, which points to the PSTN
Connector Application object to ensure outbound calls can be routed to a
specific PSTN Connector instance.

Summary
You can deploy multiple PSTN Connectors, however, you must ensure that
SIP Server routes the outbound call to the same PSTN Connector instance as
the inbound call. This procedure includes configuration options to enable this
functionality.

Prerequisites
• The PSTN Connector is installed and configured. See Procedure:
Configuring the PSTN Connector, on page 274.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Switching > Switches.
3. Double-click the switch that you want to configure.
The Configuration tab appears.
4. On the DNs tab, select New.
5. In the General section, enter values for the mandatory fields, selecting
Trunk from the Type drop-down list.
6. In the Switch pane, double-click the Trunk DN you created in Step 4.
7. On the Options tab, select Advanced View (Annex) from the View
drop-down list.

Deployment Guide 277


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

8. Right-click on the Section column, and select New.


9. In the New Option dialog:
• In the Section field, enter TServer.
• In the Name field, enter contact
• In the Value field, enter the IP address and port number of the PSTN
Connector separated by a colon—for example, 10.10.10.101:5060
10. In the DNs pane, click New.
11. In the TServer section, add the following options and values:
• prefix = <xyzz>—where <xyzz> represents a number which, if present
in the dial string of the outbound call, enables the SIP Server to route
the call to the PSTN Connector instance that is configured with this
prefix.
• replace-prefix = <empty String)—where <empty String) represent
an empty string to ensure that the prefix added by Resource Manager to
the destination number string is removed by the SIP Server before the
call is forwarded to the same PSTN Connector instance.
12. Save the configuration.
For information about how the PSTN Connector fits into a common VPS
deployment architecture, see the “Supported Architecture” chapter in the
Voice Platform Solution 8.1 Integration Guide.

End of procedure

Next Steps
• If required, complete the post-installation activities for the Supplementary
Services Gateway. See Procedure: Configuring the Supplementary
Services Gateway, on page 279.

Provisioning the Supplementary Services Gateway


The following procedures describe how to configure the mandatory parameters
for the Supplementary Services Gateway Application object and the how to
integrate the Supplementary Services Gateway with SIP Server. There are
many more configurable parameters for the Supplementary Services Gateway,
all of which are optional. For a complete list and description of configuration
options, see the Genesys Voice Platform 8.1 User’s Guide.
The Supplementary Services Gateway is an optional component and is
required only if you intend to support outbound call campaigns in your
deployment.

278 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Note: Multiple instances of the Supplementary Services Gateway can be


installed on the same host; however, the HTTPPort and HTTPSPort
parameters must have unique values and cannot be the same for more
than one instance.

This section contains the following procedures:


• Configuring the Supplementary Services Gateway
• Configuring DNs for the Supplementary Services Gateway on page 280
• Configuring a Routing Point DN on page 283
• Configuring a Voice Over IP Service DN on page 284
• Configuring a Voice Treatment Ports DN on page 285

Procedure:
Configuring the Supplementary Services Gateway

Purpose: To prepare the Supplementary Services Gateway to receive and


respond to outbound call initiation requests from TAs.

Prerequisites
• All other GVP components are installed. See Procedure: Using the
Deployment Wizard to Install GVP, on page 241.
• The connections to Message Server, SIP Server, and the SNMP Master
Agent are configured in the Supplementary Services Gateway Application
object. See Procedure: Creating a Connection to a Server, on page 263.
• SIP Server is installed. See the Voice Platform Solution 8.1 Integration
Guide.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Select the Supplementary Services Gateway Application object that you
want to configure.
The Configuration tab appears.
4. Click the Options tab, and select Advanced View (Options) from the View
drop-down list.
5. In the Tenant1 section, enter Environment in the Value field of the TGDN
option. (The value that is configured in the TGDN parameter is used as the
tenant name.)

Deployment Guide 279


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

6. Create additional Tenant <N> sections, as required—for example, Tenant2,


Tenant3, and so on.
To create new sections by copying and pasting options, see Step 6 in the
Procedure: Configuring the PSTN Connector, on page 274.
7. Save the configuration.

End of procedure

Next Steps
• Configure the Trunk and Trunk Group DNs to route for Resource Manager
and external numbers. See Procedure: Configuring DNs for the
Supplementary Services Gateway, on page 280.

Procedure:
Configuring DNs for the Supplementary Services
Gateway

Purpose: To configure SIP Server with a Trunk Group DN, which points to the
Resource Manager Application object and a Trunk DN, which is used to route
calls to external numbers.

Summary
The Trunk Group DN must have the same name as the tenant for which the
Supplementary Services Gateway will make calls. This configuration enables
the SUBSCRIBE and NOTIFY messages between SIP Server and the Resource
Manager.

Prerequisites
• The Supplementary Services Gateway is installed and configured. See
Procedure: Configuring the Supplementary Services Gateway.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Select the SIP Server Application object you want to configure. The
Configuration tab appears.
4. On the Options tab, in the View drop-down list, select Advanced View
(Options).
5. In the TServer section, change the value of the following Options:
• am-detected = connect

280 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

• fax-detected = connect
• cpd-info-timeout = 7
• sip-invite-treatment-timeout = 30
6. Configure a DN on the SIP switch of type Trunk Group, and, for the DN
name, enter the name of the tenant—for example, Tenant1.
7. Configure a DN on the SIP switch of type Trunk as the endpoint. The
endpoint is the destination of the outbound call—for example, a softphone.
Configure Trunk 8. After the <TenantName> Trunk Group DN is configured, enter the values for
Group DN the following parameters in the TServer section of the Annex, as shown in
Figure 14:
• subscription-id = <TenantName>—Must be the name of the tenant that
is associated with the Resource Manager. (The DN, tenant, and
subscription-id must all have the same name: <TenantName>.

Note: Tenant names are case sensitive and must be used consistently,
especially in outbound scenarios. For example, if you create
the tenant names, tenant1 and Tenant1, they are treated as
two separate tenants. The value that is configured in the TGDN
parameter is used as the tenant name.

• contact = sip:172.24.133.50:5060—The IP address and port number


of the Resource Manager. (The value that is shown here for contact is
only an example.)
• cpd-capability = mediaserver—This configuration designates the
Media Server module of the Media Control Platform as the CPD
provider.
• request-uri =
sip:[email protected]:5060;gvp-tenant-id=TenantName—The value
of this parameter should point to the Resource Manager, and the user
part must contain msml.

Deployment Guide 281


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Figure 14: <TenantName> Trunk Group DN

Configure Trunk 9. After the Trunk DN is configured, enter the value for the following
DN parameter in the TServer section of the of the Advanced View (Annex):
• contact = sip:172.21.193.61:10000—The IP address and port number
of the external party. (The value shown here for contact is only an
example).

Note: If CPD is enabled at Media Gateway, configure CPD at the Trunk.


If CPD is enabled at both Trunk and Trunk Group, CPD enabled on
the media gateway takes precedence by default.

For information about how to configure the Supplementary Service


Gateway within the VPS, see the Voice Platform Solution 8.1 Integration
Guide.

End of procedure

Next Steps
• (Optional) Configure a Routing Point DN. See Procedure: Configuring a
Routing Point DN
• Complete the post-installation activities for the Call Control Platform if
you intend to use it for outbound calling. See Procedure: Configuring the
Call Control Platform, on page 287.

282 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Procedure:
Configuring a Routing Point DN

Purpose: To create a Routing Point DN to use for outbound calls with the
legacy GVPi.

Summary
Use this procedure if you want to support your outbound solution by making
outbound calls through a Routing Point DN (instead of a Trunk Group DN) by
using the legacy GVPi and CTI functionality. Create a Routing Point DN for
each tenant in your environment.

Prerequisites
• A Trunk DN has been created on the SIP switch for outbound calls. See the
Voice Platform Solution 8.1 Integration Guide.

Start of procedure
Configure the 1. Log in to Genesys Administrator.
Routing Point DN
2. On the Provisioning tab, select Switching > Switches.
3. Double-click the SIP Server Switch object you want to configure.
The Configuration tab appears.
4. Click the DNs tab and select New.
5. On the DN Configuration tab:
a. In the Number field, enter valid Route Point DN number. (Ensure there
is no conflict with the Trunk Group DN that was created for receiving
port details.)
b. In the Type field, select Routing Point from the drop-down list.
6. On the Options tab, click New.
7. In the New Option dialog box:
a. In the Section field, enter TServer.
b. In the Name field, enter partition-id.
c. In the Value field, enter the name of the tenant (for which this Route
Point DN is configured).
This configuration enables SIP Server to select an MSML service with the
same partition-id.
Configure the SSG 8. On the Provisioning tab, select Environment > Applications.
Application
9. Select the Supplementary Services Gateway Application object that you
want to configure.
The Configuration tab appears.

Deployment Guide 283


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

10. Click the Options tab, and select Advanced View (Options) from the View
drop-down list.
11. In the Tenant1 section:
a. For the RPDN option, enter a value that matches the RPDN. For
example, RP 2000.
b. For the TGDN option in the Value field, enter the tenant name.
The value that is configured in the TGDN parameter is used as the tenant
name.
12. If you want to send outbound calls for multiple tenants, create additional
Tenant <N> sections configured with the RPDN option, as required—for
example, Tenant2, Tenant3, and so on.
To create new sections by copying and pasting options, see Step 6 in the
Procedure: Configuring the PSTN Connector, on page 274.
13. Save the configuration.

End of procedure

Next Steps
• Configure a VoIP Service DN. See Procedure: Configuring a Voice Over
IP Service DN, on page 284.

Procedure:
Configuring a Voice Over IP Service DN

Purpose: To create and configure a VoIP Service DN that is used by SIP


Server to initiate MSML dialogs (to obtain CPD) when a request is received on
the Routing Point DN.

Summary
The VoIP Service DN work in conjunction with the Routing Point DN. For
outbound calls, SIP Server selects the MSML service type with the value that
is configured in the partition-id option (either no partition-id or the
partition-id that is configured in the SIP Server application).

Prerequisites
• A Routing Point DN has been configured. See Procedure: Configuring a
Routing Point DN, on page 283.

284 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Start of procedure
Configure the 1. Log in to Genesys Administrator.
Voice Over IP
Service DN
2. On the Provisioning tab, select Switching > Switches.
3. Double-click the SIP Server Switch object you want to configure.
The Configuration tab appears.
4. Click the DNs tab and select New.
5. On the DN Configuration tab:
a. In the Number field, provide a unique, valid number for the DN.
b. In the Type field, select Voice Over IP Service from the drop-down
list.
6. On the Options tab, click New.
7. In the New Option dialog box:
a. In the Section field, enter TServer.
b. In the Name field, enter contact.
c. In the Value field, enter the IP address and port number of the
Resource Manager, for example, sip:172.24.133.50:5060.
8. Repeat Steps 6 and 7 to add the following options and values:
• cpd-capability = mediaserver
• partition-id = <tenant_name>
• service-type = msml
• subscription-id = <tenant_name>
9. Click Save and Close.
10. Repeat Steps 4 to 9 to create a second VoIP Service DN to play Treatments
(service-type = treatment).

End of procedure

Next Steps
• (Optional) Configure VTP Ports. See Procedure: Configuring a Voice
Treatment Ports DN, on page 285

Procedure:
Configuring a Voice Treatment Ports DN

Purpose: To create and configure a Voice Treatment Ports (VTP) DN to play


IVR Profile VoiceXML dialogs.

Deployment Guide 285


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Summary
You can create any number of VTP DNs to control the number of simultaneous
outbound requests that can be placed on the route point.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Switching > Switches.
3. Select the SIP Server Switch object you want to configure.
The Configuration tab appears.
4. Click the DNs tab and select New.
5. On the DN Configuration tab:
a. In the Number field, enter a valid Voice Treatment Port as the number.
b. In the Type field, select Voice Treatment Port from the drop-down
list.
6. On the Options tab, click New.
7. In the New Option dialog box:
a. In the Section field, enter TServer.
b. In the Name field, enter contact.
c. In the Value field, enter the IP address and port number of the
Resource Manager, for example, sip:172.24.133.50:5060.
8. Repeat Steps 6 and 7 to add the following options and values:
• prefix = mediaserver
• request-uri =
sip:<vtp DN name>@<RM contact>gvp-tenant-id=<tenantName>
• event-ringing-on-100trying = true (when CTI Connector is used on
the call, otherwise, false)
• cpd-capability = mediaserver (the Media Control Platform performs
CPD)
• userdata-map-filter = constant string
"gsw-ivr-profile-name,gsw-session-dbid,OutboundData,AnswerClass,
outbound-ivr-call"
Where:
• OutboundData—Is the filter that is provided to pass user data from
the Supplementary Services Gateway to the IVR Application. For
information about attaching user data to outbound calls, see the
Voice Platform Solution 8.1 Integration Guide.
• outbound-ivr-call—Must be passed to the Resource Manager to
ensure the media service call is not dropped until the route is used
when a temporary double-counting of IVR Profile usage can
happen when the IVR VoiceXML call leg is placed.

286 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

• AnswerClass—Is required if the CPD result must be passed to


VoiceXML application.
Add the GVP-IVRPort parameter if the Supplementary Services
Gateway is integrated with the PSTN Connector and the
GVP-PSTNC-DBID parameter if the Supplementary Services Gateway is
integrated with the CTI Connector, for example:
userdata-map-filter = constant string
"gsw-ivr-profile-name,GSW_SESSION_DBID,gsw-session-dbid,Outbound
Data,AnswerClass,GVP-IVRPort,GVP-PSTNC-DBID"

Note: Genesys recommends that you create a strategy to select a


available VTP DN (from the set of VTP DNs that you created) to
load on the Routing Point DN. For more information about routing
strategies, see Chapter 11 of the Voice Platform Solution 8.1
Integration Guide.

End of procedure

Next Steps
• No further steps are required.

Preparing the Call Control Platform for Outbound Calling


This section describes how to prepare the Call Control Platform to make
outbound calls. The Call Control Platform is an optional component.

Procedure:
Configuring the Call Control Platform

Purpose: To configure the Call Control Platform Application object to make


outbound calls.

Prerequisites
• All of the GVP components are installed. See Procedure: Using the
Deployment Wizard to Install GVP, on page 241.
• The Call Control Platform is integrated with the Resource Manager. See
Procedure: Integrating Application Objects with Resource Manager, on
page 261.
• A Call Control Platform connection to the Message Server is created. See
Procedure: Creating a Connection to a Server, on page 263.

Deployment Guide 287


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Click the Call Control Platform Application.
4. Click the Options tab, and scroll to the mediacontroller section.
5. Click the Value field of the sipproxy option, and then enter
<IP_RM>:<SIPPort_RM>
Where IP_RM is the IP address of the Resource Manager, and SIPPort_RM is
the SIP port of the Resource Manager.
6. Click the Value field of the bridge_server, and then enter
<IP_RM>:<SIPPort_RM>
Where IP_RM is the IP address of the Resource Manager, and SIPPort_RM is
the SIP port of the Resource Manager (5060 is the default).
7. Click Apply.
8. Save the configuration.

End of procedure

Next Steps
• Complete the post-installation activities for the Resource Manager. See
“Using Resource Groups”.

Using Resource Groups


To enable ease of management, common GVP resources can be grouped into
Logical Resource Groups (LRG). When multiple instances of a resource, such
as, the Media Control Platform, Call Control Platform, or CTI Connector, are
assigned to a resource group, the Resource Manager can easily manage and
provide load balancing for the resources within the group. In addition,
connections are created to enable the physical resources to communicate with
the Resource Manager so that they can be assigned to fulfill requests for
services. To create the connections, see Procedure: Creating a Connection to a
Server, on page 263.

Procedure:
Creating a Resource Group

Purpose: To group resources that use common services and provide load
balancing.

288 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Summary
The MCPGroup created in this procedure provides load balancing for the
resources within it that are using VoiceXML services. If you have one or more
Call Control Platforms installed in your deployment, create a resource group
that includes resources that use CCXML services. You can also create a group
to manage resources that use the gateway, CTI, conference services, or
recording servers.

Prerequisites
• All of the GVP components are installed. See Procedure: Using the
Deployment Wizard to Install GVP, on page 241.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, click Voice Platform > Resource Groups.
3. On the Details pane toolbar, click New.
The Resource Group Wizard opens to the Welcome page.
4. On the Resource Manager Selection page, select the Resource Manager
Application object for which you want to create the group. On the Group
Name and Type page:
a. Enter a group name—for example, MCPGroup.
b. Select one of five group types:
• Media Control Platform
• Call Control Platform
• Gateway
• CTI Connector
• Recording Server

Note: When creating resource groups In multi-tenant environments,


ensure that only one CTI Connector resource group is configure
for the entire hierarchy.

5. On the Tenant Assignments page, select the child tenant to which the
resource group will be assigned.
6. On the Group Properties page, enter the information from Table 24 for
each resource group that you are configuring.

Note: For the Media Control Platform group, the Max.Conference Size
and Max.Conference Count, and Geo-location options are optional;
therefore, they are not included in Table 24. For a complete list of
resource-group options and their descriptions, see the Genesys
Voice Platform 8.1 User’s Guide.

Deployment Guide 289


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Table 24: Group Properties—Resource Groups Wizard

Field name Value

Media Control Platform

Monitoring Method Retain the default value: SIP OPTIONS.

Load Balance Scheme Select least percent.

Call Control Platform

Monitoring Method Retain the default value: none.

Load Balance Scheme Select least percent.

Gateway

Monitoring-Method Retain the default value: none.

Load Balance Scheme Select least percent.

CTI Usage Select Always off, Always on, or Based on DN lookup.

CTI Connector

Monitoring-Method Retain the default value: none.

Load Balance Scheme Retain the default value: round-robin.

Recording Server

Monitoring-Method Retain the default value: SIP Options.

Load Balance Scheme Retain the default value: round-robin.

7. On the Resource Assignment page:


a. Select the checkbox beside each resource you want to assign to this
group.
b. In the SIP Port column, click in the column to select a port number
from the drop-down list.
c. In the SIPS Port column, click in the column to select a port number
from the drop-down list.

Note: When you are creating Gateway resource groups, there is only
the SIP Port column and you must enter the port number.
There is no drop-down list from which to choose the port.

290 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

d. In the Max Ports column, enter a number that represents the maximum
number of requests this resource is capable of handling.
e. In the Redundancy column, click in the column to choose active or
passive from the drop-down list.
The Resource Assignment list is compiled depending on the type of
group that you are creating; for example, if you are creating a Media
Control Platform group, only Media Control Platform servers appear in
the list.
8. On the Confirmation page, click Finish.

End of procedure

Next Steps
• Continue with the post installation activities for the Resource Manager. See
Procedure: Creating IVR Profiles.

Creating IVR Profiles and DID Groups


GVP uses IVR Profiles, which are VoiceXML, CCXML, Announcement, and
Conference applications, to control interactions that require the use of Direct
Inward Dialing (DID) numbers and provides service for the resources that use
them.

Note: DIDs were formerly referred to as Dialed Numbers (DN) in GVP


releases prior to GVP 8.1.2.

You can create as many IVR Profiles as you need and any number of DIDs or
DID ranges. DIDs are grouped into DID Groups for ease of assignment and
administration. DIDs are obtained from the Dialed Number Identification
Service (DNIS). The Resource Manager can be configured to obtain DNIS
information from SIP Server.
If GVP is configured to map DIDs to IVR Profiles or a tenant, the Resource
Manager uses DNIS to determine which IVR Profile to invoke for the session.
If GVP is not configured in this way, the Resource Manager uses a default IVR
Profile that is specified for the Environment (or default) tenant.
This section contains the following procedures:
• Procedure: Creating IVR Profiles
• Procedure: Adding a Context Services base URL to an IVR Profile on
page 295
• Procedure: Creating DID Groups on page 296

Deployment Guide 291


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Procedure:
Creating IVR Profiles

Purpose: To create IVR Profiles that use DIDs to provide service for the
resources that use them.

Prerequisites
• There are no prerequisites for creating IVR Profiles.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Voice Platform > IVR Profiles.
3. In the Tasks panel, click Define New IVR Profile.
The IVR Profile Wizard opens to the Welcome page.
4. On the Service Type page:
a. Enter a name for the IVR Profile—for example, VPS_IVRProfile.
b. From the drop-down list, select one of four service types:
— VoiceXML
— CCXML
— Conference
— Announcement

Note: The IVR Profile name is case-sensitive and can be up to 255


characters in length. For information about naming IVR Profiles,
see Genesys Administrator 8.0 Help.

5. On the Service Properties page, enter the mandatory values from


Table 25 for the service type that you selected in Step 4.
Table 25 includes only those options that are mandatory to create an IVR
Profile. For a complete list of the options used to configure IVR Profiles
and their descriptions, see the Genesys Voice Platform 8.1

292 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Table 25: IVR Profile Wizard—Service Properties

Service type Field Value

VoiceXML Initial Page URL Enter the Universal Resource Locator (URL) to your
VoiceXML page—for example, http://samples/hello.vxml
or file:///C:/GVP/VP_MCP/samples/helloaudio.vxml

CCXML Initial-Page-URL Enter the URL to your CCXML page—for example,


http://samples/hello.vxml or
file:///C:/GVP/VP_CCP/samples/helloaudio.ccxml

Conference Conference-ID Enter a value that starts with a letter, number, or underscore
(cannot exceed 255 characters), for example, 3332.

Announcement Play Enter the URL that points to the announcement you want to
play—for example, http://samples/hello.vxml or
file:///C:/GVP/VP_CCP/samples/announcements.

Note: The URLs in this table are examples. When you create your IVR Profiles, enter the URLs that
point to the actual VoiceXML, CCXML, Conference, or Announcement applications in your
environment. The small icon to the right of the URL field in the wizard, is used to load the URL into a
pop-up web page, verify the accuracy, and confirm that an application actually exists at that location.

Note: After the Service Properties are entered, you have the option of
clicking Finish and a basic IVR Profile is created. However, if you
want to customize the profile, you can continue on through the Usage
Limits, IVR Capabilities, CTI Parameters, and Dialing Rules pages
which contain optional configuration parameters. For more
information about these configuration parameters, see the Genesys
Voice Platform 8.1 User’s Guide.

6. On the Usage Limits page, in the Maximum Concurrent Sessions field,


enter a number to define the maximum number of concurrent sessions that
can be used by the IVR Profile.
7. On the IVR Capabilities page, configure the parameters in Table 26 as
required for your IVR Profiles.
The IVR Capabilities page appears only if you have selected the
VoiceXML or CCXML service types in Step 4 on page 292.

Deployment Guide 293


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Table 26: IVR Capabilities Page—IVR Profile Wizard

Option Description

Allow Outbound Insert a check mark to enable (or leave blank to


Calls disable).
Sets the value of the outbound-call-allowed parameter
(for bridge or consultation transfers, as well as for
outbound calls), in the gvp.policy configuration
section.
By default, INVITE transfers are enabled

Allows Transfers Insert a check mark to enable (or leave blank to


disable).
Sets the value of the transfer-allowed parameter (for
blind or consultation transfers), in the gvp.policy
configuration section.
By default, REFER transfers are enabled.

Gateway Selection Select one of three options:


• Always use the same gateway
• Use same gateway if possible
• Use any available gateway

8. On the CTI Parameters pane, configure the parameters as described in


Table 27.
The CTI Parameters page appears only if you have selected the VoiceXML
service type in Step 4 on page 292.
:

Table 27: CTI Parameters Pane—IVR Profile Wizard

Option Description

Require CTI Insert a check mark to enable (or leave blank to


Interaction disable).
Sets the value of the cti-allowed parameter, in the
gvp.policy configuration section.
By default, the CTIC is not required.

Transfer on CTI Insert a check mark to enable (or leave blank to


disable).
Sets the values of the cti.transferoncti and
cti.defaultagent, respectively, in the
gvp.service-parameters configuration section.

294 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Table 27: CTI Parameters Pane—IVR Profile Wizard (Continued)

Option Description

Default Agent The default agent to whom transfers will fall back if the
original transfer fails.

9. On the Dialing Rules page:


• In the Action field, retain the default value Accept.
• In the Regular Expression field, enter the expression in the form of a
URL.
The Dialing Rules page appears only if you have selected the VoiceXML
or CCXML service type in Step 4 on page 292.
10. On the Policies page, in the SQ Notification Threshold (%) field, enter a
number between 1 and 100.
11. On the Confirmation page, if the configuration is correct, click Next.
12. Click Finish.

End of procedure

Next Steps
• (Optional) Manually add a Context Services base URL to an IVR Profile.
See Procedure: Adding a Context Services base URL to an IVR Profile.
• Create the DID Groups. See Procedure: Creating DID Groups.

Procedure:
Adding a Context Services base URL to an IVR Profile

Purpose: To add a Context Services base URL to an IVR Profile.

Summary
Universal Contact Server (UCS) interfaces use a database that stores contact
(customer) data. Classic UCS works with Genesys eServices (Multimedia). By
using Context Services, which is an optional set of additional capabilities, UCS
can work with other Genesys products and solutions, such as Genesys Voice
Portal and Conversation Manager. This procedure is optional.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Voice Platform > IVR Profiles.

Deployment Guide 295


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

3. Select the newly created IVR Profile.


4. To add a new option, click New:
a. In the Section field, enter gvp.service-parameters
b. In the Name field, enter voicexml.cs_base_url
c. In the Value field, enter fixed, <the base HTTP URL of the context
services>.

Note: The voicexml.cs_base_url value can also contain the username


and password if it is required by the context services. If the
username and password is required, the following syntax is used:
http://<username>:<password>@<host>:<port>
If the username and password is not required, the following syntax
is used: http://<host>:<port>

5. Click OK.

End of procedure

Next Steps
• No further steps are required.

Procedure:
Creating DID Groups

Purpose: To create DID Groups that contain DIDs to assign to IVR Profiles
and tenants.

Summary
DID Groups enable ease of management and assignment. The groups can
contain a single DID, a range of DIDs, or no DIDs. Empty DID Groups can be
created initially as placeholders until you are ready to populate them.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Voice Platform > DID Groups.
3. Select New.
4. In the Name field, enter the name of the DID Group.
5. In the IVR Profile field, click the browse icon to find the IVR Profile or
tenant that you want to associate with this DID Group.
6. In the DIDs field, click Add.

296 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

7. In the DID dialog box, enter a DID, a range of DIDs or a number prefix—
for example:
1234
4567-8901
456*
8. In the DID Group Property panel, click Save or click Save & New to create
another DID Group.

End of procedure

Next Steps
• Configure the Environment (default) Tenant and default IVR Profile. See
“Assigning Default Tenants and Creating Default Profiles”.

Assigning Default Tenants and Creating Default Profiles


In multi-tenant environments, the default tenant and IVR Profile are used for
those calls that are not validated or cannot be associated with a specific tenant
or profile. To properly configure the default objects, a specific Resource
Manager instance must be configured to manage the default tenant, the tenant
data must be configured, and a default IVR Profile must be created.

Note: Mandatory for any tenant that is managed by Resource Manager:


1. You must create a default IVR-Profile object under that
tenant. For simplicity, in the IVR-Profile's Annex tab, the
parameter service-type under gvp.general section may point
to voicexml.
2. In that tenant's Annex tab, the parameter default-application
under gvp.general section must point to that profile object.

Use the following procedures to complete the task in this section:


• Procedure: Adding the Environment Tenant to the Resource Manager
• Procedure: Creating a Default Profile for the Default Tenant, on page 298
• Procedure: Updating the Tenant Data, on page 299

Procedure:
Adding the Environment Tenant to the Resource
Manager

Purpose: To add the Environment Tenant to the Resource Manager


Application that is used to create a default IVR application.

Deployment Guide 297


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Summary
This procedure describes the steps to add the Environment tenant to the
Resource Manager Application when GVP is deployed in a multi-tenant
environment. If your environment is single-tenant, the default tenant is named
Resources and not Environment.

Prerequisites
• All of the GVP components are installed. See Procedure: Using the
Deployment Wizard to Install GVP, on page 241.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Click the Resource Manager Application object you want to configure.
The Configuration tab appears.
4. In the Server Info section, in the Tenants field, click Add.
A Browse dialog box appears.
5. Select Environment, and then click OK.
The Environment Tenant object appears in the Tenants field.
6. Save the configuration.

End of procedure

Next Steps
• Create a default IVR Profile for the Environment Tenant. See Procedure:
Creating a Default Profile for the Default Tenant

Procedure:
Creating a Default Profile for the Default Tenant

Purpose: To create a default IVR Profile that can be used to accept calls other
than those specified in the dialing plans.

Prerequisites
• There are no prerequisites for this procedure.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Voice Platform > IVR Profiles.

298 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

3. In the Tasks panel, click Define New IVR Profile.


The IVR Profile Wizard opens to the Welcome page.
4. On the Service Type page:
a. Enter the name of the default IVR Profile, IVRAppDefault.
b. Select VoiceXML from the drop-down list.
5. On the Service Properties page, enter http://samples/hello.vxml.
6. Click Finish.

End of procedure

Next Steps
• Update the Environment tenant data. See Procedure: Updating the Tenant
Data.

Procedure:
Updating the Tenant Data

Purpose: To configure the tenant to look for the default IVR Profile
application, so that calls other than those specified in the dialing plans are
accepted.

Prerequisites
• All of the GVP components are installed. See Procedure: Using the
Deployment Wizard to Install GVP, on page 241.
• A default IVR Profile has been created, named, IVRAppDefault. See
Procedure: Creating a Default Profile for the Default Tenant.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Tenants.
3. Click the Environment tenant or, if you are configuring a single-tenant
environment, click Resources.
4. On the Options tab, create a new section named, gvp.general.
5. In the gvp.general section, create a new option named,
default-application.
6. For the default-application option, enter the value IVRAppDefault.
7. Enter the values for the remaining options in the gvp.general, gvp.policy
section, and gvp.dnis-range sections as shown in Table 28.

Deployment Guide 299


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Note: The default-application option is mandatory for a tenant.

Table 28: Sections, Names, and Values—GVP Options

Section Name Value

gvp.general default-application IVRAppDefault

sip.sessiontimer 1800

gvp.policy usage-limits 100

Note: The values for the gvp.dnis-range configuration option are added
automatically by the DID wizard.

The IVR Profile and Environment tenant configuration sections, gvp.log,


gvp.log.policy, and gvp.policy.dialing-rules can be further defined
with many more supported options. For a complete list of these options, go
to the Options tab of the Application object template.
8. Save the configuration.

End of procedure

Next Steps
• Complete the post-installation activities for the Reporting Server. See
“Integrating the Reporting Server User Interface with GVP”.

Integrating the Reporting Server User Interface with GVP


The Reporting Server User Interface (RPTUI) is installed when Genesys
Administrator is installed, however, you can customize your environment by
using the default Application object (or Configuration Server object) to
configure port numbers, authentication, and HTTP settings.
In addition, you must create a connection to Reporting Server in the default
Application object to ensure that the RPTUI functions properly. The RPTUI
discovers the Reporting Server host based on this connection. Furthermore, the
RPTUI reads and enforces the data reporting limits that are configured in the
Reporting Server Application object (in the reporting section).
Finally, you must configure the Reporting Server logging and messaging
parameters so that the monitoring and reporting functionality perform as
intended.

300 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Note: During the installation of the Reporting Server, the RPTUI and the
logging and messaging parameters are configured with default values.
Therefore, unless your environment is better served by manually
changing the configuration, the only requirement is to create the
connection to Reporting Server in the default Application object.
See “Creating a Connection to a Server” on page 262.

This section contains the following procedures for the default Application
object and the Reporting Server Application object:
• Procedure: Configuring the Reporting Server User Interfaces

Procedure:
Configuring the Reporting Server User Interfaces

Purpose: To configure the default Application object to ensure that the


Reporting Server user interfaces are exposed and to create the connection to
the Reporting Server.

Prerequisites
• Genesys Administrator is installed and fully functional. See the
Framework 8.1 Deployment Guide.
• All of the GVP components are installed and started. See Procedure: Using
the Deployment Wizard to Install GVP, on page 241.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Click the default Application object.
4. In the Connections section, click Add.
The Connection Info dialog box appears.
5. In the Server field, click the Browse icon.
6. Select the Reporting Server to which you want to create a connection.
7. Click OK.
The Reporting Server you selected appears in the Connection section.
8. On the Options tab, select GVP Reporting from the View drop-down list.
The Options list is filtered, and all of the rptui section options appear.

Deployment Guide 301


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Notes: If you do not see GVP Reporting, select Show options in groups
from the View drop-down list. The list changes, and GVP Reporting
is available for selection.

9. Retain or modify the values for the options in the rptui section, as shown
in Table 29.

Table 29: default Application Object—Options Tab

Option Value

enablehttps Retain the default value, false.

httpport Retain the default port value, 8080, or enter a port number
from 1030 to 65535.

httptimeout Retain the timeout value, 30, or enter any value greater
than 0.

username Enter a user name to enable the web server for


authentication. (Must match the password that is
configured in the Reporting Server Application.)

password Enter a password. (Must match the password that is


configured in the Reporting Server Application.)

tzoffset Retain the default time zone offset value, -08:00, or enter
a value in the format shh:mm, where s is either a plus (+) or
minus (-), hh represents hours, and mm represents minutes.

dsthours Retain the default value 01:00, or enter a value in the


format shh;mm, where s is either a plus (+) or minus sign
(-), hh represents hour, and mm represents minutes.

localtimeformat Retain the default value true to display the datetime


fields in local time format, or enter false to display the
datetime fields in Universal Time Coordinated (UTC).

Note: Click on any option on the Options tab for a detailed description
and the default value.

10. Save the configuration.

End of procedure

302 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Configuring the GVP Components

Next Steps
• In the default Application object, create a connection to the Reporting
Server. See Procedure: Creating a Connection to a Server, on page 263.
• Create a database for the Reporting Server. See “Reporting Server
Database”.

Configuring the Reporting Server Locale


If the Reporting Server is installed on a host that is configured with a locale
other than English (default), you must complete the procedure in this section to
achieve full functionality of the Reporting Server.

Procedure:
Configuring the Reporting Server Locale

Purpose: To configure the Reporting Server with a locale, other than English
(default).

Start of procedure
1. In the Reporting Server installation directory, locate the
JavaServerStarter.ini file.
2. In the [JavaArgs] section, add the line Duser.language=en, for example:
[JavaArgs]
-Xmx1536M
-Duser.language=en
3. Open the Java Control Panel and on the Java tab, click View.
4. On the User tab, in the Runtime Parameters field, change the language
setting. See Figure 15 on page 304.

Note: The configuration in Step 4 affects all JVM default locales.

Deployment Guide 303


Chapter 7: Post-Installation Configuration of GVP Reporting Server Database

Figure 15: Reporting Server—Java Control Panel

End of procedure

Next Steps
No further steps are required.

Reporting Server Database


The GVP 8.1 Reporting Server requires one of two supported relational
database systems is installed—Microsoft SQL Server or Oracle. The database
and the Reporting Server can share a host or you can install the database on a
separate host. This section describes how to create the GVP Reporting
database schema and partitioning the database in the following topics:
• Before You Begin
• Setting Up the Database
• Partitioning CDR and Event Log Tables on page 308
• Recovery Model for Microsoft SQL Server on page 309

304 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Reporting Server Database

Before You Begin


• Genesys recommends that the VP Reporting Server is installed before you
or your database administrator create a database in your Database
Management System (DBMS).
• Ensure that a fully functional instance of the Microsoft SQL Server or
Oracle exists in your deployment.
• Create the Reporting Server database.

Note: This section describes the creation of the database schema only. The
setup of the Microsoft SQL Server or Oracle 10 g instances is outside
the scope of this document. For information about setting up these
instances, see the vendor’s documentation.

• For installations using an Oracle database, the database administrator


should grant the following system privileges to the user(s) who will own
the Reporting Server schema:
 CREATE TRIGGER

CREATE SEQUENCE

CREATE TABLE
 CREATE PROCEDURE

FORCE TRANSACTION

CREATE VIEW
 CREATE SESSION

UNLIMITED TABLESPACE

Setting Up the Database


This section includes a description of a generic procedure to create the
database schemas.

Note: When setting up an Oracle database, Genesys recommends using a


database user other than the one used to create the Configuration
Server database.

Table 30 contains the paths to the scripts that are used to create the database
schema. Select the path to the script that matches the edition (standard or

Deployment Guide 305


Chapter 7: Post-Installation Configuration of GVP Reporting Server Database

enterprise) of the database that you selected during installation of the


Reporting Server component.

Note: A minor change is required when Reporting Server is deployed with


an Oracle RAC database. When the hibernate.remote.database
configuration option is used, the Reporting Server internally appends
some parameters to the value of the hibernate.remote.url option,
including the value of the hibernate.remote.database option.
Therefore, ensure the hibernate.remote.url option is properly
configured for use with Oracle RAC by configuring the
hibernate.remote.database option with the value blank.

Table 30: Database Script Files

Script file Default path

mssql_schema.sql For Windows:


<Installation_Directory>\Program Files\GCTI\gvp\VP Reporting Server
8.1\RS_App_Name\scripts\standard
<Installation_Directory>\Program Files\GCTI\gvp\VP Reporting Server
8.1\RS_App_Name\scripts\enterprise

oracle_schema.sql For Windows:


<Install_Dir>\Program Files\GCTI\gvp\VP Reporting Server
8.1\RS_App_Name\scripts\standard
<Install_Dir>\Program Files\GCTI\gvp\VP Reporting Server
8.1\RS_App_Name\scripts\enterprise

For Linux:
<Install_root>/opt/genesys/gvp/VP_Reporting_Server_8.1/
scripts\standard
<Install_root>/opt/genesys/gvp/VP_Reporting_Server_8.1/
scripts\enterprise

Note: The Reporting Server supports the partitioning option for Oracle 10g
or 11g enterprise version, and SQL Server 2008 enterprise versions.
For all other databases, including SQL Server 2005 (enterprise or
standard), use the “\scripts\standard\” path to find the appropriate
scripts.

Reporting Server in Partition Mode on Oracle


When the Reporting Server is installed in partitioned mode (Enterprise) on
Oracle by and the default GATHER_STATS_JOB option is used to automatically

306 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Reporting Server Database

gather statistics, server performance can be severely affected. In partitioned


mode, the Reporting Server database uses rotating staging tables that are
flushed throughout the day. These volatile tables are not suited for automatic
statistics gathering.
Genesys recommends the following:
• Disable the GATHER_STATS_JOB option before you install the Reporting
Server database to ensure that inaccurate statistics are not associated with
the staging tables.
• Use the provided lock-stats script to lock the staging tables, for example:
<RS_INSTALLATION_DIRECTORY>/scripts/enterprise/ReportingService/sql
/oracle-lock-stats.sql
This script uses the following Oracle SQL procedure:
DBMS_STATS.LOCK_TABLE_STATS (
ownname VARCHAR2,
tabname VARCHAR2);
where the ownname option must be the name of the schema that is associated
with the Reporting Server tables. The script assumes the schema name is
REPORTING. You must replace all instances of REPORTING with the proper
schema name.

Procedure:
Setting Up a Database for the Reporting Server

Purpose: To create a database schema for the Reporting Server.

Summary
There are many available query tools that SQL Server and Oracle 10 g can use
to execute Structured Query Language (SQL) scripts. For example, SQL
Server Management Studio is included in Microsoft SQL Enterprise edition,
and Oracle SQL Developer is available on the Oracle website.

Note: Oracle is the only supported database when the Reporting Server
DBMS is installed on Linux operating systems.

Microsoft cumulative update packages for SQL Server contain the most recent
hot fixes and security fixes. Ensure that the hot fix that is listed as a
prerequisite for this procedure is included in the Service Pack that you have
installed.

Prerequisites
• Microsoft SQL hot-fix build 3175 must be installed.

Deployment Guide 307


Chapter 7: Post-Installation Configuration of GVP Reporting Server Database

• The Microsoft SQL Server Management Studio development tool is


installed on the SQL Server.
• Sun Java Runtime Environment, is installed.

Start of procedure
1. On the SQL server, select the Reporting Server database (MSSQL or
Oracle) and run the appropriate script.
See Table 30 on page 306 for a list of DBMSs and the corresponding name
and location of the initialization script files.
2. Open the folder that matches your database type.
3. Load and execute the initialization script that corresponds to your DBMS.

Note: For information about how to upgrade the database schemas, see
the Genesys Migration Guide.

End of procedure

Partitioning CDR and Event Log Tables


GVP 8.1.2 and later releases support partitioned CDR and Event Log tables in
the Reporting Database. The Resource Manager, Media Control Platform, Call
Control Platform, VAR CDR tables, and Event Logs table tend to grow rapidly
in large-scale environments. To improve the read/write performance, these
database tables can be split into multiple partitions, each of which represents a
specific period of time. Partitioning is supported only in the Enterprise editions
of Oracle and Microsoft SQL databases.
The Reporting Database can be configured for partitioning in the following
ways:
• During the installation of Reporting Server 8.1.2, if the user selects the
Enterprise edition of either product, the rs.partitioning.enabled
configuration option in the persistence section is automatically set to
true.
• The rs.partitioning.partitions-per-day option in the persistence
section is used to change the number of partitions per day. The default
value is 6, however, the value can be increased in environments that
experience high call volumes.

Note: When database partitioning is enabled, Genesys recommends that


you not change the partitioning mode of operation or the number
of partitions (even after the Reporting Server is started), because
of issues that might arise if the database schema or stored data is
changed.

308 Genesys Voice Platform 8.1


Chapter 7: Post-Installation Configuration of GVP Reporting Server Database

• The Reporting Database 8.1.2 schemas are different for enterprise and
standard editions and are located in different directories. To create the
schema that is compatible with your database selection, see Procedure:
Setting Up a Database for the Reporting Server, on page 307.
For more a complete list of configuration options for database partitioning, see
the Genesys Voice Platform 8.1 User’s Guide.

Recovery Model for Microsoft SQL Server


If you are installing your database on Microsoft SQL Server, Genesys
recommends that you use the SQL Server Simple Recovery Model, which is a
simple backup that can be used to replace your entire database in the event of a
failure or to restore your database to another server. This mode enables you to
do a complete backup (all of the data) or a differential backup (data that has
changed since the last complete backup only).
This model is a basic recovery model. Every transaction is written to the
transaction log, however, the space is reused by new transactions when
previous transactions are complete and written to the data file. Since this space
is reused, you cannot do a point-in-time recovery. The most recent restore
point becomes either the complete backup or the latest differential backup.
However, because the transaction log space is reused, the log does get
continuously larger, as it does in the Full Recovery Model.
For more information about the types of data this recovery mode is used for
and a complete list of backups you can use, see the MSSQL Tips web site.

Note: If you choose not to use this recovery mode, Genesys recommends that
you backup your transaction logs regularly.

Two ways exist to configure the Simple Recovery Model:


1. Use T-SQL to enter the following command line:
ALTER DATABASE <dbName> SET RECOVERY recoveryOption GO
where <dbName> is the name of the database.
2. Use SQL Server Management Studio:
a. Right-click on database name and select Properties.
b. Select the Options page.
c. Click the Recovery model: drop-down menu and select Simple.
d. Click OK to save the configuration.

Deployment Guide 309


Chapter 7: Post-Installation Configuration of GVP Reporting Server Database

310 Genesys Voice Platform 8.1


Chapter

8 Maintaining the Genesys


Voice Platform
This chapter describes how to stop, start, and uninstall Genesys Voice Platform
(GVP) components. It contains the following sections:

Starting and Stopping the Components, page 311
 Uninstalling the Components, page 314

Managing the Cache, page 316

Starting and Stopping the Components


Use Genesys Administrator to safely and easily start, stop, and gracefully stop
each of the components in a GVP Solution object. A graceful stop causes the
Application or Solution object to stop accepting new requests and to wait for
all media requests to complete. Media requests, such as call recording or
conferences, might take a long time to complete using a graceful stop.
However, using a stop abruptly terminates any call recording or conference
with no chance of recovery, so using a graceful stop is recommended whenever
possible.
Prioritizing the startup of the GVP components is important to ensure it is
successful. After the initial installation or any time that the systems are shut
down for maintenance, use the startup priority that is outlined in the section,
“Startup Sequence for the VPS” on page 219.
You can also use Genesys Administrator to configure the components to start
automatically.
This section contains the following procedures:
• Starting and Stopping GVP Solution Objects on page 312
• Starting and Stopping GVP Application Objects on page 313
• Configuring Application Objects to Start Automatically on page 314

Deployment Guide 311


Chapter 8: Maintaining the Genesys Voice Platform Starting and Stopping the Components

Procedure:
Starting and Stopping GVP Solution Objects

Purpose: To describe the ways in which you can start or restart the GVP
Solution objects.

Summary
Use this procedure only if you have created Solution Objects. (Creating
Solution objects is optional.)

Prerequisites
• The GVP components are installed. See “Installing GVP (Windows)” on
page 337 or “Installing GVP (Linux)” on page 360.
• A Solution object is created. See Procedure: Creating a Resource Solution
Object, on page 258.
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Solutions.
3. Select the Solution object that you want to start.
4. In the Tasks panel, click the Runtime section down arrow.
The section opens to display the start and stop options, as shown in
Figure 16.

Figure 16: Task Panel—Stop/Start Solution

5. Select one of three options; Start, Stop, or Graceful Stop.

End of procedure

Next Steps
• No further steps are required.

312 Genesys Voice Platform 8.1


Chapter 8: Maintaining the Genesys Voice Platform Starting and Stopping the Components

Procedure:
Starting and Stopping GVP Application Objects

Purpose: To describe the ways in which you can start or stop the GVP
Application objects.

Prerequisites
• The GVP components are installed. See “Installing GVP (Windows)” on
page 337 or “Installing GVP (Linux)” on page 360.
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Select the Application object that you want to start or stop.
4. In the Tasks panel, click the Runtime section down arrow.
The section opens to display the start and stop options, as shown in
Figure 17.
5. Select one of three options: Start, Stop, or Graceful Stop.

End of procedure

Next Steps
• No further steps are required.

Figure 17: Task Panel—Stop/Start Application

Graceful Shutdown of the Reporting Server


To minimize the risk of data loss, always shut down components with active
client connections to the Reporting Server before shutting down the Reporting
Server itself. Components such as MCP, RM, CCP and MRCP Proxy should be
shut down gracefully first; only then can the Reporting Server be shut down
safely.
If the Reporting Server goes down unexpectedly or unintentionally, restart it
and give it some time to process queued-up local data before shutting down
client components.

Deployment Guide 313


Chapter 8: Maintaining the Genesys Voice Platform Uninstalling the Components

Procedure:
Configuring Application Objects to Start Automatically

Purpose: To configure the GVP Application objects to start automatically


after the installation.

Summary
This procedures explains how to configure the components to start
automatically in two different ways.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Double-click the Application object that you want to configure to start
automatically.
The Configuration tab appears.
4. Configure the Application in one of two ways:
a. In the Server Info section:
— Scroll down to the Auto Restart field.
— Click the True check box to enable it.
b. On the Options tab, from the View drop-down menu:
— Select Advanced View (Annex).
— In the sml section, select New.
The New Option dialog box appears.
— In the Name field, enter autostart.
— In the Value field, enter true.
5. Save the changes.

End of procedure

Next Steps
• No further steps are required.

Uninstalling the Components


Before you begin to uninstall the components, ensure that they are stopped by
using the Stop applications gracefully option in Genesys Administrator.
Uninstall the GVP components one at a time.

314 Genesys Voice Platform 8.1


Chapter 8: Maintaining the Genesys Voice Platform Uninstalling the Components

The procedures to uninstall the GVP components manually are included in this
section, but uninstalling the components by using Genesys Administrator is
recommended.

Procedure:
Uninstalling GVP Components by Using Genesys
Administrator

Purpose: To uninstall the GVP components one at a time by using Genesys


Administrator.

Summary
Use this procedure to uninstall components that are installed on Windows or
Linux; however, before uninstalling a component on Linux, ensure that write
permissions are configured on the LCA folder by issuing the following
command as root on the server: chmod a+w /opt/genesys/lca

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Double-click the Application object that you want to uninstall.
The Configuration tab appears.
4. In the tool bar, select Uninstall.
A Confirm dialog box appears.
5. Click Yes.
A dialog box appears that indicates that the uninstallation process is
complete.

End of procedure

Next Steps
• No further steps are required.

Procedure:
Uninstalling GVP Components Manually (Windows)

Purpose: To uninstall GVP manually one component at a time on a Windows


host.

Deployment Guide 315


Chapter 8: Maintaining the Genesys Voice Platform Managing the Cache

Summary
You must be logged on to the host where the component is installed to uninstall
it manually.

Prerequisites
• The Application objects to be uninstalled are stopped by using the Stop
applications gracefully option in Genesys Administrator. See Procedure:
Starting and Stopping GVP Application Objects, on page 313.

Start of procedure
1. From the Start menu, select Control Panel > Add/Remove Programs.
2. Select the appropriate GVP component from the list of currently installed
programs.
3. Click Remove.
4. When the uninstall is complete for each of the GVP components, restart
the machine.

End of procedure

Next Steps
• There are no further steps required.

Uninstalling GVP components manually (Linux)


To uninstall GVP components on Linux hosts manually:
• Log on to the Linux host where the component is installed.
• Stop the components by using the Stop applications gracefully option in
Genesys Administrator. See Procedure: Starting and Stopping GVP
Application Objects, on page 313.
• Delete the installation directory.

Managing the Cache


This section describes ways in which you can manage the Squid and Page
Collector cache manually on Windows and Linux hosts, see:
• Squid Cache Management

Rotating the Caching Logs (Windows)

Scheduling the Caching Logs Rotation (Linux) on page 319
• Page Collector Cache Management on page 319

316 Genesys Voice Platform 8.1


Chapter 8: Maintaining the Genesys Voice Platform Managing the Cache

Squid Cache Management


Table 31 summarizes the commands that you can use to force the cache to be
refreshed, purged, or cleared. Issue these commands in the cmd console window
on the Media Control Platform or Call Control Platform host whose cache you
want to manage.

Table 31: Manual Cache Management Commands

Objective Command

Windows OS

Refresh an object. C:\squid\bin\squidclient -s -r <uri>


Where <uri> is the full URI of the object that you want to refresh.

Purge an object. C:\squid\bin\squidclient -s -m PURGE <uri>


Where <uri> is the full URI of the object that you want to purge.

Clear the entire cache. C:\squid\bin\sbin\squid -k shutdown -n SquidNT


echo '' > C:\squid\var\cache\swap.state
net start SquidNT

Linux OS

Refresh an object. /usr/local/squid/bin/client -s -r <uri>


Where <uri> is the full URI of the object that you want to refresh.

Purge an object. /usr/local/squid/bin/client -s -m <PURGE> <uri>


Where <uri> is the full URI of the object that you want to refresh.

Clear the entire cache. /usr/local/squid/bin/squid -k shutdown


echo "" > /usr/local/squid/cache/swap.state
/usr/local/squid/bin/squid

For more information about how GVP handles caching, see “Caching” on
page 170.

Rotating the Caching Logs (Windows)


Schedule a daily task in Windows Scheduler to rotate the logs for the Squid
caching service. GVP does not rotate the logs automatically because Squid
caching is a third-party application.

Note: In GVP 8.1.2, the Squid Caching Proxy automatically rotates the
caching logs, therefore, this procedure is only required for GVP 8.1.1
and earlier 8.x releases.

Deployment Guide 317


Chapter 8: Maintaining the Genesys Voice Platform Managing the Cache

Procedure:
Scheduling the Caching Logs Rotation (Windows)

Purpose: To schedule a daily task to rotate the Squid caching service logs on
Windows.

Prerequisites
• Squid caching proxy is installed and service is running. See Procedure:
Installing the Squid Caching Proxy (Windows), on page 337.

Start of procedure
1. From the Windows Start menu, select All Programs > Accessories >
Notepad.
2. Enter the following script:
@echo
C:\squid\sbin\squid.exe -k rotate -n SquidNT
@pause
@echo
3. Save the file with the extension .bat—for example, SquidTask.bat.
4. From the Windows Start menu, select All Programs > Accessories >
System Tools > Scheduled Tasks.
5. Double-click Add Scheduled Task.
The Scheduled Task Wizard appears.
6. Click Next to browse to the file you created in Step 3.
7. Double-click the file.
The Scheduled Task Wizard automatically populates the Task Name field.
8. In the Perform this task: section, select Daily.
9. Click Next and enter 2:00 AM in the Start Time field.
10. Select the Every Day radio button.
11. In the Start Date field, enter the date that you want the task to start—for
example, 5/12/2008.
12. Click Next to enter the username of the person who is scheduling the task
13. In the Password and Confirm Password fields, enter the password.
14. Click Next to Finish and quit the wizard.
To uninstall the log rotation schedule, delete the scheduled task.

End of procedure

318 Genesys Voice Platform 8.1


Chapter 8: Maintaining the Genesys Voice Platform Managing the Cache

Next Steps
• No further steps are required.

Scheduling the Caching Logs Rotation (Linux)


You can configure a rotation schedule for the Squid caching logs on Linux
using the /etc/logrotate.d/squid file. The default configuration is to rotate
the logs weekly, retain the last five files, and compress each archived file,
however the file can be modified to suit your needs.
The following script is a typical configuration in the Squid log rotation file.

/var/log/squid/access.log {
weekly
rotate 5
copytruncate
compress
notifempty
missingok
}
/var/log/squid/cache.log {
weekly
rotate 5
copytruncate
compress
notifempty
missingok
}

/var/log/squid/store.log {
weekly
rotate 5
copytruncate
compress
notifempty
missingok
# This script asks squid to rotate its logs on its own.
# Restarting squid is a long process and it is not worth
# doing it just to rotate logs
postrotate
/usr/sbin/squid -k rotate
endscript
}
For more information about the logrotate capabilities of Linux, check the
vendor documentation or visit the website.

Page Collector Cache Management


Purge the Page Collector cache manually by configuring the Media Control
Platform Application object in Genesys Administrator.

Deployment Guide 319


Chapter 8: Maintaining the Genesys Voice Platform Managing the Cache

Procedure:
Purging the Page Collector Cache Manually

Purpose: To configure the Media Control Platform to purge the Page Collector
cache the next time that the server is restarted.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Double-click the Media Control Platform Application object that you
want to configure.
The Configuration tab appears.
4. On the Options tab, from the View drop-down list:
• Select Advanced View (Options).
• In the PageCollector section, set value of the PurgeCache parameter to
1—for example, PurgeCache = 1.
5. Save the changes.

End of procedure

Next Steps
• No additional steps are required.

320 Genesys Voice Platform 8.1


Part

3 Appendixes
Part Three of this Deployment Guide contains miscellaneous information about
the Genesys Voice Platform in the following appendixes:
• Appendix A, “Installing GVP Manually (Windows),” on page 323
• Appendix B, “Installing GVP Manually (Linux),” on page 355
• Appendix C, “Deploying Multiple Media Control Platforms,” on page 389
• Appendix D, “Deploying GVP Multi-Site Environments,” on page 397
• Appendix E, “Resource Manager High Availability,” on page 419
• Appendix F, “Reporting Server High Availability,” on page 465
• Appendix G, “HTTP Caching and Performance Planning,” on page 471
• Appendix H, “GVP Call Flows,” on page 479
• Appendix I, “Specifications and Standards,” on page 495

Deployment Guide 321


Part 3: Appendixes

322 Genesys Voice Platform 8.1


Appendix

A Installing GVP Manually


(Windows)
This appendix describes how to install Genesys Voice Platform (GVP)
manually on the Windows operating system (OS) by using the executable files
in the GVP Installation Packages. It contains the following sections:

Task Summaries, page 323
 Preinstallation Activities, page 327

Installing GVP (Windows), page 337

Task Summaries
The following Task Summary: Preparing Your Environment for GVP
(Windows) contains a list of tasks that are required to prepare your
environment and includes links to detailed information that is required to
complete these tasks.

Task Summary: Preparing Your Environment for GVP (Windows)

Objective Related procedures and actions

Plan the deployment For specific restrictions and recommendations to consider, see
“Host Setup” on page 213.

Prepare your environment—Install 1. Management Framework.


common Genesys Framework Install the latest Installation Package (IP) for the Genesys
Management Framework; and ensure that it is fully
operational and running. See Framework 8.1 Deployment
Guide.
Management Framework is the centralized element
management system for all Genesys software.

Deployment Guide 323


Appendix A: Installing GVP Manually (Windows) Task Summaries

Task Summary: Preparing Your Environment for GVP (Windows) (Continued)

Objective Related procedures and actions

Prepare your environment—Install 2. Genesys Administrator.


common Genesys Framework Install Genesys Administrator, and ensure that it is fully
components operational. See Framework 8.1 Deployment Guide.
Genesys Administrator is the centralized management GUI
for all Genesys software.

3. Genesys SNMP Master Agent.


Install and configure the SNMP Master Agent on the same
host(s) as the Resource Manager, Media Control Platform,
Call Control Platform, Supplementary Services Gateway,
CTI Connector, and PSTN Connector components.
(After the SNMP Master Agent is installed on the GVP
hosts, you will assign the SNMP Master Agent to each
component for which you want to capture alarm and trap
information. This is a post-installation activity (see
“Creating a Connection to a Server” on page 262).
The Genesys Voice Platform 8.1 DVD includes an MIB
Installation Package that can be loaded on the SNMP
management console (for example, HP Open View) in your
environment. To install the MIBs, run the setup.exe file,
and select the default installation path:
C:\Program Files\GCTI\gvp\VP MIB 8.1
Note: The SNMP Master Agent is required only if you are
capturing alarm and trap information. For more information
about installing the Management Framework and the SNMP
Master Agent, see the Framework 8.1 Deployment Guide. For
more information about the MIBs, see the Genesys Voice
Platform 8.1 SNMP and MIB Reference.

Prepare your environment—Install third 4. Third-party hardware and software.


party software If you are using automatic speech recognition (ASR)
and/or text-to-speech (TTS), install the third-party Media
Resource Control Protocol (MRCP) speech server and
ensure that it is operational.
For more information about this software, see your MRCP
vendor’s documentation.
For information about prerequisite software, see
“Prerequisites” on page 207.

324 Genesys Voice Platform 8.1


Appendix A: Installing GVP Manually (Windows) Task Summaries

Task Summary: Preparing Your Environment for GVP (Windows) (Continued)

Objective Related procedures and actions

Prepare the host(s) 1. Stop antivirus software that might be running on systems
that will host GVP components.
Check the vendor documentation for your antivirus
software configuration.

2. Install the Local Control Agent on the GVP hosts so that


they are controlled and monitored by the Solution
Control Server (SCS).
See Procedure: Installing the Local Control Agent
(Windows), on page 235.

Complete the prerequisites 1. Prepare the Windows platform for GVP:


a. Install Microsoft Internet Information Services (IIS) on
the Windows hosts. See “Prerequisites” on page 207 for
supported versions of Microsoft IIS.
b. Configure the required Windows services and settings
on the systems that will host GVP components. See
“Windows Services and Settings” on page 223.
Note: In GVP 8.1.3 and earlier 8.x releases, IIS was
required to host inline and universal hotkey grammar files
that were fetched by ASR. In GVP 8.1.4, IIS is no longer
required. The Media Control Platform now transmits these
grammars by default in the MRCP requests.

2. On Reporting Server and Policy Server hosts, install the


Sun JRE 6.0, Update 19 or later, platform.
For more information about the prerequisite software, see
“Prerequisites” on page 207 or visit the vendor’s website.

3. If you are adding the PSTN Connector to your


environment, install Dialogic.
To ensure Dialogic functions properly after installation,
you must disable the Physical Address Extension (PAE) on
Windows 2008.
From the command-line interface (CLI), enter:

C:\bcdedit /set nx OptOut

C:\bcdedit /set pae ForceDisable
and then restart the server.
For more information about how to install and configure
Dialogic hardware and software, visit the vendor’s website.

The following Task Summary: Deploying GVP Manually (Windows) contains


a list of tasks required to deploy GVP manually and includes links to detailed
information required to complete these tasks.

Deployment Guide 325


Appendix A: Installing GVP Manually (Windows) Task Summaries

Task Summary: Deploying GVP Manually (Windows)

Objective Related procedures and actions

Configure the host(s) 1. Configure a new host in the Configuration Database for
each computer that is hosting GVP components.
See Procedure: Configuring a Host in Genesys
Administrator, on page 233.

Create the Application objects 2. Create the GVP Application objects:


a. Import the templates. See Procedure: Importing
Application Object Templates Manually, on page 329.
b. Create the Application objects. See Procedure:
Creating Application Objects Manually, on page 334

Install GVP 3. Install the GVP components:


a. Install the Squid caching proxy (a prerequisite for
GVP 8.1.1 and earlier 8.x releases only; optional in
GVP 8.1.2). See Procedure: Installing the Squid
Caching Proxy (Windows), on page 337.
b. Install the Fetching Module. (This component is
integrated with the Media and Call Control Platforms
in GVP 8.1.2.) See Procedure: Installing the Fetching
Module (Windows), on page 339.
c. Install the Media Control Platform. See Procedure:
Installing the Media Control Platform (Windows), on
page 340.
d. Install the Call Control Platform. See Procedure:
Installing the Call Control Platform (Windows), on
page 343
e. Install the Resource Manager. See Procedure:
Installing the Resource Manager (Windows), on
page 344.
f. Install the Reporting Server. See Procedure: Installing
the Reporting Server (Windows), on page 345
g. Install the Supplementary Services Gateway. See
Procedure: Installing the Supplementary Services
Gateway (Windows), on page 348.
h. Install the CTI Connector (optional). See Procedure:
Installing the CTI Connector (Windows), on page 349.
i. Install the PSTN Connector (optional). See Procedure:
Installing the PSTN Connector (Windows), on
page 350

326 Genesys Voice Platform 8.1


Appendix A: Installing GVP Manually (Windows) Preinstallation Activities

Task Summary: Deploying GVP Manually (Windows) (Continued)

Objective Related procedures and actions

Install GVP (continued) j. Install the Policy Server (optional). See Procedure:
Installing the Policy Server (Windows), on page 351.
k. Install the MRCP Proxy (optional). See Procedure:
Installing the MRCP Proxy (Windows), on page 352.

Start the components 4. Start the components manually (or configure the
components to start automatically).
See “Startup Sequence for the VPS” on page 219 and
“Starting and Stopping the Components” on page 311.

Complete the post-installation activities 5. Configure the GVP components for the functionality you
want use in your deployment.
See Task Summary: Post-Installation Configuration of
GVP, on page 253.

Preinstallation Activities
Before you begin the preinstallation activities, ensure that the Local Control
Agent (LCA) is installed on each GVP host and that the hosts are configured in
the Configuration Database. See “Preparing the Hosts for GVP” on page 232.
To install the Genesys Voice Platform components, create an Application
object in the Configuration Database for each application you are installing.
Each object that is created in the Configuration Database requires an object
template. The templates are imported from the GVP installation CDs or from a
shared network directory. After a template is imported, it can be used for
subsequent instances of the same component. For example, if you are installing
more than one Media Control Platform host, you can use the same template for
each Media Control Platform Application object.

Note: As a best practice, when you are using these manual procedures,
import all of the Application and Speech Resource object templates
that you require before you begin to deploy the components.

See Table 32 on page 330 and Table 33 on page 331 for the names and
locations of the templates on the installation CDs.

Creating Application Objects in the Configuration Database


This section describes how to create Application objects in the Configuration
Database either by using a wizard in Genesys Administrator or by using a
manual procedure. To create Application objects manually, you must first

Deployment Guide 327


Appendix A: Installing GVP Manually (Windows) Preinstallation Activities

import an Application object template, and then use it to create Application


objects. This section contains the following:
• Procedure: Using the Create New Application Wizard
• Procedure: Importing Application Object Templates Manually, on
page 329
• Procedure: Creating Application Objects Manually, on page 334

Procedure:
Using the Create New Application Wizard

Purpose: To create Application objects in the Configuration Database for each


GVP component.

Summary
The Create New Application Wizard in Genesys Administrator imports the
Application object templates and creates the Application objects for you. If
you use the Genesys Deployment Wizard to install GVP, you can omit this
procedure, because the wizard imports the GVP component Application
object templates and creates the Application objects for you.

Prerequisites
• The GVP Installation Packages are accessible from the DVD or from a
shared network directory.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, click Environment > Applications.
3. In the Task pane, select Create Application.
The Create New Application Wizard appears.
4. Click Browse for File to import a template.

Notes: If the templates were previously imported, you can use an existing
template by selecting Browse for Template.

5. Click Add to navigate to the directory that contains the template (.apd)
files.
Figure 18 on page 330 shows the Add dialog box.
6. Click Next to specify the metadata.
7. Click Browse > Add to import the metadata for the Application object your
are creating.

328 Genesys Voice Platform 8.1


Appendix A: Installing GVP Manually (Windows) Preinstallation Activities

8. Click Next to configure the application parameters.


9. In the Host field, click the Browse icon to select the host on which you want
to install the application.

Note: In Genesys Administrator the mandatory fields are marked with a


red asterisk. In the wizard, all fields on the Application Parameters
page are populated automatically, except the Host field.

10. After the host appears on the Application Parameters page, click Create.
The Results page appears, to confirm the Application object is created.
11. Click Finish.

End of procedure

Next Steps
• Install the GVP components. See “Installing GVP (Windows)” on
page 337.

Procedure:
Importing Application Object Templates Manually

Purpose: To import an Application object template to the Configuration


Database manually before you install the Application object.

Summary
Use this procedure only if you are manually creating Application objects;
otherwise, you can use the Genesys Administrator Create New Application
Wizard.
If you use the Genesys Deployment Wizard to install GVP, you can omit this
procedure, because the wizard imports the GVP component Application
object templates and creates the Application objects for you.

Prerequisites
• The GVP hosts are prepared for deployment. See “Preparing the Hosts for
GVP” on page 232.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, click Environment > Application Templates.

Deployment Guide 329


Appendix A: Installing GVP Manually (Windows) Preinstallation Activities

3. In the Tasks pane, click Import Application Template.


A Waiting dialog box appears.
4. Click Add.
Figure 18 is an example of the dialog box to add the .apd template file:

Figure 18: Importing .apd Template

5. In the Choose File dialog box, navigate to the directory that contains the
GVP or Speech Resource Application object templates.
Table 32 lists the file names and locations of the GVP Application object
templates.

Note: In GVP 8.1.2 the Fetching Module is integrated with the Media
and Call Control Platforms and is no longer a separate component
(no metadata or template).

Table 32: GVP Component Templates and Metadata

Application object File name

Location: <Genesys Solutions Dir>\Templates\<file_name>

Fetching Module VP_FetchingModule_81x.apd


VP_FetchingModule_81x.xml

Resource Manager VP_ResourceManager_81x.apd


VP_ResourceManager_81x.xml

Media Control Platform VP_MediaControlPlatform_81x.apd


VP_MediaControlPlatform_81x.xml

330 Genesys Voice Platform 8.1


Appendix A: Installing GVP Manually (Windows) Preinstallation Activities

Table 32: GVP Component Templates and Metadata (Continued)

Application object File name

Call Control Platform VP_CallControlPlatform_81x.apd


VP_CallControlPlatform_81x.xml

Reporting Server VP_ReportingServer_81x.apd


VP_ReportingServer_81x.xml

Supplementary Services Gateway VP_SupplemetaryServicesGateway_81x.apd


VP_SupplemetaryServicesGateway_81x.xml

CTI Connector VP_CTIConnector_81x.apd


VP_CTIConnector_81x.xml

PSTN Connector VP_PSTNConnector_81x.apd


VP_PSTNConnector_81x.xml

Policy Server VP_PolicyServer_81x.apd


VP_PolicyServer_81x.xml

MRCP Proxy VP_MRCPProxy_81x.apd


VP_MRCPProxy_81x.xml

Table 33 list the file names and locations of the Speech Resource Application
objects.

Table 33: Speech Resource Templates and Metadata

Speech Resource File name


object

Location: <Genesys Solutions Dir>\Templates\<file_name>

MRCPv1 ASR VP_MCP_MRCPv1_ASR_81x.apd


VP_MCP_MRCPv1_ASR_81x.xml
VP_MCP_MRCPv1_ASR_IBM_81x.apd
VP_MCP_MRCPv1_ASR_IBM_81x.xml
VP_MCP_MRCPv1_ASR_NUANCE_81x.apd
VP_MCP_MRCPv1_ASR_NUANCE_81x.xml
VP_MCP_MRCPv1_ASR_TELISMA_81x.apd
VP_MCP_MRCPv1_ASR_TELISMA_81x.xml

Deployment Guide 331


Appendix A: Installing GVP Manually (Windows) Preinstallation Activities

Table 33: Speech Resource Templates and Metadata (Continued)

Speech Resource File name


object

MRCPv1 TTS VP_MCP_MRCPv1_TTS_81x.apd


VP_MCP_MRCPv1_TTS_81x.xml
VP_MCP_MRCPv1_TTS_IBM_81x.apd
VP_MCP_MRCPv1_TTS_IBM_81x.xml
VP_MCP_MRCPv1_TTS_NUANCE_81x.apd
VP_MCP_MRCPv1_TTS_NUANCE_81x.xml

MRCPv2 ASR VP_MCP_MRCPv2_ASR_81x.apd


VP_MCP_MRCPv2_ASR_81x.xml
VP_MCP_MRCPv2_ASR_NUANCE_81x.apd
VP_MCP_MRCPv2_ASR_NUANCE_81x.xml

MRCPv2 TTS VP_MCP_MRCPv2_TTS_81x.apd


VP_MCP_MRCPv2_TTS_81x.xml
VP_MCP_MRCPv2_TTS_NUANCE_81x.apd
VP_MCP_MRCPv2_TTS_NUANCE_81x.xml

6. Double-click <template_filename>.apd, where <template_filename> is the


file name of the template that you want to import.
The template is imported, and the Configuration tab appears.

Note: Some of the Speech Resource Application object templates are


vendor-specific. Ensure that you are using the correct template,
based on the vendor. See Table 33 on page 331.

7. Click Import Metadata, as shown in Figure 19:

Figure 19: Import Metadata

332 Genesys Voice Platform 8.1


Appendix A: Installing GVP Manually (Windows) Preinstallation Activities

8. In the Waiting dialog box, click Add.


9. In the Choose File dialog box, navigate to the directory that contains the
Application object templates.
10. Double-click <template_file_name>.xml, where <template_file_name> is
the name of the file that contains the metadata.
The metadata for the template is imported and the Configuration tab
appears.
11. In the General section, enter the information that identifies the template, as
shown in Table 34.

Table 34: Application Template Properties

Field Description

Name: Enter a descriptive name for the template—for example,


GVP_FM_template.

Type: From the drop-down list, select the template type:


• For the GVP Application objects select the template
with the same name—for example, for the Fetching
Module, select GVP Fetching Module.
• For all Media Resource Control Protocol (MRCP)
Client objects and Recording Servers, select Resource
Access Point.

Version: Enter the template version number—for example, 8.1 or


select it from the drop-down list.

State enabled: Insert a check mark in the checkbox to indicate Enabled.

Note: For each GVP component or MRCP speech resource you want to
install, add a GVP or Speech Resource Application object template
before you begin the installation.

12. Click Save.

End of procedure

Next Steps
• Create the required Application objects in the Configuration Database. See
Procedure: Creating Application Objects Manually.

Deployment Guide 333


Appendix A: Installing GVP Manually (Windows) Preinstallation Activities

Procedure:
Creating Application Objects Manually

Purpose: To create an Application or Speech Resource object manually in the


Configuration Database for the application or speech resource that you are
installing.

Summary
Use this procedure only if you are manually creating Application objects,
otherwise you can use the Genesys Administrator Create New Application
Wizard.
If you use the Genesys Deployment Wizard to install GVP, you can omit this
procedure, because the wizard imports the GVP component Application
object templates and creates the Application objects for you.

Prerequisites
• An Application or Speech Resource object template is imported for the
type of object that you are installing. See Procedure: Importing Application
Object Templates Manually, on page 329.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications > New.
The Browse..\Application Templates\ dialog box appears, displaying the
contents of the Application Templates directory. See Figure 20.

Figure 20: Browse Application Templates

334 Genesys Voice Platform 8.1


Appendix A: Installing GVP Manually (Windows) Preinstallation Activities

3. Click the object template for the GVP or Speech Resource Application
object that you want to create. See Table 32 and Table 33 on page 330 for
a list of template file names.
The Configuration tab appears, with some of the fields in the General
section populated and disabled.
4. In the Name field, enter the name of the application—for example,
Fetch_Module.
5. In the State field, retain the default value: Enabled.
6. In the Server Info section, enter the information as shown in Table 35.

Note: Table 35 lists only the required fields—that is, those fields that have an
asterisk in front of the field name. The required fields must be
populated before you can save the configuration.

Table 35: Application Object Properties

Field Description

Host: Enter the name of the computer that is hosting the application—for example,
GVP-host1—or browse to select from a list of available hosts.

Working Directory: Enter any value in these fields as temporary placeholders—for example, \.
These characters are replaced by the proper values when the component is
Command Line installed.

StartUp Timeout Enter the time interval, in seconds, during which the User Interaction Layer
should expect this application to start.
The default is 90 seconds.
If the application is configured with the Autostart configuration option set to
True, this is also the time that Solution Control Server waits to start this
application after initialization or a system restart.

ShutDown Timeout Enter the time interval, in seconds, during which the User Interaction Layer
should expect this application to shut down.
The default is 90 seconds.

Redundancy Type From the drop-down list, select the type of redundancy in which you want this
application to run.

Timeout Enter the time interval, in seconds, that the client application should wait
between reconnect attempts if the initial attempt to connect to the server does
not succeed.
The default is 10 seconds.

Deployment Guide 335


Appendix A: Installing GVP Manually (Windows) Preinstallation Activities

Table 35: Application Object Properties (Continued)

Field Description

Attempts Enter the number of times that the client applications should attempt to
reconnect to this server before trying to connect to the backup server.
The default value is 1.
This value must be 1 or higher and it makes sense only if you specify a backup
server for this server.

Auto Restart From the drop-down list, select True or False.


The default value is False.
Selecting True causes the User Interaction Layer to automatically restart the
application after it fails. Selecting False prevents the User Interaction Layer
from automatically restarting the application after it fails.
Note: Genesys recommends that you select True for this parameter.

Note: Although the Configuration Database does not use the parameters
in Table 35 on page 335 when Speech Resource Application
objects are created, the required fields must be populated before
you can save the configuration. If you are creating Speech
Resource Application objects, retain the default values for the
StartUp Timeout, Shutdown Timeout, Redundancy Type, Timeout,
Attempts, and Auto Restart fields.

7. Click Save.

End of procedure

Next Steps
• Install the GVP components. See “Installing GVP (Windows)”.

336 Genesys Voice Platform 8.1


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

Installing GVP (Windows)


This section describes how to install GVP on a Windows OS in a new
deployment, or add GVP components to an existing deployment.
The prerequisites for each component include preparing the hosts for GVP and
completing the preinstallation activities.
Before you begin to install the components, copy the GVP installation
packages to a directory on the Windows hosts or to a network drive from
which they can be downloaded.

Note: For GVP 8.1.1 or earlier 8.x releases, if you are installing multiple
instances of the same component, Genesys recommends that you
install each instance on a different host.
Starting in 8.1.2, GVP supports multiple instances of the Media
Control Platforms on a single host. For more information about
installing multiple instances of the Media Control Platform, see
Appendix C on page 389.

This section contains the following procedures:


• Procedure: Installing the Squid Caching Proxy (Windows)
• Procedure: Installing the Fetching Module (Windows), on page 339
• Procedure: Installing the Media Control Platform (Windows), on page 340
• Procedure: Installing the Call Control Platform (Windows), on page 343
• Procedure: Installing the Resource Manager (Windows), on page 344
• Procedure: Installing the Reporting Server (Windows), on page 345
• Procedure: Installing the Supplementary Services Gateway (Windows), on
page 348
• Procedure: Installing the PSTN Connector (Windows), on page 350
• Procedure: Installing the Policy Server (Windows), on page 351
• Procedure: Installing the MRCP Proxy (Windows), on page 352

Procedure:
Installing the Squid Caching Proxy (Windows)

Purpose: To install and start the Squid caching proxy on the Media Control
Platform and Call Control Platform hosts.

Summary
In GVP 8.1.1 and earlier 8.x releases, the Squid proxy is a prerequisite for the
Media and Call Control Platforms. In GVP 8.1.2 and later, Squid is optional.

Deployment Guide 337


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

Prerequisites
• The requirements for Windows software are met. See Table 10 on
page 207.

Start of procedure
1. On the Windows host, execute the setup.exe setup file:
• If you are using the GVP software DVD, browse to the
<GVPDVD>\gvp\windows\Squid\ folder where <GVPDVD> is the DVD drive
letter.
• If the DVD image is on a network drive, copy the
<DVDImage>\gvp\windows\Squid\ folder to the local computer.
2. When the Genesys Deployment Wizard appears, click Next.

Note: To avoid having to make manual configuration changes after


installation, install the Squid caching proxy in the default directory,
C:\Squid.

3. After the Deployment Wizard is complete, click Finish.


4. Restart the host computer.
Start the Service 5. At the host computer, from the Windows Start menu, click Programs >
Administrative Tools > Services.
6. In the Component Services window, click Services (Local).
7. In the Services list, ensure that the service is running.
8. If the service is not running, right-click SquidNT, and then select Start.
9. Click OK.

End of procedure

Next Steps
• Install the Fetching Module. See Procedure: Installing the Fetching
Module (Windows)

338 Genesys Voice Platform 8.1


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

Procedure:
Installing the Fetching Module (Windows)

Purpose: To install the Fetching Module component on the Media Control


Platform and Call Control Platform hosts.

Note: In GVP 8.1.1 and earlier 8.x releases, the Fetching Module is required
on the Media and Call Control Platforms. In GVP 8.1.2, the Fetching
Module has been integrated with these components and is no longer a
separate IP.

Prerequisites
• The Squid caching proxy is installed and the service is started. See
Procedure: Installing the Squid Caching Proxy (Windows), on page 337.
• The Fetching Module host is prepared for installation. See “Preparing the
Hosts for GVP” on page 232.
• The Fetching Module Application object template is imported, and an
Application object is created. See “Preinstallation Activities” on
page 327.

Start of procedure
1. Execute the setup.exe setup file:
• If you are using the GVP software DVDs, browse to the
<GVP_Installation_DVD>\solution_specific\windows\fm\ folder where
<GVP_Installation_DVD> is the DVD drive letter.
• If the DVD image is on a network drive, copy the
<DVDImage>\solution_specific\windows\fm\ folder to the local computer.
2. When the Genesys Deployment Wizard appears, click Next.
3. Enter the information in the Host and User sections, as shown in Table 36.
These parameters are used to connect to the Configuration Server:
Table 36: Connection Parameters for Configuration Server

Section Field Description

Host Host name Enter the host name or IP address of the


Configuration Server.

Port Enter the port number for the


Configuration Server.

Deployment Guide 339


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

Table 36: Connection Parameters for Configuration Server

Section Field Description

User User name Enter the user name that is used to log in
to the Configuration Server.

Password Enter the password that is used to log in


to the Configuration Server.

4. Click Next.
5. Select the Fetching Module Application object, and then click Next.
6. Select the destination folder in one of two ways:
• Click Next to accept the default directory
• Click Browse to select the destination folder, and then click Next.
7. When the Ready to Install page appears, click Install.
8. After the installation is complete, click Finish.

End of procedure

Next Steps
• Configure the Fetching Module Application object to start automatically.
See Procedure: Configuring Application Objects to Start Automatically, on
page 314.
• Install the Media Control Platform. See Procedure: Installing the Media
Control Platform (Windows).

Procedure:
Installing the Media Control Platform (Windows)

Purpose: To install the Media Control Platform component, so that Session


Initiation Protocol (SIP) applications that use Voice Extensible Markup
Language (VoiceXML) can access the Media Control Platform media services.

Note: In GVP 8.1.2, the Fetching Module is integrated with the Media
Control Platform and is included in the same installation package. In
GVP 8.1.1 and earlier 8.x releases, it is still a separate component.

340 Genesys Voice Platform 8.1


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

Prerequisites
• The Squid Caching proxy is installed on the Media Control Platform host,
and the service is started (a prerequisite for GVP 8.1.1 and earlier 8.x
releases only; optional in GVP 8.1.2 and later releases). See Procedure:
Installing the Squid Caching Proxy (Windows), on page 337.
• The Media Control Platform host is prepared for installation. See
“Preparing the Hosts for GVP” on page 232.
• The Media Control Platform Application object template is imported, and
an Application object is created. See “Preinstallation Activities” on
page 327.
• Microsoft Internet Information Services (IIS) is installed. See
“Prerequisites” on page 207.

Start of procedure
1. Execute the setup.exe setup file:
• If you are using the GVP software DVDs, browse to the
<GMS_Installation_DVD>\solution_specific\windows\mcp\ folder.
• If the DVD image is on a network drive, copy the
<DVDImage>\solution_specific\windows\mcp\ folder to the local
computer.
2. When the Genesys Deployment Wizard appears, click Next.
3. Select one of two audio formats for your region:
• Mulaw (North America),
• Alaw (Europe).
4. On the Connection Parameters page, enter the information in the Host and
User sections, as shown in Table 37.
These are the connection parameters for the Configuration Server.
Table 37: Connection Parameters for Configuration Server

Section Field Description

Host Host name Enter the host name or IP address of the


Configuration Server.

Port Enter the port number of the Configuration


Server.

User User name Enter the user name that is used to log in to the
Configuration Server.

Password Enter the password that is used to log in to the


Configuration Server.

Deployment Guide 341


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

5. On the Client Side Port Configuration page, select Use Client Side
Port (if required). Enter the Port and IP Address.
6. On the Select Application page, select the Media Control Platform
Application object that you want to install.
7. Select the destination folder in one of two ways:
• Click Next to accept the default directory
• Click Browse to select the destination folder, and then click Next.
8. Enter a check mark in one or both of the following check boxes, if
required:
• Use HTTP Proxy—Enables the use of an HTTP Proxy.
• Enable Voice XML application on this server—Enables the use of
GVP VoiceXML applications or Genesys Media Server with Play
Application treatments.
9. If you checked the first option in Step 8:
• In the Proxy Server Host Name field, enter the host name of the proxy
server.
• In the Proxy Server IP Address field, enter the IP address of the proxy
server.

Note: If you did not check the first option in Step 8, you can skip Step 9.

10. In the VP Reporting Server section, enter the information, as shown in


Table 38.

Table 38: VP Reporting Server Section

Field Description

Host Enter the host name of the Reporting Server—for


example, ReportServ1.

Port Accept the default value, 61616, for the Reporting Server
port number.

Note: Step 10 is not required (and does not appear) if you are installing
GVP 8.1.2 and later components, instead you will create a connection
to the Reporting Server. See Procedure: Creating a Connection to a
Server, on page 263.

11. On the Ready to Install page, click Install.

342 Genesys Voice Platform 8.1


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

12. When the installation is complete, click Finish.

End of procedure

Next Steps
• Configure the Media Control Platform Application object to start
automatically. See Procedure: Configuring Application Objects to Start
Automatically, on page 314.
• Install the Call Control Platform. See Procedure: Installing the Call Control
Platform (Windows).

Procedure:
Installing the Call Control Platform (Windows)

Purpose: To install the Call Control Platform component so that applications


using Call Control Extensible Markup Language (CCXML) can access the
Call Control Platform call-processing services.

Note: In GVP 8.1.2, the Fetching Module is integrated with the Call Control
Platform and is included in the same installation package. In
GVP 8.1.1 and earlier 8.x releases, it is still a separate component.

Prerequisites
• The Squid caching proxy is installed on the Call Control Platform host, and
the service is started (a prerequisite for GVP 8.1.1 and earlier 8.x releases
only; optional in GVP 8.1.2). See Procedure: Installing the Squid Caching
Proxy (Windows), on page 337.
• The Call Control Platform host is prepared for installation. See “Preparing
the Hosts for GVP” on page 232.
• The Call Control Platform Application object template is imported, and an
Application object is created. See “Preinstallation Activities” on page 327.

Start of procedure
1. Execute the setup.exe setup file:
• If you are using the GVP software DVDs, browse to the
<GVP_Installation_DVD>\solution_specific\windows\ccp\ folder.
• If the DVD image is on a network drive, copy the
<DVDImage>\solution_specific\windows\ccp\ folder to the local
computer.
2. When the Genesys Deployment Wizard appears, click Next.

Deployment Guide 343


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

3. On the Connection Parameters page, enter the information in the Host and
User sections as shown in Table 37 on page 341.
These are the connection parameters for the Configuration Server.
4. On the Client Side Port Configuration page, select Use Client Side
Port (if required). Enter the Port and IP Address.
5. On the Select Application page, select the Call Control Platform
Application object you want to install.
6. Select the destination folder in one of two ways:
• Click Next to accept the default directory
• Click Browse to select the destination folder, and then click Next.
7. In the VP Reporting Server section, enter the information as shown in
Table 38 on page 342.
8. On the Ready to Install page, click Install.
9. When the installation is complete, click Finish.

End of procedure

Next Steps
• Configure the Call Control Platform Application object to start
automatically. See Procedure: Configuring Application Objects to Start
Automatically, on page 314.
• Install the Resource Manager. See Procedure: Installing the Resource
Manager (Windows).

Procedure:
Installing the Resource Manager (Windows)

Purpose: To install the Resource Manager on the host.

Prerequisites
• The Resource Manager host is prepared for installation. See “Preparing the
Hosts for GVP” on page 232.
• The Resource Manager Application object template is imported and an
Application object is created. See “Preinstallation Activities” on page 327.

Start of procedure
1. Execute the setup.exe setup file:
• If you are using the GVP software DVDs, browse to the
<GMS_Installation_DVD>\solution_specific\windows\rm\ folder.

344 Genesys Voice Platform 8.1


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

• If the DVD image is on a network drive, copy the


<DVDImage>\solution_specific\windows\rm\ folder to the local
computer.
2. When the Genesys Deployment Wizard appears, click Next.
3. On the Connection Parameters page, enter the information in the Host and
User sections, as shown in Table 37 on page 341.
4. On the Client Side Port Configuration page, select Use Client Side
Port (if required). Enter the Port and IP Address.
These are the connection parameters for the Configuration Server.
5. On the Select Application page, select the Resource Manager
Application object.
6. Select the destination folder in one of two ways:
• Click Next to accept the default directory
• Click Browse to select the destination folder, and then click Next.
7. In the VP Reporting Server section, enter the information as shown in
Table 38 on page 342.
8. On the Ready to Install page, click Install.
9. When the installation is complete, click Finish.

End of procedure

Next Steps
• Configure the Resource Manager Application object to start automatically.
See Procedure: Configuring Application Objects to Start Automatically, on
page 314.
• Install the Reporting Server. See Procedure: Installing the Reporting Server
(Windows).

Procedure:
Installing the Reporting Server (Windows)

Purpose: To install and provision the Reporting Server on the host.

Summary
Microsoft SQL and Oracle are the only supported databases for Windows. In
this procedure, when you select the database, you can choose the Standard or
Enterprise edition of the database. If you select the Enterprise edition,
partitioning of the database is enabled automatically during installation.
When database partitioning is enabled, Genesys recommends that you not
change the partitioning mode of operation or the number of partitions (even

Deployment Guide 345


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

after the Reporting Server is started), because of issues that might arise if the
database schema or stored data is changed.
Database partitioning is supported in GVP 8.1.2 only. If you are installing
GVP 8.1.1 or earlier 8.x versions, the option to select the Enterprise edition is
not available.

Prerequisites
• The Sun Java Runtime Environment (JRE) 6.0, Update 19 is installed. See
“Prerequisites” on page 207.

Note: JRE 7.0 or later is required if you are using IPv6 communications.

• The Reporting Server host is prepared for the installation. See “Preparing
the Hosts for GVP” on page 232.
• The Reporting Server Application object template is imported, and an
Application object is created. See “Preinstallation Activities” on page 327.

Start of procedure
1. Execute the setup.exe setup file:
• If you are using the GVP software DVDs, browse to the
<GMS_Installation_DVD>\solution_specific\windows\rs\ folder.
• If the DVD image is on a network drive, copy the
<DVDImage>\solution_specific\windows\rs\ folder to the local
computer.
2. When the Genesys Deployment Wizard appears, click Next.
3. On the Connection Parameters page, enter the information in the Host and
User sections, as shown in Table 37 on page 341.
These are the connection parameters for the Configuration Server.
4. On the Select Application page, select the Reporting Server Application
object.
5. Select the destination folder in one of two ways:
• Click Next to accept the default directory
6. Click Browse to select the destination folder, and then click Next.
7. On the Select the Installed Sun’s Java Runtime Environment (JRE)
page, select the runtime environment for your deployment.
8. In the Database Engine Option section, select one of the following:
• MS SQL Server 2005 or MS SQL Server 2008 Standard Edition
• MS SQL Server 2008 Enterprise Edition
• Oracle 10g/11g Standard Edition
• Oracle 10g/11g Enterprise Edition

346 Genesys Voice Platform 8.1


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

9. On the VP Reporting Server Parameters page, enter the parameters, as


shown in Table 39.

Note: In Table 39, the terms DB Server and database server refer to the
server that hosts the database software—for example, Oracle or
SQL Server—not to the Management Framework Configuration
DB Server.
In addition, if you are installing an Oracle database, enter the SID
or global database name in the Database Name field.

Table 39: VP Reporting Server Parameters

Section Field Description

Database DB Server Host Enter the host name or IP address, and the
Server instance (if defined), on which the SQL
Server or Oracle is installed.

DB Server Port Enter the port number of the database server


host—typically, 1433 for MSSQL and 1521
for Oracle.

Database Database Name Enter the name of the Reporting Server


database—for example, db_rs.

User User Name Enter the user name that you want to use to
connect to the database.

Password Enter the password that you want to use to


connect to the database.

10. In the VP Reporting Server section, accept the default port number 61616.
11. On the Ready to Install page, click Install.
12. When the installation is complete, click Finish.

End of procedure

Next Steps
• Configure the Reporting Server Application object to start automatically.
See Procedure: Configuring Application Objects to Start Automatically, on
page 314.

Deployment Guide 347


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

Procedure:
Installing the Supplementary Services Gateway
(Windows)

Purpose: To install the Supplementary Services Gateway on the host.

Prerequisites
• The Supplementary Services Gateway host is prepared for installation. See
“Preparing the Hosts for GVP” on page 232.
• The Supplementary Services Gateway Application object template is
imported, and an Application object is created. See “Preinstallation
Activities” on page 327.

Start of procedure
1. Execute the setup.exe setup file:
• If you are using the GVP software DVDs, browse to the
<GVP_Installation_DVD>\solution_specific\windows\SSG\ folder.
• If the DVD image is on a network drive, copy the
<DVDImage>\solution_specific\windows\SSG\ folder to the local
computer.
2. When the Genesys Deployment Wizard appears, click Next.
3. On the Connection Parameters page, enter the information in the Host and
User sections, as shown in Table 37 on page 341.
4. On the Client Side Port Configuration page, select Use Client Side
Port (if required). Enter the Port and IP Address.
5. On the Select Application page, select the Supplementary Services
Gateway Application object.
6. Select the destination folder in one of two ways:
• Click Next to accept the default directory
• Click Browse to select the destination folder, and then click Next.
7. On the Ready to Install page, click Install.
8. When the installation is complete, click Finish.

End of procedure

Next Steps
• Configure the Supplementary Services Gateway Application object to start
automatically. See Procedure: Configuring Application Objects to Start
Automatically, on page 314.

348 Genesys Voice Platform 8.1


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

• If you intend to use the CTI Connector functionality in your environment,


install the CTI Connector. See Procedure: Installing the CTI Connector
(Windows).

Procedure:
Installing the CTI Connector (Windows)

Purpose: To install the Computer Telephony Integration (CTI) Connector on


the host.

Summary
Installation of the CTI Connector is optional. The CTI Connector acts as a SIP
Back-to-Back User Agent (B2BUA) to provide a standard SIP interface to the
internal GVP components. Furthermore, the CTI Connector communicates
with CTI by using the Interactive Voice Response (IVR) Server XML interface
to connect to the Genesys Framework.

Prerequisites
• The CTI Connector host is prepared for installation. See “Preparing the
Hosts for GVP” on page 232.
• The CTI Connector Application object template is imported, and an
Application object is created. See “Preinstallation Activities” on page 327.

Start of procedure
1. Execute the setup.exe setup file:
• If you are using the GVP software DVDs, browse to the
<GVP_Installation_DVD>\solution_specific\windows\ctic\ folder.
• If the DVD image is on a network drive, copy the
<DVDImage>\solution_specific\windows\ctic\ folder to the local
computer.
2. When the Genesys Deployment Wizard appears, click Next.
3. On the Connection Parameters page, enter the information in the Host and
User sections, as shown in Table 37 on page 341.
4. On the Client Side Port Configuration page, select Use Client Side
Port (if required). Enter the Port and IP Address.
5. On the Select Application page, select the CTI Connector Application
object.
6. Select the destination folder in one of two ways:
• Click Next to accept the default directory
• Click Browse to select the destination folder, and then click Next.

Deployment Guide 349


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

7. On the Ready to Install page, click Install.


8. When the installation is complete, click Finish.

End of procedure

Next Steps
• Configure the CTI Connector Application object to start automatically.
See Procedure: Configuring Application Objects to Start Automatically, on
page 314.
• If you intend to use the PSTN Connector in your environment, see
Procedure: Installing the PSTN Connector (Windows).

Procedure:
Installing the PSTN Connector (Windows)

Note: Install and use the PSTN Connector (PSTNC) only after careful
consideration, because the Dialogic boards used in PSTNC are no
longer sold. Although Dialogic supports this hardware until 2018,
support may have limitations and there is no assurance that future
versions of GVP will preserve backward support for PSTNC.
The latest PSTNC release is 8.1.4, and it requires MCP 8.1.4 to be
compatible with GVP 8.1.5/8.1.6. Install MCP 8.1.4 into a GVP
logical resource group, and it will be able to talk to PSTNC 8.1.4.

Purpose: To install the Public Switched Telephone Networks (PSTN)


Connector on a host running Windows.

Summary
Installation of the PSTN Connector is required to integrate TDM networks
with GVP and facilitate migration to GVP 8.x. TDM integration is supported
through Dialogic telephony technology only.

Prerequisites
• The PSTN Connector host is prepared for installation. See “Preparing the
Hosts for GVP” on page 232.
• The PSTN Connector Application object template is imported, and an
Application object is created. See “Preinstallation Activities” on page 327.

350 Genesys Voice Platform 8.1


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

Start of procedure
1. Execute the setup.exe setup file:
• If you are using the GVP software DVDs, browse to the
<GVP_Installation_DVD>\solution_specific\windows\pstnc\ folder.
• If the DVD image is on a network drive, copy the
<DVDImage>\solution_specific\windows\pstnc\ folder to the local
computer.
2. When the Genesys Deployment Wizard appears, click Next.
3. On the Connection Parameters page, enter the information in the Host and
User sections, as shown in Table 37 on page 341.
4. On the Client Side Port Configuration page, select Use Client Side
Port (if required). Enter the Port and IP Address.
5. On the Select Application page, select the PSTN Connector Application
object.
6. Select the destination folder in one of two ways:
• Click Next to accept the default directory
• Click Browse to select the destination folder, and then click Next.
7. On the Ready to Install page, click Install.
8. When the installation is complete, click Finish.

End of procedure

Next Steps
• Configure the PSTN Connector Application object to start automatically.
See Procedure: Configuring Application Objects to Start Automatically, on
page 314.
• If you intend to use the Policy Server in your environment, see Procedure:
Installing the Policy Server (Windows).

Procedure:
Installing the Policy Server (Windows)

Purpose: To install the Policy Server on the host.

Prerequisites
• The Policy Server host is prepared for installation. See “Preparing the
Hosts for GVP” on page 232.
• The Policy Server Application object template is imported, and an
Application object is created. See “Preinstallation Activities” on page 327

Deployment Guide 351


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

Start of procedure
1. Execute the setup.exe setup file:
• If you are using the GVP software DVDs, browse to the
<GVP_Installation_DVD>\solution_specific\windows\ps\ folder.
• If the DVD image is on a network drive, copy the
<DVDImage>\solution_specific\windows\ps\ folder to the local
computer.
2. When the Genesys Deployment Wizard appears, click Next.
3. On the Connection Parameters page, enter the information in the Host and
User sections, as shown in Table 37 on page 341.
4. On the Client Side Port Configuration page, select Use Client Side
Port (if required). Enter the Port and IP Address.
5. On the Select Application page, select the Policy Server Application
object.
6. Select the destination folder in one of two ways:
• Click Next to accept the default directory
• Click Browse to select the destination folder, and then click Next.
7. On the Ready to Install page, click Install.
8. When the installation is complete, click Finish.

End of procedure

Next Steps
• Configure the Policy Server Application object to start automatically. See
Procedure: Configuring Application Objects to Start Automatically, on
page 314.
• If you intend to use the MRCP Proxy in your environment, see Procedure:
Installing the MRCP Proxy (Windows).

Procedure:
Installing the MRCP Proxy (Windows)

Purpose: To install the MRCP Proxy on the host.

Prerequisites
• The MRCP Proxy host is prepared for installation. See “Preparing the
Hosts for GVP” on page 232.
• The MRCP Proxy Application object template is imported, and an
Application object is created. See “Preinstallation Activities” on page 327

352 Genesys Voice Platform 8.1


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

Start of procedure
1. Execute the setup.exe setup file:
• If you are using the GVP software DVDs, browse to the
<GVP_Installation_DVD>\solution_specific\windows\mrcpp\ folder.
• If the DVD image is on a network drive, copy the
<DVDImage>\solution_specific\windows\mrcpp\ folder to the local
computer.
2. When the Genesys Deployment Wizard appears, click Next.
3. On the Connection Parameters page, enter the information in the Host and
User sections, as shown in Table 37 on page 341.
4. On the Client Side Port Configuration page, select Use Client Side
Port (if required). Enter the Port and IP Address.
5. On the Select Application page, select the MRCP Proxy Application
object.
6. Select the destination folder in one of two ways:
• Click Next to accept the default directory
• Click Browse to select the destination folder, and then click Next.
7. On the Ready to Install page, click Install.
8. When the installation is complete, click Finish.

End of procedure

Next Steps
• Configure the MRCP Proxy Application object to start automatically. See
Procedure: Configuring Application Objects to Start Automatically, on
page 314.
• Create a GVP Solution object. See Procedure: Creating a Resource
Solution Object, on page 258.

Deployment Guide 353


Appendix A: Installing GVP Manually (Windows) Installing GVP (Windows)

354 Genesys Voice Platform 8.1


Appendix

B Installing GVP Manually


(Linux)
This appendix describes how to install Genesys Voice Platform (GVP)
manually on the Linux operating system (OS) by using the executable files in
the GVP Installation Packages. It contains the following sections:

Task Summaries, page 355
 Installing GVP (Linux), page 360

Installing and Configuring the PSTN Connector, page 368

Task Summaries
The following Task Summary: Preparing Your Environment for GVP (Linux)
contains a list of tasks that are required to prepare your environment and
includes links to detailed information that is required to complete these tasks.

Task Summary: Preparing Your Environment for GVP (Linux)

Objective Related procedures and actions

Plan the deployment For specific restrictions and recommendations to consider, see
“Host Setup” on page 213.

Prepare your environment—Install 1. Management Framework.


common Genesys Framework Install the latest Installation Package (IP) for the Genesys
Management Framework, and ensure that it is fully
operational and running. See Framework 8.1 Deployment
Guide.
Management Framework is the centralized element
management system for all Genesys software.

Deployment Guide 355


Appendix B: Installing GVP Manually (Linux) Task Summaries

Task Summary: Preparing Your Environment for GVP (Linux) (Continued)

Objective Related procedures and actions

Prepare your environment—Install 2. Genesys Administrator.


common Genesys Framework Install Genesys Administrator, and ensure that it is fully
components operational. See Framework 8.1 Deployment Guide.
Genesys Administrator is the centralized management GUI
for all Genesys software.

3. Genesys SNMP Master Agent.


Install and configure the SNMP Master Agent on the same
host(s) as the Resource Manager, Media Control Platform,
Call Control Platform, and Supplementary Services
Gateway components.
(After the SNMP Master Agent is installed on the GVP
hosts, you will assign the SNMP Master Agent to each
component for which you want to capture alarm and trap
information. This is a post-installation activity (see
“Creating a Connection to a Server” on page 262).
The Genesys Voice Platform 8.1 DVD includes an MIB
Installation Package that can be loaded on the SNMP
management console (for example, HP Open View) in your
environment. To install the MIBs, run the executable file
and select the default installation path:
sh install.sh /opt/genesys/gvp/VP_MIB_8.1
Note: The SNMP Master Agent is required only if you are
capturing alarm and trap information. For more information
about installing the Management Framework and the
SNMP Master Agent, see the Framework 8.1 Deployment
Guide. For more information about the MIBs, see the
Genesys Voice Platform 8.1 SNMP and MIB Reference.

Prepare your environment—Install 4. Third-party hardware and software.


third party software If you are using automatic speech recognition (ASR) and/or
text-to-speech (TTS), install the third-party Media
Resource Control Protocol (MRCP) speech server, and
ensure that it is operational.
For more information about this software, see your MRCP
vendor’s documentation.
For information about prerequisite software, see
“Prerequisites” on page 207.

356 Genesys Voice Platform 8.1


Appendix B: Installing GVP Manually (Linux) Task Summaries

Task Summary: Preparing Your Environment for GVP (Linux) (Continued)

Objective Related procedures and actions

Prepare the host(s) 1. Stop antivirus software that might be running on systems
that will host GVP components
Check the vendor documentation for your antivirus
software configuration.

2. Install the Local Control Agent on the GVP hosts.


See Procedure: Installing the Local Control Agent (Linux),
on page 236.

Complete the prerequisites 1. On Reporting Server and Policy Server hosts, install the
Sun JRE 7.0 or later, platform:
a. Install the Java Runtime Environment (JRE). Obtain the
latest Red Hat Package Manager (RPM) or the
self-extracting files for Linux from the vendor’s website,
and follow the instructions for installing it.
b. When the installation is complete, change to the root
user: Type su, and press Enter.
c. Modify the default Java configuration. Type:
/usr/sbin/alternatives --install /usr/bin/java
java /usr/java/jre1.7.0_x/bin/java 2000
/usr/sbin/alternatives --config java
d. Set up the JRE variables. Modify./etc/profile. Type:
export JAVA_HOME=”/usr/ java/jre1.7.0_x”, and
press Enter.
e. Exit the current console session, and log in again.

f. Verify that the configuration is correct. Type:


echo $JAVA_HOME, and press Enter.
You should see the following output:
/usr/java/JRE1.7.0_06
g. Setup the JRE variables in the Genesys LCA (Local
Control Agent) and GDA (Genesys Deployment Agent)
startup scripts. Modify the /etc/init.d/gctilca and
/etc/init.d/gctigda files by adding the line: export
JAVA_HOME=”/usr/java/jre1.7.0_x” at the beginning of
these files.

h. Restart the LCA and the GDA by terminating the LCA


and GDA processes, and executing the
/etc/init.d/gctigda start and /etc/init.d/gctilca
start commands.
For more information about the prerequisite software, see
“Prerequisites” on page 207 or visit the vendor’s website

Deployment Guide 357


Appendix B: Installing GVP Manually (Linux) Task Summaries

Task Summary: Preparing Your Environment for GVP (Linux) (Continued)

Objective Related procedures and actions

Complete the prerequisites (continued) 2. On the Media Control Platform, ensure that the user
account that is used to perform the installation is the root
account with the necessary privileges to create directories
under the /var/www directory.
The /var/www/gvp/mcp folder can then be created during
installation, and other folders and files created in this
directory. (If this directory does not exist, create it manually
prior to installation.)

3. On the Media Control Platform, if the Apache Web Server


is not already installed:
a. Obtain the latest Red Hat Package Manager (RPM) for
the Apache Web Server from the vendor’s website, and
follow the instructions for installing it.
b. On the Apache Web Server, modify the /etc/mime.types
file.
Type: /application/srgs+xml
c. Configure the Apache Web Server to start automatically
at startup. Modify the /etc/rc.d/rc.local file.
Type, /etc/init.d/httpd start, and press Enter.
For more information about the prerequisite software, see
“Prerequisites” on page 207 or visit the vendor’s website.
Note: In GVP 8.1.3 and earlier 8.x releases, Apache HTTP
Server was required to host inline and universal hotkey
grammar files that were fetched by ASR. In GVP 8.1.4,
Apache is no longer required. The Media Control Platform
now transmits these grammars by default in the MRCP
requests.

4. If you are including the PSTN Connector in your


environment, visit the vendor’s website for information
about how to install and configure Dialogic hardware and
software.

The following Task Summary: Deploying GVP Manually (Linux) contains a


list of tasks that are required to deploy GVP manually and includes links to
detailed information that is required to complete these tasks.

358 Genesys Voice Platform 8.1


Appendix B: Installing GVP Manually (Linux) Task Summaries

Task Summary: Deploying GVP Manually (Linux)

Objective Related procedures and actions

Configure the host(s) 1. Configure a new host in the Configuration Database for
each computer that is hosting GVP components.
See Procedure: Configuring a Host in Genesys
Administrator, on page 233.

Complete the Application objects 2. Create the GVP Application objects:


a. Import the templates. See Procedure: Importing
Application Object Templates Manually, on page 329.
b. Create the Application objects. See Procedure:
Creating Application Objects Manually, on page 334.

Install GVP 3. Install the GVP components:


a. Install the Fetching Module. (This component is
integrated with the Media and Call Control Platforms
in GVP 8.1.2.) See Procedure: Installing the Fetching
Module (Linux), on page 361.
b. Install the Media Control Platform. See Procedure:
Installing the Media Control Platform (Linux), on
page 363.
c. Install the Call Control Platform. See Procedure:
Installing the Call Control Platform (Linux), on
page 365.
d. Install the Resource Manager. See Procedure: Installing
the Resource Manager (Linux), on page 366.
e. Install the Supplementary Services Gateway (optional).
See Procedure: Installing the Supplementary Services
Gateway (Linux), on page 367.
f. Install the PSTN Connector (optional). See Procedure:
Installing the PSTN Connector (Linux), on page 370.
g. Install LiS (only if you install the PSTNC). See
Procedure: Installing LiS, on page 371.
h. Install Dialogic (only if you install the PSTNC). See
Procedure: Installing Dialogic, on page 372.
i. Install the Policy Server (optional). See Procedure:
Installing the Policy Server (Linux), on page 383.
j. Install the MRCP Proxy (optional). See Procedure:
Installing the MRCP Proxy (Linux), on page 384.
k. Install the Reporting Server. See Procedure: Installing
the Reporting Server (Linux), on page 385.

Deployment Guide 359


Appendix B: Installing GVP Manually (Linux) Installing GVP (Linux)

Task Summary: Deploying GVP Manually (Linux) (Continued)

Objective Related procedures and actions

Start the components 4. Start the components manually (or configure the
components to start automatically).
See “Startup Sequence for the VPS” on page 219 and
“Starting and Stopping the Components” on page 311.

Complete the post-installation activities 5. Configure the GVP components for the functionality you
want use in your deployment.
See Task Summary: Post-Installation Configuration of
GVP, on page 253.

Installing GVP (Linux)


You can install GVP on a Linux OS in a new deployment or add GVP
components to an existing deployment.
Before you begin to install the components, complete the procedures in the
following sections; “Preparing the Hosts for GVP” on page 232 and
“Preinstallation Activities” on page 327.
In addition, copy the GVP installation packages to a directory on the Linux
hosts or to a network drive from which they can be downloaded.
This section contains the following:
• Procedure: Pre-installation Notes, on page 360
• Procedure: Installing the Fetching Module (Linux), on page 361
• Procedure: Installing the Media Control Platform (Linux), on page 363
• Procedure: Installing the Call Control Platform (Linux), on page 365
• Procedure: Installing the Resource Manager (Linux), on page 366
• Procedure: Installing the Supplementary Services Gateway (Linux), on
page 367
• Procedure: Installing the Policy Server (Linux), on page 383
• Procedure: Installing the MRCP Proxy (Linux), on page 384
• Procedure: Installing the Reporting Server (Linux), on page 385

Pre-installation Notes
Multiple Instances If you are installing multiple instances of the same component, Genesys
of the same recommends that you install each instance on a different host.
component
Starting in 8.1.2, GVP supports multiple instances of the Media Control
Platforms on a single host. For more information about installing multiple
instances of the Media Control Platform, see Appendix C on page 389.

360 Genesys Voice Platform 8.1


Appendix B: Installing GVP Manually (Linux) Installing GVP (Linux)

/etc/hosts and the For Linux systems, /etc/hosts must correctly reflect the non-loopback IP
local IP Address address for the local hostname, so that GVP can automatically determine the
local IP address for use in various network related operations. Example:
[pw@HOMER etc]$ hostname
HOMER
[pw@HOMER etc]$ cat /etc/hosts
# Do not remove the following line, or various programs # that
require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
x.x.x.x HOMER
Squid Caching When you install GVP 8.1.1 (and earlier 8.x versions) on Linux, the Squid
Proxy and caching proxy (a prerequisite for the Fetching Module) is installed with the
Fetching Module operating system. Use the rpm -qa | grep squid command to confirm that it is
installed.
In GVP 8.1.2, the Fetching Module is integrated with the Media and Call
Control Platforms and is no longer a separate installation package. In addition,
the Squid proxy is an optional component.

Procedure:
Installing the Fetching Module (Linux)

Purpose: To install the Fetching Module component on the Media Control


Platform or Call Control Platform host.

Prerequisites
• The Fetching Module host is prepared for the installation. See “Preparing
the Hosts for GVP” on page 232.
• The Fetching Module Application object template is imported, and an
Application object is created. See “Preinstallation Activities” on
page 327.

Start of procedure
1. At the Linux host, log in as root, and then type su.

Notes: A non-root user is allowed to perform the GVP MCP Linux


installation, but that user must have write permission to /var/www/
directory.
If a root user performs the installation, the system expects that
installed files will have user ID 234 assigned.

2. Navigate to the directory containing the Fetching Module installation


package.

Deployment Guide 361


Appendix B: Installing GVP Manually (Linux) Installing GVP (Linux)

3. Type chmod a+x install.sh, and then press Enter.


4. Run the ./install.sh command.
The installation script is initiated.
5. At the prompt, enter the hostname for the Fetching Module server—for
example:
Please enter the hostname or press enter for "<local_host>"
=><local_host>.
6. At the prompt, enter the information that is required for the Configuration
Server—for example:
Configuration Server Hostname =><config_serv>
Network port =>2020
User name =>default
Password =>password
7. At the prompt, choose the application that you want to install—for
example:
1 : FM-Host
2 : FM_8.1.000.09
3 : FM_8.1.000.19
=>3
8. At the prompt, choose the audio format for your region—for example:
Mulaw (North America) or,
Alaw (Europe).
9. At the prompt, enter the path to the directory in which the application files
will reside—for example:
Press ENTER to confirm /<Install_Dir>/gvp81/FM_8.1.000.xx as
the destination directory or enter a new one =>
/opt/genesys/gvp/VP_Fetching_Module_8.1.000.xx

Note: Genesys recommends that you use /opt/genesys/gvp/ for the


installation directory, where VP_Component_8.1.000.xx is the name
and release number of the component you are installing.

A message appears, indicating that the installation files are being extracted
and copied to the directory. Then, a final message appears, indicating that
the installation was completed successfully.

End of procedure

362 Genesys Voice Platform 8.1


Appendix B: Installing GVP Manually (Linux) Installing GVP (Linux)

Next Steps
• Configure the Fetching Module Application object to start automatically.
See Procedure: Configuring Application Objects to Start Automatically, on
page 314.

Note: To start any Application object manually on a Linux host, type


<Install_Dir>/bin/run.sh and press Enter, where <Install_Dir>
is the directory in which the application is installed.

• Install the Media Control Platform. See Procedure: Installing the Media
Control Platform (Linux), on page 363.

Procedure:
Installing the Media Control Platform (Linux)

Purpose: To install the Media Control Platform component, so that Session


Initiation Protocol (SIP) applications that use Voice Extensible Markup
Language (VoiceXML) can access the Media Control Platform media services.

Prerequisites
• The Apache HTTP Server is installed, and the application is started.
(Apache is no longer a prerequisite in 8.1.2.) See Complete the
prerequisites (continued) in the Task Summary: Preparing Your
Environment for GVP (Linux), on page 355.
• The Media Control Platform host is prepared for the installation. See
“Preparing the Hosts for GVP” on page 232.
• The Media Control Platform Application object template is imported, and
an Application object is created. See “Preinstallation Activities” on
page 327.

Start of procedure
1. At the Linux host, log in as root, and then type su.

Notes: For MCP 8.1.4 or above, a non-root user is allowed to perform the
GVP MCP Linux installation, but that user must have write
permission to /var/www/ directory.
If a root user performs the installation, the system expects that
installed files will have user ID 234 assigned.

2. Navigate to the directory that contains the Media Control Platform


installation package.

Deployment Guide 363


Appendix B: Installing GVP Manually (Linux) Installing GVP (Linux)

3. Type chmod a+x install.sh, and then press Enter.


4. Run the ./install.sh command.
The installation script is initiated.
5. At the prompt, enter the hostname of the Media Control Platform server—
for example:
Please enter the host name or press enter for “<local_host>”
=><local_host>.
6. At the prompt, enter the information that is required for the Configuration
Server—for example:
Configuration Server hostname =><config_serv>
Network port =>2020
User name =>default
Password =>password
7. At the prompt, enter the information, if required, for the Client Side Port
Definitions—for example:
Do you want to use Client Side Port option (y/n)?y
Client Side Port port =>1234
Client Side IP Address (optional), the following values can be used
10.0.0.222
10.0.0.254
=>10.0.0.222
8. At the prompt, choose the application that you want to install—for
example:
1 : MCP-Host
2 : MCP_8.1.000.09
3 : MCP_8.1.000.19
=>3
9. At the prompt, choose the audio format for your region—for example:
• Mulaw (North America)
• Alaw (Europe)
10. Select one of three options for HTTP Proxy mode:
1) use HTTP proxy "localhost"
2) disable HTTP proxy
3) specify HTTP proxy
11. If you selected option 3 in Step 10 :
• Enter the HTTP proxy host
• Press ENTER to confirm "3128" as the HTTP proxy port or enter a
new one.

364 Genesys Voice Platform 8.1


Appendix B: Installing GVP Manually (Linux) Installing GVP (Linux)

12. After the following output is displayed, enter y or n at the prompt:


If you are using GVP VoiceXML applications on this server, you need
to enable VoiceXML applications.
If you are using the Genesys Media Server with Play Application
treatments (also VoiceXML), e.g., from routing strategies, then you
need to purchase GVP ports and enable VoiceXML applications.
Otherwise, you do not need to enable VoiceXML applications.
Do you wish to enable VoiceXML applications (y/n)? =>y
13. At the next prompt, enter the path to the directory in which the application
files will reside—for example:
Press ENTER to confirm /<Install_Dir>/gvp81/MCP_8.1.000.xx as the
destination directory or enter a new one =>
/opt/genesys/gvp/VP_Media_Control_Platform_8.1.000.xx
A message appears that indicates that the installation files are being
extracted and copied to the directory. Then, a final message appears that
indicates that the installation was completed successfully.

End of procedure

Next Steps
• Configure the Media Control Platform Application object to start
automatically. See Procedure: Configuring Application Objects to Start
Automatically, on page 314.

Note: To start any Application object manually on a Linux host, type


<Install_Dir>/bin/run.sh, and press Enter, where <Install_Dir>
is the directory in which the application is installed.

• If required, install the Call Control Platform. See Procedure: Installing the
Call Control Platform (Linux).

Procedure:
Installing the Call Control Platform (Linux)

Purpose: To install the Call Control Platform component, so that applications


that use Call Control Extensible Markup Language (CCXML) can access the
Call Control Platform call-processing services.

Note: The Squid caching proxy and Apache Hypertext Transfer Protocol
(HTTP) Server must be started before you start the Media Control
Platform and Call Control Platform Application objects.

Deployment Guide 365


Appendix B: Installing GVP Manually (Linux) Installing GVP (Linux)

Prerequisites
• The Call Control Platform host is prepared for the installation. See
“Preparing the Hosts for GVP” on page 232.
• The Call Control Platform Application object template is imported and an
Application object is created. See “Preinstallation Activities” on page 327.

Start of procedure
1. At the Linux host, log in as root, and then type su.

Notes: A non-root user is allowed to perform this Linux installation, but


that user must have write permission to the installation directory.
If a root user performs the installation, the system expects that
installed files will have user ID ‘234’ assigned.

2. Navigate to the directory that contains the Call Control Platform


installation package.
3. Complete Steps 3 to 13 in Procedure: Installing the Media Control
Platform (Linux), on page 363, substituting information for the Call Control
Platform, where necessary.

End of procedure

Next Steps
• Configure the [ems]log_sinks parameter, see Install GVP in the Task
Summary: Preparing Your Environment for GVP (Linux), on page 355.
• Configure the Call Control Platform Application object to start
automatically. See Procedure: Configuring Application Objects to Start
Automatically, on page 314.
• Install the Resource Manager. See Procedure: Installing the Resource
Manager (Linux).

Procedure:
Installing the Resource Manager (Linux)

Purpose: To install the Resource Manager component on a host.

Prerequisites
• The Resource Manager host is prepared for the installation. See “Preparing
the Hosts for GVP” on page 232.

366 Genesys Voice Platform 8.1


Appendix B: Installing GVP Manually (Linux) Installing GVP (Linux)

• The Resource Manager Application object template is imported, and an


Application object is created. See “Preinstallation Activities” on page 327.

Start of procedure
1. At the Linux host, log in as root, and then type su.

Notes: A non-root user is allowed to perform this Linux installation, but


that user must have write permission to the installation directory.
If a root user performs the installation, the system expects that
installed files will have user ID ‘234’ assigned.

2. Navigate to the directory that contains the Resource Manager installation


package.
3. Complete Steps 3 to 13 in Procedure: Installing the Media Control
Platform (Linux), on page 363, substituting information for the Resource
Manager, where necessary.

End of procedure

Next Steps
• Configure the Resource Manager Application object to start
automatically. See Procedure: Configuring Application Objects to Start
Automatically, on page 314.

Procedure:
Installing the Supplementary Services Gateway
(Linux)

Purpose: To install the Supplementary Services Gateway on the host.

Prerequisites
• The Supplementary Services Gateway host is prepared for the installation.
See “Preparing the Hosts for GVP” on page 232.
• The Supplementary Services Gateway Application object template is
imported, and an Application object created. See “Preinstallation
Activities” on page 327.

Deployment Guide 367


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

Start of procedure
1. At the Linux host, log in as root, and then type su.

Notes: A non-root user is allowed to perform this Linux installation, but


that user must have write permission to the installation directory.
If a root user performs the installation, the system expects that
installed files will have user ID ‘234’ assigned.

2. Navigate to the directory that contains the Supplementary Services


Gateway installation package.
3. Complete Steps 3 to 13 in Procedure: Installing the Media Control
Platform (Linux), on page 363, substituting information for the
Supplementary Services Gateway, where necessary.

End of procedure

Next Steps
• Configure the Supplementary Services Gateway Application object to start
automatically. See Procedure: Configuring Application Objects to Start
Automatically, on page 314.

Installing and Configuring the PSTN


Connector
Installing the PSTN Connector is similar to installing other GVP 8.x
components. You can accomplish it with the deployment option in Genesys
Administrator or by executing the setup.exe on the PSTN Connector host.

JCT-specific Configuration
For JCT boards, the PSTN Connector parameter MediaVoxResourceBoard must
be configured with route number information for the different board used for
CSP. Please refer to parameter help for more details.

Configuring Dialogic
Dialogic Service update to be used: 229
Path to these services updates:
\\inccisss003\PlatformTeam\VCS\Dialogic\SystemReleases\SR
6.0\ServiceUpdate229

368 Genesys Voice Platform 8.1


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

For Dialogic configuration for different TDM protocols, please refer to the
document available at:
http://portal.genesyslab.com/dir/engineering/gvp/aladdin/pstnconnec
tor/Shared%20Documents/Dialogic%20SR6.0%20Install%20and%20Configura
tion.doc

Specific Configuration for Windows 2008


The complete path to the Dialogic package for Windows 2008 Server is:
\\inccisss0003\genesys\PlatformTeam\VCS\Dialogic\SystemReleases\SR
6.0\ServiceUpdate239\win2008\vista_red.zip
You must disable Physical Address Extension (PAE) on Windows 2008;
otherwise Dialogic may not function properly. Please refer to following
Dialogic link for details:
http://www.dialogic.com/support/helpweb/hmp/iw1554.aspx
To disable PAE, run these commands from the command line:
C:\bcdedit /set nx OptOut
C:\bcdedit /set pae ForceDisable
Then restart the server.

Interworking with SIP-Server


To enable the PSTN Connector to interwork with SIP-Server, configure the
PSTN Connector as a Trunk DN with the following parameters:
[TServer]contact=<PSTNIPAddr:port>
[TServer]prefix=<xyz>
[TServer]replace-prefix=””(Empty String)
This configuration specifies that the outbound call lands on the same PSTN
Connector instance from where the inbound call is received.

Notes: The trunk DN, [TServer]contact=<same as PSTN Connector


contact>, must exist before PSTN Connector starts.
In order to find the trunk DN, the SIP-Server application must be
attached to the PSTNC application in the connections tab.
The change in SIP-Server application/Switch is not considered at run
time.
Once the trunk DN is deleted, the prefix value is set to empty value
and is not modified until the restart of PSTNC.
Though SIP-Server application is attached in the connections tab, the
UserAgentAddr and UserAgentPort should be configured with SIP
Server IP address and listening SIP port.

Deployment Guide 369


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

Procedure:
Installing the PSTN Connector (Linux)

Warning! Install and use the PSTN Connector only after careful
consideration, because the Dialogic boards used in PSTNC are no
longer sold. Although Dialogic supports this hardware until 2018,
support may have limitations and there is no assurance that future
versions of GVP will preserve backward support for PSTNC.

Purpose: To install the PSTN Connector on the host.

Prerequisites
• The PSTN Connector host was prepared for the installation. See
“Preparing the Hosts for GVP” on page 232
• The PSTN Connector Application object template was imported, and an
Application object was created. See “Preinstallation Activities” on
page 327.

Start of procedure
1. At the Linux host, log in as the root user, and enter su.
2. Navigate to the directory that contains the PSTN Connector installation
package.
3. Complete Steps 3 to 13 of the procedure “Installing the Media Control
Platform (Linux)” on page 363, substituting “PSTN Connector” for
“Media Control Platform”.

End of procedure

Next Steps
• Configure the PSTN Connector Application object to start automatically.
See the procedure “Configuring Application Objects to Start
Automatically” on page 314.

Dialogic and gcc support


A Dialogic installation automatically compiles its drivers. You must install gcc
to enable this functionality.

370 Genesys Voice Platform 8.1


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

• The official versions of gcc supported by Dialogic are gcc 3.2, gcc 3.4.4,
and gcc 3.4.6. There is no official support extended to the latest versions
of gcc viz or gcc 4.x. However Dialogic confirms that even if their drivers
are built with gcc 4.x compiler, it is acceptable if you have also installed
hcc 3.4 backwards-compatibility libraries.
• RHEL4 by default appears to be installing gcc 3.4.6 and so no additional
steps are required in regards to the Dialogic installation.
• With RHEL5 installation, gcc 4.x is the default version installed. This
creates a conflict because Dialogic drivers are either compiled with gcc
3.4 or gcc 3.2. To avoid any discrepancies in the functionalities of the
drivers, Dialogic suggests installing the compatibility-gcc 3.4.x libraries
during the installation of the Linux OS. This is performed during the
OS-installation steps. Thus, no additional steps are required for RHEL5 for
installing Dialogic.

Dialogic Installation
This installation contains two procedures:
• Installing LiS, page 371
• Installing Dialogic, page 372
• Configuring DMV Boards, page 374
• Configuring JCT Boards, page 378

Procedure:
Installing LiS

Summary
• LiS is a mandatory component for Dialogic installation without which
Dialogic will not install.
• For this, LiS drivers have to be made into Kernel modules. This step
requires availability of Linux source code on the system. This was already
installed as part of the OS installation.
• The LiS package is provided with the Dialogic package; there is no need to
download LiS separately.

Start of procedure
1. To create a tar file, unzip the .gz file in the Dialogic package:
gunzip lnxdlgcsu317.tar.gz »
2. Untar the tar file:
tar –xf lnxdlgcsu317.tar
Untarring creates the directories needed by the Dialogic installation.

Deployment Guide 371


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

3. Under the redistributable-sources/ directory, LiS/ directory can be found


where the LiS package, as a .gz file will be present.
Unzip and untar the LiS package file. And go to the directory LiS2.x/.
Now issue the following command
thisIsLinuxPrompt# make
This step prompts for various options but the first prompt—asking whether
to run LiS as Kernel module or User module alone—is the most important.
Choose Kernel module option in this step. All the next options can have
the default values. Once this is complete without errors, issue the following
thisIsLinuxPrompt# make install
This installs the LiS module and once this is complete, the system may be
rebooted

End of procedure

Next Steps: Procedure: Installing Dialogic.

Procedure:
Installing Dialogic

Start of procedure
1. Go to the top directory of the untarred Dialogic package and start the
installation:
install.sh
2. Subsequent steps offer various Dialogic packages for installation. Only
these two are important to install:
 Drivers for DMV/JCT boards

Global call library packages
3. If the installer asks Please install LiS, then reboot the system.
4. When the installer asks to install redistributable-sources package, select
Yes and press Enter.

End of procedure
For further installation/configuration instructions, if needed, please refer to the
Dialogic installation documents.

Next Steps
• Configuring Dialogic Boards, page 373

372 Genesys Voice Platform 8.1


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

Configuring Dialogic Boards

Starting Configuration
When the installation is complete, the Dialogic installer prompts you to run
config.sh. Select Y to proceed with the configuration. There are two other
ways to begin the configuration:
• Run config.sh in the /redistributable-runtime/ directory.
• Run the CFG utility in the Dialogic installation /bin/ directory.
Any of the above methods begins the installation and displays the first screen:

Figure 21: Dialogic Board Configuration Opening Screen

From here, perform the appropriate procedure:


• Configuring DMV Boards, page 374
• Configuring JCT Boards, page 378
Use the screen shots to guide yourself through the JCT board configuration.
Your screens will vary slightly.

Deployment Guide 373


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

Procedure:
Configuring DMV Boards

Prerequisites
You finished Dialogic installation and chose to begin configuration, as
described in “Starting Configuration” on page 373.

Start of procedure
1. Enter 1, to see the DMV board summary.

2. In the screen shot, there is one DMVA card installed on the computer. To
configure it, enter the ThumbWheel of the board, listed in the first column.

374 Genesys Voice Platform 8.1


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

3. Enter 1 to set the PCD file.

4. Specify the appropriate pcd file.

Deployment Guide 375


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

Once configured, the configuration returns to the previous screen.


5. Enter 6 to go to the advanced board settings step.

6. Set the parameters appropriately and save the configuration.


7. Go to the first screen of configuration by entering p.

376 Genesys Voice Platform 8.1


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

8. For any TDM bus settings, enter 4.

Deployment Guide 377


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

9. Choose the next configuration step and set the parameters appropriately
such as the encoding method, TDM bus settings of primary and secondary
masters (this is mostly not required).
10. Save the configuration and exit.

End of procedure
The Dialogic configuration is complete. Start Dialogic one of these two ways:
/etc/init.d/ct_intel start
OR
<Dialogic bin dir>/dlstart

Procedure:
Configuring JCT Boards

Prerequisites
You finished Dialogic installation and chose to begin configuration, as
described in “Starting Configuration” on page 373.

Start of procedure
This procedure begins at the first configuration screen:

378 Genesys Voice Platform 8.1


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

1. Choose 2 and press Enter.

2. Enter the thumb wheel of the dialogic card to be configured.

Deployment Guide 379


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

3. Enter 2 to choose Trunk Configuration.

4. Set the protocol for Trunk#1.

380 Genesys Voice Platform 8.1


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

5. Set the Protocol for Trunk #2.


If the two Trunks are intended for call-handling and no ecstream support is
required by ASR applications, select the appropriate protocol from the
numbers 2-7.
If the two Trunks will be required to support ASR applications for which
ecstream support by PSTNC is mandatory, set the protocol NONE (by
entering 1).
The configuration wizard returns to the previous screen.
6. Select 5 for Advanced settings, if the ecstream support is desired on the
second span.

Deployment Guide 381


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

7. Enter 2, to add a parameter for setting ecstream support and press Enter.

8. Set the parameter FirmwareFile2, and its value.

382 Genesys Voice Platform 8.1


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

9. Press s to save the configuration changes, and Enter.


10. (Optional) Press p to return to the previous screen and set any other
parameters, as necessary.
11. Save the changes and exit the configuration.
The Dialogic configuration is complete. Start Dialogic one of these two ways:
/etc/init.d/ct_intel start
OR
<Dialogic bin dir>/dlstart

Procedure:
Installing the Policy Server (Linux)

Purpose: To install the Policy Server on the host.

Prerequisites
• Management Framework components (Configuration Server and Genesys
Administrator) have been upgraded. See Table 12, “Versions Compatible
With GVP,” on page 215.
• The Policy Server host is prepared for installation. See “Preparing the
Hosts for GVP” on page 232.
• The Policy Server Application object template is imported, and an
Application object is created. See “Preinstallation Activities” on page 327.

Start of procedure
1. At the Linux host, log in as root, and then type su.

Notes: A non-root user is allowed to perform this Linux installation, but


that user must have write permission to the installation directory.
If a root user performs the installation, the system expects that
installed files will have user ID ‘234’ assigned.

2. Navigate to the directory that contains the Policy Server installation


package.
3. Complete Steps 3 to 13 in Procedure: Installing the Media Control
Platform (Linux), on page 363, substituting information for the Policy
Server, where necessary.

End of procedure

Deployment Guide 383


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

Next Steps
• Configure the Policy Server Application object to start automatically. See
Procedure: Configuring Application Objects to Start Automatically, on
page 314.

Procedure:
Installing the MRCP Proxy (Linux)

Purpose: To install the MRCP Proxy on the host.

Prerequisites
• Management Framework components (Configuration Server and Genesys
Administrator) have been upgraded. See Table 12, “Versions Compatible
With GVP,” on page 215.
• The MRCP Proxy host is prepared for installation. See “Preparing the
Hosts for GVP” on page 232.
• The MRCP Proxy Application object template is imported, and an
Application object is created. See “Preinstallation Activities” on page 327.

Start of procedure
1. At the Linux host, log in as root, and then type su.

Notes: A non-root user is allowed to perform this Linux installation, but


that user must have write permission to the installation directory.
If a root user performs the installation, the system expects that
installed files will have user ID ‘234’ assigned.

2. Navigate to the directory that contains the MRCP Proxy installation


package.
3. Complete Steps 3 to 13 in Procedure: Installing the Media Control
Platform (Linux), on page 363, substituting information for the MRCP
Proxy, where necessary.

End of procedure

Next Steps
• Configure the MRCP Proxy Application object to start automatically. See
Procedure: Configuring Application Objects to Start Automatically, on
page 314.

384 Genesys Voice Platform 8.1


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

• Complete the prerequisites for the Reporting Server. See Complete the
prerequisites (continued) in the Task Summary: Preparing Your
Environment for GVP (Linux), on page 355.
• Install the Reporting Server. See Procedure: Installing the Reporting Server
(Linux).

Procedure:
Installing the Reporting Server (Linux)

Purpose: To install and provision the Reporting Server on the host.

Summary
Oracle is the only supported database for Linux. In this procedure, when you
select the database, you can choose the Standard or Enterprise edition of the
database. If you select the Enterprise edition, partitioning of the database is
enabled automatically during installation.
When database partitioning is enabled, Genesys recommends that you not
change the partitioning mode of operation or the number of partitions (even
after the Reporting Server is started) because of issues that might arise if the
database schema or stored data is changed.
Database partitioning is supported in GVP 8.1.2 only. If you are installing
GVP 8.1.1 or earlier 8.x versions, the option to select the Enterprise edition is
not available.

Prerequisites
• The Sun Java Runtime Environment (JRE) 6.0, Update 19 is installed. See
Complete the prerequisites (continued) in the Task Summary: Preparing
Your Environment for GVP (Linux), on page 355.

Note: JRE 7.0 or later is required if you are using IPv6 communications.

• The Reporting Server host is prepared for installation. See “Preparing the
Hosts for GVP” on page 232.
• The Reporting Server Application object template is imported, and an
Application object is created. See “Preinstallation Activities” on page 327.

Deployment Guide 385


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

Start of procedure
1. At the Linux host, log in as root, and then type su.

Notes: A non-root user is allowed to perform this Linux installation, but


that user must have write permission to the installation directory.
If a root user performs the installation, the system expects that
installed files will have user ID ‘234’ assigned.

2. Navigate to the directory that contains the Reporting Server installation


package.
3. Complete Steps 3 to 6 in Procedure: Installing the Media Control Platform
(Linux), on page 363, substituting information for the Reporting Server,
where necessary.
4. At the prompt, choose the application that you want to install—for
example:
1 : RS-Host
2 : RS_8.1.000.09
3 : RS_8.1.000.19
=>3
5. At the prompt, enter the number associated with the database server you
want to select—for example:
Please specify the type of Database Server used:
1) Oracle 10g/11g Standard Edition
2) Oracle 10g/11g Enterprise Edition
3) MS SQL Server 2005 or MS SQL Server 2008 Standard Edition
4) MS SQL Server 2008 Enterprise Edition
=>1

Notes: GVP supports only Oracle 10g or 11g Database Servers on Linux.

6. At the prompt, confirm (or enter) the database host name or IP address—
for example:
Press ENTER to confirm "10.10.15.152" as
the Database Server hostname or IP address or enter a new one =>
7. At the prompt, press Enter to confirm the database-server port number—
for example:
Press ENTER to confirm "1433" as
the Database Server port or enter a new one =>

386 Genesys Voice Platform 8.1


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

8. At the prompt, confirm or enter the name of the database server—for


example:
Press ENTER to confirm "RS" as
the Database name or enter a new one =>

Note: When you are installing an Oracle database, enter the SID or
global database name in the Database Name field.

9. At the prompt, press Enter to confirm the user name of the database
server—for example:
Press ENTER to confirm "sa" as
the Database Server user name or enter a new one =>
10. At the prompt, type password, and then press Enter—for example:
Please specify the Database Server user password =>password
11. At the prompt, press Enter to confirm the Reporting Server port number—
for example:
Press ENTER to confirm "61616" as
the VP Reporting Server port or enter a new one =>
12. At the prompt, press Enter to confirm the Web Server port number—for
example:
Press ENTER to confirm "8080" as
the VP Reporting Server Web Service port or enter a new one =>
13. At the prompt, enter the path to the directory in which the application files
will reside—for example:
Press ENTER to confirm /opt/genesys/gvp/RS_8.1.000.xx as
the destination directory or enter a new one =>
/opt/genesys/gvp/VP_Reporting_Server_8.1.000.xx

Note: Genesys recommends you use /opt/genesys/gvp/ for that the


installation directory, where VP_Component_8.1.000.xx is the name
and version number of the component that you are installing.

A message appears that indicates that the installation files are being
extracted and copied to the directory. Then, a final message appears that
indicates that the installation was completed successfully.

End of procedure

Next Steps
• Configure the Reporting Server Application object to start automatically.
See Procedure: Configuring Application Objects to Start Automatically, on
page 314.

Deployment Guide 387


Appendix B: Installing GVP Manually (Linux) Installing and Configuring the PSTN Connector

388 Genesys Voice Platform 8.1


Appendix

C Deploying Multiple Media


Control Platforms
This appendix describes how to deploy multiple instances of the Media
Control Platforms on a single server by using Genesys Administrator and by
using a manual procedure. It contains the following sections:

Task Summary—Genesys Administrator Deployment, page 389
 Task Summary—Manual Deployment, page 392

Task Summary—Genesys Administrator


Deployment
Before you begin to provision the Media Control Platform Applications, see
the Task Summary: Preparing Your Environment for GVP, on page 229.
The Task Summary: Deploying Multiple Media Control Platform Applications
by Using Genesys Administrator in this section contains a list of tasks that are
required to deploy and provision multiple instances of the Media Control
Platform on a single server by using Genesys Administrator, and includes links
to detailed information that is required to complete these tasks.

Deployment Guide 389


Appendix C: Deploying Multiple Media Control Platforms Task Summary—Genesys Administrator Deployment

Task Summary: Deploying Multiple Media Control Platform Applications by Using


Genesys Administrator

Objective Related procedures and actions

Configure the host(s) 1. Configure a new host in the Configuration Database for the
computer that is hosting the Media Control Platform
instances.
See Procedure: Configuring a Host in Genesys
Administrator, on page 233.

Install GVP 2. Import the Installation Package for the Media Control
Platform into the Genesys Administrator Repository by
using the Single Installation Package method.
See Procedure: Importing the Installation Packages into the
Repository, on page 239.

3. Use the Genesys Deployment Wizard to install the Media


Control Platform Applications with basic configuration,
and repeat this procedure for each Application you are
installing.
For each Application:

Enter a different Application Name.

Select a different Working Directory.
See Procedure: Using the Deployment Wizard to Install
GVP, on page 241.

Configure the Applications 4. Use the Genesys Media Control Platform Configuration
Wizard to resolve any port conflicts and maximize the
performance of each Media Control Platform
Application.
See Procedure: Using the Media Control Platform
Configuration Wizard, on page 391.

Start the Applications 5. Configure the Media Control Platform Application


objects to start automatically.
See “Starting and Stopping the Components” on page 311.

Complete the post-installation activities 6. Configure the Media Control Platform Application
objects for the functionality that you want use in your
deployment.
See Task Summary: Post-Installation Configuration of
GVP, on page 253.

390 Genesys Voice Platform 8.1


Appendix C: Deploying Multiple Media Control Platforms Task Summary—Genesys Administrator Deployment

Procedure:
Using the Media Control Platform Configuration
Wizard

Purpose: To provision multiple Media Control Platform Applications on a


single server by modifying default TCP/IP configuration to resolve any
conflicts.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, click Environment > Hosts.
3. In the Hosts pane, select the host that has the Media Control Platform
Applications that you want to configure.
4. In the Tasks pane, click Configure MCP network parameters.
The Media Control Platform Configuration Wizard Welcome page appears
including a configuration summary indicating the validation status of the
Media Control Platform Applications on the selected host.

Note: Alternatively, you can select a Media Control Platform


Application in the Environment > Applications pane. The wizard
does not appear in the Tasks pane until either a Host or
Application is selected.

5. On the Local SIP Ports page:


• In the SIP Port field, enter the SIP port numbers.
• In the Secure SIP Port field, enter the SIPS port numbers.
6. On the MRCPv2 Ports page:
• In the Client SIP Port field, enter the SIP port number for the client.
• In the Lower Media Port field, enter the lower port range boundary for
the dynamically-allocated media ports.
• In the Upper Media Port field, enter the upper port range boundary for
the dynamically-allocated media ports.
7. On the MRCPv1 Ports page:
• In the Lower Media Port field, enter the lower port range boundary for
the dynamically-allocated media ports.
• In the Upper Media Port field, enter the upper port range boundary for
the dynamically-allocated media ports.
8. On the Remdial Ports page, enter the Remdial port number.
9. On the Local RTSP Ports page:

Deployment Guide 391


Appendix C: Deploying Multiple Media Control Platforms Task Summary—Manual Deployment

• In the Lower RTSP Port field, enter the lower port range boundary for
the dynamically-allocated media-streaming RTSP ports.
• In the Upper RTSP Port field, enter the upper port range boundary for
the dynamically-allocated media-streaming RTSP ports.
10. On the Local RTP Ports page:
• In the Lower RTP Port field, enter the lower port range boundary for
the dynamically-allocated RTP ports.
• In the Upper RTP Port field, enter the upper port range boundary for
the dynamically-allocated RTP ports.
11. On the Debugger Ports page:
• In the Local Debugger Port field, enter the local debugger port
number.
• In the Public Server Host field, enter the host name for the public
server.
• In the Public Debugger Port field, enter the public debugger port
number.
12. Click Finish.
The changes are propagated to all of the Media Control Platform instances
on the host and summarized on the Results page of the wizard.

End of procedure

Next Steps
• Configure the Media Control Platform Application objects to start
automatically. See Procedure: Configuring Application Objects to Start
Automatically, on page 314.
• Complete the Post-Installation activities on the Media Control Platform
Application objects. Procedure: Configuring the GVP Components, on
page 257.

Task Summary—Manual Deployment


Before you begin to provision the Media Control Platform Applications, see
the Task Summary: Preparing Your Environment for GVP (Windows), on
page 323 or Task Summary: Preparing Your Environment for GVP (Linux), on
page 355.
The Task Summary: Manually Deploying Multiple Media Control Platform in
this section contains a list of tasks that are required to manually deploy
multiple instances of the Media Control Platform on a single server (Windows
or Linux) and includes links to detailed information that is required to
complete these tasks.

392 Genesys Voice Platform 8.1


Appendix C: Deploying Multiple Media Control Platforms Task Summary—Manual Deployment

Task Summary: Manually Deploying Multiple Media Control Platform

Objective Related procedures and actions

Configure the host(s) 1. Configure a new host in the Configuration Database for
the computer that is hosting the Media Control Platform
instances.
See Procedure: Configuring a Host in Genesys
Administrator, on page 233.

Complete the Application objects 2. Create the GVP Application objects:


a. Import the template. Use the same template for each of
the Media Control Platform Applications you are
installing. See Procedure: Importing Application
Object Templates Manually, on page 329.
b. Create the Application objects. Create a separate
Application object with a different name for each
instance of the Media Control Platform you are
installing. See Procedure: Creating Application
Objects Manually, on page 334.

Install GVP 3. Install the Media Control Platform Applications by


repeating the installation procedure for each Application
that you are installing.
For each Application:

Enter a different Application Name.

Select a different Working Directory.
See Procedure: Installing the Media Control Platform
(Windows), on page 340 or Procedure: Installing the
Media Control Platform (Linux), on page 363.

Configure the Applications 4. Use the Media Control Platform Configuration Wizard to
resolve any port conflicts and maximize the performance
of each Media Control Platform Application.
See Procedure: Using the Media Control Platform
Configuration Wizard, on page 391.
Note: To avoid user error and configure all of the
Applications at once, Genesys recommends that you use
the Media Control Platform Configuration Wizard to
configure the Applications after the installation is
completed, however, a manual configuration procedure is
available. See Procedure: Manually Configuring Multiple
Applications on a Single Server, on page 394.

Deployment Guide 393


Appendix C: Deploying Multiple Media Control Platforms Task Summary—Manual Deployment

Task Summary: Manually Deploying Multiple Media Control Platform (Continued)

Objective Related procedures and actions

Start the components 5. Start the components manually (or configure the
components to start automatically).
See “Startup Sequence for the VPS” on page 219 and
“Starting and Stopping the Components” on page 311.

Complete the post-installation activities 6. Configure the GVP components for the functionality that
you want use in your deployment.
See Task Summary: Post-Installation Configuration of
GVP, on page 253.

Procedure:
Manually Configuring Multiple Applications on a
Single Server

Purpose: To manually configure the Media Control Platform Application


objects to resolve port conflicts and maximize performance.

Summary
Repeat this procedure for each Application object that you have installed on
the server.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, click Environment > Applications.
3. Select the Media Control Platform Application that you want to
configure.
The Configuration tab appears.
4. Click the Options tab, change the values of the options in Table 40
incrementally in each Application object.
Table 40: Options—Media Control Platform

Section Option Value

mpc rtp.portrange Default: 10000 start/mins


Offset each Application by at least
10000.

394 Genesys Voice Platform 8.1


Appendix C: Deploying Multiple Media Control Platforms Task Summary—Manual Deployment

Table 40: Options—Media Control Platform (Continued)

Section Option Value

mrcpv2client sip.transport.0 Default: 7080


Offset the value for each
sip.localport Application by at least 1.

remdial port Default: 6999


Offset the value for each
Application by at least 1.

sip localport Default: 5070/5071


Offset the value for each
localsecureport Application by at least 2.
transport.0

transport.1

transport.2

stack connection.portrange Default: 12345-13345


Offset the value for each
Application by at least 1000.

vrm client.mrcpv2.portrange Default: 12345-13345


Offset the value for each
Application by at least 1000.

vxmli debug.server.port Default: 27666


Offset the value for each
debug.server.port.public Application by at least 1.

5. Save the configuration.

End of procedure

Next Steps
• Configure the Media Control Platform Application objects to start
automatically. See Procedure: Configuring Application Objects to Start
Automatically, on page 314.
• Complete the Post-Installation activities on the Media Control Platform
Application objects. Procedure: Configuring the GVP Components, on
page 257.

Deployment Guide 395


Appendix C: Deploying Multiple Media Control Platforms Task Summary—Manual Deployment

396 Genesys Voice Platform 8.1


Appendix

D Deploying GVP Multi-Site


Environments
This appendix describes deployment solutions and configurations for Genesys
Voice Platform (GVP) in multi-site or large scale environments. It contains the
following sections:

Overview, page 397
 Sites and Segments, page 399

Synchronization Across Sites, page 401

GVP Multi-Site Reporting, page 411
 Deploying Disaster Recovery Sites, page 415

Overview
To ensure your Genesys Voice Platform multi-site environment is secure and
functioning efficiently, consider the following key factors:
• A solution that requires the use of a virtual IP address (VIP) across WAN is
likely unacceptable, since the use of virtual IPs are better suited to LAN
environments.
• In a WAN environment, sites are interconnected by individual links
between each site. These individual links can fail and create islands of sites
even though locally the site could still be operational.
• Policy enforcement must be consistent across all sites.
• Reporting functions must be consistent across all sites and must be
customized to provide individual site reports and multi-site or overall
environment reports.
• Resource sharing must be enabled between sites to mitigate failures or if
spill-over traffic occurs.

Deployment Guide 397


Appendix D: Deploying GVP Multi-Site Environments Overview

• SIP Server instances within the same site can use all of GVP's available
resources within the site.

Requirements for Multi-Site Deployments


Consider the key factors described in this section when you are planning a
multi-site deployment.

Scalability
A single GVP site typically includes a Resource Manager instance (or a High
Availability [HA] pair), a Reporting Server instance (or an HA pair), and a
pool of Media Control Platform instances. Within a single site, scalability is
typically limited by the number of call attempts per second (CAPS) that the
Reporting Server can support.
However, scalability can occur across multiple physical sites, enabling policy
enforcement, resource sharing, and reporting across multiple sites. In addition,
historical and real-time reports can be filtered to generate site reports (by using
site identification) or system-wide reports (no site identification).

Multi-Tenancy
In hosted environments where multiple tenants are deployed, GVP can be
deployed across multiple sites and media services for different tenants can be
serviced by any one of the sites. There are two requirements for this type of
deployment:
• Enforcement of tenant policies must be applied consistently across all the
sites. Usage limits for a tenant must be applied globally across all the sites
at all times. For example, if a tenant has a usage limit of 100, the maximum
number of concurrent calls that can be serviced across all the sites at all
times is 100.
• Collection of operational data, such as peak and summary usage, must be
aggregated correctly across all the sites and can be filtered on a single-site
basis. This applies to both historical and real-time reporting.

Disaster Recovery
Implementation of a disaster recovery (DR) plan is critical in multi-site
deployments. It means that one site in the multi-site deployment is designated
as the DR site and is enabled and ready to be fully functional in the event that
any given site is out-of-service, even if it is out for an extended period of time.
In addition, operational data must be replicated to the disaster recovery site.
A DR site deployment enables:
• Servicing of incoming requests at full capacity.

398 Genesys Voice Platform 8.1


Appendix D: Deploying GVP Multi-Site Environments Sites and Segments

• Access to and reporting of data from the failed site.


For more information about DR sites, see “Deploying Disaster Recovery Sites”
on page 415.

Sites and Segments


The Reporting Server writes reporting data to the database, which provides
single-site and overall system reports, and can prove to be a bottleneck, based
on known performance metrics. Therefore, the core design of the solution that
is proposed in this section is scaled upward by the deployment of multiple sets
of the Reporting Server and multiple sets of the database storage units.
GVP Segment A GVP segment can be defined as a logical grouping of core components, such
Defined as Resource Manager, Reporting Server, and logical resource groups (LRG)
that include Media Control Platforms, Call Control Platforms, or CTI
Connectors. Figure 22 depicts the high-level relationship between the core
GVP components.
The components in a segment must be deployed locally in the same site.
However, one or more segments can be deployed within a site. Genesys
Administrator provides a mechanism to identify and display the segments and
sites. In addition, when resource groups are created, the user can choose the
segment to which the resource group will belong, rather than the Resource
Manager to which it will belong.

Figure 22: Relationship Between GVP Core Components

Deployment Guide 399


Appendix D: Deploying GVP Multi-Site Environments Sites and Segments

Within the segment, one or more SIP Servers can connect to a pair of Resource
Manager instances to access media services or through SIP communication,
IVR Server. In addition, Genesys Administrator can retrieve historical and
real-time reports through the Reporting Server.
The Resource Manager and the Media Control Platform contribute to the
events that are logged to the reporting database by the Reporting Server. The
Resource Manager and Media Control Platform generate operational data, such
as summary and peak information and send it to the Reporting Server.
To make a single site scalable, multiple segments can be deployed within the
site. To make multiple sites scalable, segments can be deployed across multiple
sites. In this solution, all the segments are considered to be working together as
a single large deployment, regardless of the boundaries between them.
Table 23 shows an example of how the multiple segments can apply to both a
single site or multiple sites.

Figure 23: Segmentation of Single or Multiple Sites

In this solution, three elements enable the GVP segments to work together as a
large deployment.
1. Certain components synchronize with all other segments. This is a
higher-level synchronization than the synchronization that occurs locally,
such as the HA synchronization between two active Resource Manager
instances or two Reporting Server instances. In other words, local HA
synchronization is designed to ensure continuity of operations for the same
component, while synchronization across sites is for elements or counters
that are globally shared. In this solution, only the Resource Manager (for
policy enforcement) and the Reporting Server (for historical and real-time
reporting) require synchronization across sites.

400 Genesys Voice Platform 8.1


Appendix D: Deploying GVP Multi-Site Environments Synchronization Across Sites

2. The Resource Manager monitors the local segment to determine if the


media servers are able to handle all incoming requests or if their capacity is
exhausted. If this happens and resource sharing is enabled, the Resource
Manager can forward the SIP requests to another segment.
3. Genesys Administrator is the GUI from which aggregated real-time and
historical reports from all the Reporting Server instances across all
segments can be extracted. All segments in the deployment have a site
identifier, which Genesys Administrator uses to aggregate specific reports.
The site identifier enables users to generate reports on a per-site basis. In
addition, multiple segments can have the same site identifier.

Synchronization Across Sites


This section provides information about how site synchronization, policy
enforcement, and resource sharing occurs across GVP multi-site environments.
It also describes segment and network recovery after a failure.

Site Policy Enforcement


In a multi-site environment, policies are categorized as static or dynamic to
help the user understand which policies are dynamically enforced. The
Resource Manager enforces mostly static policies, which means it reads the
value from Configuration Server to determine how the policy is enforced.
The Resource Manager tracks the current usage limits in memory for dynamic
policies. To accurately enforce the policy usage limit for each tenant and IVR
Profile and ensure all calls are accounted for, the usage limit is routed through
the Resource Manager.

Usage Limit Counters


After the call is established, the Resource Manager stays in the SIP messaging
path, so that it can track the time of call termination. The Resource Manager
keeps a counter for each tenant and IVR Profile, based on the current usage.
In distributed environments, where the same counter is tracked system-wide,
each usage limit counter is subdivided into smaller units and shared with other
segments so that each segment can locally track each counter. This process
ensures the accuracy of each local counter. For example, in a deployment that
has 3 segments and a tenant with a usage limit of 100, the counter for the
segments can be subdivided into 40, 40, and 20.
Figure 24 on page 402 provides an example of a tenant hierarchy and its usage
limits.

Deployment Guide 401


Appendix D: Deploying GVP Multi-Site Environments Synchronization Across Sites

Figure 24: Tenant Hierarchy and Usage Limits

Role of the Coordinator


The Resource Manager maintains a synchronized connection with other
Resource Manager peer instances across multiple segments and uses an
election algorithm to select a coordinator. The coordinator’s role is to assign
usage limit values to each segment for dynamic policies, by dividing each
usage limit counter for each tenant. The values are assigned, based on a weight
parameter, which defaults to 100 if it is not set.
Election Algorithm To simplify the election algorithm, each segment is assigned a segment
identifier or number. When the Resource Managers (including the active pairs)
connect to each other through the synchronization port, they assign a
coordinator to divide the counters, based on the segment identifier (together
with the local Resource Manager identifier). The sequence of events occurs as
follows:
1. A Resource Manager instance (R) broadcasts an election message to all
other connections, which includes the segment identifier.
2. If R does not hear from other connections within a certain amount of time
(for example, 5 seconds), then R declares victory and broadcasts itself as
the coordinator.

402 Genesys Voice Platform 8.1


Appendix D: Deploying GVP Multi-Site Environments Synchronization Across Sites

3. If R hears from another Resource Manager instance with a lower identifier,


R waits for the timeout to expire and then listens for the broadcast result. If
R does not hear the result within the timeout, then R sends the election
message again (see Step 1).
4. At the end of the election algorithm, the coordinator broadcasts another
message with the division of the counters as the result. By default, the
counters are divided evenly among the segments. See the example in
Table 41.
5. After the counters are divided, the Resource Manager pairs for each
segment enforce the usage limits locally.

Table 41: Division of Counters Among Segments

Tenant Segment 1 Segment 2 Segment 3


(coordinator)

Environment Not set Not set Not set

T1 34 33 33

T2 167 167 166

T2.1 Not set Not set Not set

T2.2 34 33 33

T2.2.1 7 6 6

T2.2.2 7 6 6

T2.2.3 7 6 6

Customizing The division of counters can be customized by adding a weight value to each
Division of segment. Each segment has a weight of 100 by default. The coordinator reads
Counters the weight values and uses them to divide the counters. The coordinator adds
up all the weight values for all segments, giving counters to each segment in
proportion to its own weight. For example, if segments 1, 2, and 3 have
weights 300, 100, 50, respectively, segment 1 is assigned 300/450 (or 2/3) of
the counters. Table 42 contains the segments from Table 41 with adjusted
weights factored into the equation.

Deployment Guide 403


Appendix D: Deploying GVP Multi-Site Environments Synchronization Across Sites

Table 42: Customized Division of Counters With Weights

Tenant Segment 1 Segment 2 Segment 3


coordinator (weight 100 (weight 50)
(weight 300)

Environment Not set Not set Not set

T1 67 22 11

T2 334 111 55

T2.1 Not set Not set Not set

T2.2 67 22 11

T2.2.1 14 4 2

T2.2.2 14 4 2

T2.2.3 14 4 2

Segment Failure
If a Resource Manager instance detects a peer segment failure (both Resource
Manager instances within the segment fail), the surviving segments re-issue
the election process to elect a new coordinator. The new coordinator then
distributes the counters, recalculated with the remaining weights, among the
remaining segments after the election algorithm is complete. In Table 43, see
how the counters are divided when segment 3 fails and segment 1 is elected as
the coordinator.

Table 43: Division of Counters With Weights After Re-Election

Tenant Segment 1 Segment 2 Segment 3


coordinator (weight =125) (down)
(weight = 325)

Environment Not set Not set

T1 75 25

T2 375 125

T2.1 Not set Not set

T2.2 75 25

T2.2.1 15 5

404 Genesys Voice Platform 8.1


Appendix D: Deploying GVP Multi-Site Environments Synchronization Across Sites

Table 43: Division of Counters With Weights After Re-Election

Tenant Segment 1 Segment 2 Segment 3


coordinator (weight =125) (down)
(weight = 325)

T2.2.2 15 5

T2.2.3 15 5

Segment Recovery
When a Resource Manager instance recovers and re-joins the system, no action
is taken if the instance belongs to an active segment. When a Resource
Manager instance from a failed segment recovers and re-joins the system, the
existing segments re-issue the election process to elect a new coordinator. The
new coordinator distributes the counters among the remaining segments,
recalculating them with the remaining weights.
New Segments If a new segment joins the system, the counters are further sub-divided among
Joining the segments. It is possible for some segments to have more existing calls than
the new usage limit. The Resource Manager does not attempt to drop calls
because of the new (and lower) limit, but allows over-usage temporarily.

Note: When the Resource Manager allows over-usage temporarily, any new
incoming calls are rejected until a sufficient number of existing calls
drop, and bring the current usage lower than the new usage limit.

Network Disconnections
A WAN link failure can create islands of segments that can operate
independently. A disconnection from the WAN link is treated as a disconnected
segment by the surviving segments. The separate islands independently issue
the election process to find a new coordinator. When this happens, the system
has two full sets of usage limits because the islands do not see each other.
Table 44 provides results when Site A and B are disconnected from each other.

Table 44: Island Segments After a WAN Link Failure

Site A (Island 1) Site B (Island 2)

Tenant Segment 1 Segment 2 Segment 3


coordinator (weight = 100) (weight = 50)
(weight = 300)

Environment Not set Not set Not set

T1 75 25 100

Deployment Guide 405


Appendix D: Deploying GVP Multi-Site Environments Synchronization Across Sites

Table 44: Island Segments After a WAN Link Failure (Continued)

Site A (Island 1) Site B (Island 2)

T2 375 125 500

T2.1 Not set Not set Not set

T2.2 75 25 100

T2.2.1 15 5 20

T2.2.2 15 5 20

T2.2.3 15 5 20

Network Recovery
When the network is recovered, the segments in the system are re-connected.
The segments issue another election process to find a new coordinator. Similar
to segment recovery, some segments might end up with more existing calls
than the new usage limit. The Resource Manager does not attempt to drop calls
because of the new (and lower) limit, but allows over-usage temporarily.

Note: When the Resource Manager allows over-usage temporarily, any new
incoming calls are rejected until a sufficient number of existing calls
drop, and bring the current usage lower than the new usage limit.

Site Resource Sharing


This section provides information about how GVP resources are sharing within
and across sites to provide media services.

Sharing Resources Within a Site


A segment can be selected to allow resource sharing. When the local-segment
Resource Manager instance is processing an incoming request, and it runs out
of local Media Control Platform resources, it can insert a routeset parameter
to another Resource Manager at a remote segment. The Resource Manager
only forwards requests to segments that have resource sharing enabled. To
ensure the request is forwarded and processed successfully, the following rules
apply:
• The local Resource Manager instance must stay on the call path with the
Record-Route parameter.
• The local Resource Manager instance applies all local policies to the call
including usage limits.

406 Genesys Voice Platform 8.1


Appendix D: Deploying GVP Multi-Site Environments Synchronization Across Sites

• The remote Resource Manager instance does not apply the usage limit.
• The local Resource Manager instance does not track remote resources
within the remote segment.
• The remote segment can reject the incoming request for any reason,
including a insufficient number of its own resources.
• The local Resource Manager instance can sequentially try another segment
that has resource sharing enabled, if the request was rejected by a remote
segment.
The local segment acquires the tenant or IVR Profile counters, which saves the
remote segment from having to acquire it. To alert the remote segment that the
tenant counter is already acquired, the local segment adds a parameter to the
Route header, which includes the selected tenant hierarchy. The remote
segment then selects an LRG, based on the tenant hierarchy. However, a usage
limit is not applied.

Deployment Guide 407


Appendix D: Deploying GVP Multi-Site Environments Synchronization Across Sites

Figure 25 shows a call flow in which a request is being forwarded to another


segment.

Figure 25: Call Flow—Request Forwarded to Another Segment After WAN


Link Failure

408 Genesys Voice Platform 8.1


Appendix D: Deploying GVP Multi-Site Environments Synchronization Across Sites

Sharing Resources Across Multiple Sites


When the Media Control Platform instances are deployed in a satellite site and
the rest of the GVP segment is located at the data center site, the Resource
Manager enables resource sharing across multiple satellite sites.
Site A : A Resource Manager (RM) and a backup RM talk to each other (for
redundancy) in an active-active configuration. Each RM controls all MCPs at
Site A.
The configuration shown in Figure 26 supports remote agent recording; the
RMs in Site A control a Logical Resource Group (LRG) of MCPs in Site B.
The RMs at site B do not have access to the special LRG set of MCPs at site B;
only the RMs at site A control them.
This configuration offers local site B voice recording using this special group
MCPs for agents at site B, since to transport the voice recording connection
across a WAN from Site A MCP to the agent at site B would be very expensive
and possibly of poor quality.

Figure 26: Resource Sharing Across Multiple Sites

The Resource Manager checks the entire multi-site configuration and


associates geo-locations with different GVP segments. When the local
Resource Manager instance receives an incoming request for a geo-location
that it does not manage, it can forward the request to a remote Resource
Manager instance that manages that geo-location.

Deployment Guide 409


Appendix D: Deploying GVP Multi-Site Environments Synchronization Across Sites

Using Geo-Location to Optimize Resource Sharing


When geo-locations are used in deployments, they provide additional options
for selecting media servers. For example, see the following sequence of events:
• A call arrives at Geo-Location A and the call is handed to the Resource
Manager instance at data center Site 2
• The Resource Manager instance at data center Site 2 does not directly
manage any Media Control Platform instances in Geo-Location A. They
are managed by the Resource Manager instance at data center Site 1.
• The Resource Manager instance in Segment 2 forwards the media server
request to the Resource Manager instance in Segment 1 to find an available
Media Control Platform instance.
The call flow is similar to the one in Figure 25 on page 408, but the segments
are reversed.
To be aware of resources that are configured for Geo-Location A, the Resource
Manager instance in Segment 2 must look at the entire configuration and
associate segments with geo-locations for which each segment is responsible.
Once the Resource Manager learns about all the geo-locations, it can then
forward incoming call requests to remote Resource Manager instances that are
responsible for each specific geo-location.

Using Passive Resource Groups to Mitigate Loss of Resources


When a data center site goes down, which means both Resource Manager
instances in a segment have gone down, it is possible that media servers at
some satellite sites are not managed by any Resource Manager instances.
Passive resource groups are chosen only when the segment that manages an
LRG, that is sharing the same geo-location, is down. For example, see the
following sequence of events as in Figure 26 on page 409:
• If data center Site 2 goes down, all the Media Control Platform instances at
satellite Site B become idle until data center Site 2 is up again.
• To utilize the idle resources in satellite Site B, a passive resource group is
enabled in satellite Site B, which is managed by GVP Segment 1.
• GVP Segment 1 does not use the passive resource group until the Resource
Manager instance in Segment 2 goes down.
• When the Segment 2 Resource Manager instance is up again, Segment 1
falls back to using Segment 2 and puts the passive resource group back to
idle.
The Media Control Platform instances in a passive resource group can be
stacked in the same machine, as active Media Control Platform instances,
because passive instances are not used until the active Media Control Platform
instances become idle. This minimizes the chances of the Media Control
Platform instances causing an overload condition on the host machine.

410 Genesys Voice Platform 8.1


Appendix D: Deploying GVP Multi-Site Environments GVP Multi-Site Reporting

GVP Multi-Site Reporting


In GVP multi-site environments, Reporting Server instances in each GVP
segment collect data. Genesys Administrator queries the Reporting Server
instances to generate historical and real-time reports on a per-site or
system-wide basis. Genesys Administrator can access site information from
Configuration Server by checking the gvp.site folder in the Annex section of
the Provisioning > Environment > Applications > folder. It reads the site
information at the user session logon and retains it throughout the session.
The following reports can be aggregated to provide system-wide data:
• IVR Profile Call Arrival
• Component Call Arrival
• Tenant Call Arrival
• VAR IVR Action Usage
• ASR/TTS Usage
• All VAR Summary reports

Genesys Administrator Reporting Interface


This section describes the additional menu selections that are displayed on
Genesys Administrator's Monitoring tab when GVP is deployed in a multi-site
configuration.

Operational Reports

IVR Profile Call Arrivals, Tenant Call Arrivals, and ASR/TTS Usage Reports
On the Generate Report bar of these report pages of the GUI, you can choose a
site from a drop-down list. This drop-down list is displayed when there are
multiple sites configured in Configuration Server, whether a Reporting Server
is present or not in Genesys Administrator's Application Connections settings.
The default selection is All-Sites. When this option is selected, the arrivals
data must be summarized across all sites on the selected IVR Profiles.

Deployment Guide 411


Appendix D: Deploying GVP Multi-Site Environments GVP Multi-Site Reporting

Figure 27: Query Data From Field—Genesys Administrator

Component Call Arrivals and ASR/TTS Usage Reports


On the Component Call Arrivals section of these report pages in the GUI, the
site name is appended to the component name to indicate the site to which the
component belongs. See Figure 28.

Figure 28: Component Call Arrival—Genesys Administrator

412 Genesys Voice Platform 8.1


Appendix D: Deploying GVP Multi-Site Environments GVP Multi-Site Reporting

IVR Profile Call Peaks, Component Call Peaks, Tenant Call Peaks, and ASR/TTS
Usage Peaks Reports
On the Generate Report bar of this report GUI, you can choose a site from a
drop-down list. The drop-down list does not include the All-Sites option.
The default selection is the first site that appears at the top of the drop-down
list. See Figure 29.

Note: Currently, only one selection is displayed in the Peaks reports.

Figure 29: Component Call Peaks—Genesys Administrator

VAR Reports

VAR Call Completion Report


On the Filters for VAR Call Completion section of this report page of the
GUI, you can choose from a selection of sites from a drop-down list. See
Figure 30.
The default selection is All-Sites. When this option is selected, data is
merged from the values that are returned from multiple queries.

Deployment Guide 413


Appendix D: Deploying GVP Multi-Site Environments GVP Multi-Site Reporting

Figure 30: VAR Call Completion—Genesys Administrator

VAR IVR Action Usage Report


On the VAR IVR Action Usage section of this report page in the GUI, you can
choose from a selection of sites from a drop-down list. See Figure 31.
The default selection is All-Sites.

Figure 31: VAR IVR Action Usage—Genesys Administrator

414 Genesys Voice Platform 8.1


Appendix D: Deploying GVP Multi-Site Environments Deploying Disaster Recovery Sites

VAR Last IVR Action Report


On the VAR Last IVR Action Breakdown and VAR Last IVR Action sections of
this report page in the GUI, you can choose from a selection of sites from a
drop-down list. See Figure 32.
The default selection is All-Sites.

Figure 32: VAR Last IVR Action—Genesys Administrator

Deploying Disaster Recovery Sites


A Disaster Recovery (DR) deployment is basically organized as two regular
segments, with the capacity to replicate reporting data between them to ensure
operational reports are available when a segment fails. Figure 33 on page 416
depicts the structure of a DR segment.
The Disaster Recovery deployment consists of a Primary (or hot) site and a DR
(or cold) site. The Reporting Server instance at the Primary site is configured
to accept incoming calls. Its rs.histonly.enabled configuration option is set
to false.
• The Reporting Server instance at the DR site is configured so that it does
not accept incoming calls until another DR site is no longer reachable. Its
rs.histonly.enabled configuration option is set to true.
To deploy the DR site, create a replicated reporting database and a read-only
Reporting Server instance so that the data is replicated during runtime. This
ensures that the replicated instance has the most recent data available at all
times.

Deployment Guide 415


Appendix D: Deploying GVP Multi-Site Environments Deploying Disaster Recovery Sites

Only the Primary sites are included in the Site drop-down list and All Sites
queries in Genesys Administrator.

Note: In this release, the Primary (hot site) and DR (cold site) configuration
is supported by the Reporting Server only (not Resource Manager).

Figure 33: Structure of a Disaster Recovery Segment

Role of the Read-Only Reporting Server in Disaster


Recovery
The role of the read-only Reporting Server is to provide operational reports
only. These servers stay active despite the fact that the segment might be a cold
DR site, so that operational reports are available in both sites at all times. In
this way, Genesys Administrator can automatically select one of the working
Reporting Server instances to retrieve operational reports.

Add the DR Reporting Server Connection


Go to the primary Reporting Server's connections tab and add a connection to
the DR Reporting Server.

Reporting Data Queries


In DR deployments, Genesys Administer queries data from the Reporting
Server in the following order:

416 Genesys Voice Platform 8.1


Appendix D: Deploying GVP Multi-Site Environments Deploying Disaster Recovery Sites

• For the historical data:



HA Primary Reporting Server

HA Backup Reporting Server (that synchronizes with the HA Primary
Reporting Server)

Read-only DR Reporting Server (that synchronizes with the HA
primary Reporting Server)
• For real-time data:

HA Primary Reporting Server

HA Backup Reporting Server (that synchronizes with the HA Primary
Reporting Server)
• For aggregate data:

The queries are repeated N times for N Primary sites, where N is the
number of Primary sites. For example, if there are 10 Primary sites, the
query is repeated 10 times.

Disaster Recovery Modes of Operation


A DR site or segment can be running in hot or cold mode. A hot DR segment
acts as a normal site and participates in the election process to accept incoming
calls. A cold DR segment does not process incoming calls and starts as passive.
The Resource Manager instances in a cold DR segment still connect to the
other segments and participate in the election algorithm. As long as all of the
hot DR sites are running and active, the coordinator does not assign usage
limits to the cold DR site. If one of the hot DR sites goes down, the cold DR
site becomes active and the coordinator assigns usage limits to the (now active)
cold DR site.
After a cold DR site becomes active and begins accepting calls, the site does
not become passive again until all hot DR sites are back online and active. The
coordinator can assign a zero usage limit to a cold DR site, once it determines
all hot DR sites are back online. The cold DR site can then become passive
again.

Deployment Guide 417


Appendix D: Deploying GVP Multi-Site Environments Deploying Disaster Recovery Sites

418 Genesys Voice Platform 8.1


Appendix

E Resource Manager High


Availability
This appendix describes how to configure the Genesys Voice Platform (GVP)
Resource Manager and the Configuration Database for High Availability (HA)
on Windows and Linux operating systems. It contains the following sections:

White Papers about High Availability, page 419
 Overview, page 419

Integrating GVP with SIP Server for an Active-Active Resource Manager
Configuration, page 423

Resource Manager HA (Windows), page 426
 Resource Manager HA IP Address Takeover for Windows, page 439

Resource Manager HA (Linux), page 445

White Papers about High Availability


Two new white papers offer updated information on this subject, and are
available from your representative in Genesys Product Management.

Overview
High availability for Resource Manager is achieved by combining two
Resource Manager instances in an HA-pair, which enables the
resource-management function to be distributed over two servers to provide
redundancy. The active Resource Manager node (running on server 1)
simultaneously handles the incoming IP traffic and updates the other Resource
Manager node (in the HA-pair) with information about the active sessions,
thereby achieving high availability and scalability.

Deployment Guide 419


Appendix E: Resource Manager High Availability Overview

HA prevents single point-of-failure and provides immediate failure recovery.


In addition, administrators can manage the HA-pair as a single system either
locally or remotely.
HA Modes To configure the Resource Manager Application in HA mode, use the
cluster.ha-mode parameter to set the value to active–standby, active–active, or
None. A value of None, which is the default, means the Resource Manager is in
stand-alone mode. Two HA modes exist for Resource Manager:
• Active–Standby—Where only the active instance processes SIP requests
and the backup instance processes SIP requests when the active instance
fails. Two Resource Manager instances share the same virtual IP address
but only one instance is actively receiving network traffic. To configure the
Resource Manager in active–standby mode, see Task Summary:
Configuring the RM in HA Active–Standby (Windows), on page 426 and
Task Summary: Configuring the RM in HA Active–Standby (Linux), on
page 446.
• Active–Active—Where either one of the active nodes can process SIP
requests. This mode is similar to the virtual IP solution; however, an
external load balancer maintains the virtual IP address that forwards
information to the active nodes in the cluster. The load balancer can apply
proprietary load-balancing rules when it forwards the requests.
The virtual IP address for the active–active HA-pair is configured by using
the cluster.virtual-ip parameter in the Resource Manager Application.
The Resource Manager advertises the virtual IP address in the
Record-Route and Via headers so that SIP Server or the Media Control
Platform can send mid-call requests and responses to the load balancer. To
configure the Resource Manager in active–active mode, see Task
Summary: Configuring the RM in HA Active–Active (Windows), on
page 427 and Task Summary: Configuring the RM in HA Active–Active
(Linux), on page 446.

Notes: When configured as an HA-pair, both Resource Manager


instances must manage the same set of resources.
In addition, the load balancer must have the routing capability to
route the same SIP transactions to the same Resource Manager
instance. (The load balancer must be SIP-aware and support the
Call-ID stickiness feature to ensure this requirement is met.)
The same Resource Manager node must process the SIP
transaction in its entirety.

Before You Begin


Before you begin the procedures in this section, pay attention to the following
information:
• Ensure that the Resource Manager hosts:

420 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Overview


Are configured and fully functional in stand-alone mode.

Reside on the same subnet.

Have at least two network interface cards (NIC) that are configured
with unique IP addresses (within the same subnet).

Have one virtual IP address allocated for the cluster (to be shared by
the Resource Manager hosts in the HA-pair)

Note: If you are configuring HA on Linux by using the Simple Virtual IP


failover option, only one NIC is required. However, to avoid a single
point-of-failure if the NIC or network switch fails, you must use the
Bonding Driver failover option with two NICs. The bonding driver is
configured to share one IP address among two NICs—operating one
NIC as active and the other as standby. See “Resource Manager HA
(Linux)” on page 445. If you configure active–active HA on either
Windows or Linux, only one NIC per server is required.

• If you are deploying the Supplementary Services Gateway (SSG) on the


same host as the Resource Manager, be aware of a possible port conflict.
The default HTTPS Port for the Supplementary Services Gateway is 9801
(controlled by the HTTPS Port parameter in the HTTP section), which is also
the default port value for the Resource Manager member.1 and member.2
cluster parameters when they are configured for HA. Use Genesys
Administrator to change the values, if required.
• When you configure the Resource Manager for active–standby HA, five IP
addresses are required. (If you are using the Simple Virtual IP failover
option, only three IP addresses are required.) The first network adapter
handles the network traffic that is addressed to the server as part of the
HA-pair, while the second network adapter is used for intrahost
communication. Figure 34 depicts an example of how IP addresses are
assigned to the servers.
• Simple Network Management Protocol (SNMP) Management Information
Bases (MIB) function properly when there is only one instance of a GVP
component on a host. It is not recommended that you install the SNMP
MIBs on a server that is hosting more than one instance of the Resource
Manager. SNMP traps are sent by the active Resource Manager only.

Deployment Guide 421


Appendix E: Resource Manager High Availability Overview

Member 1 Member 2

192.168.43.1 192.168.43.2
(NIC 1) (NIC 1)

10.10.10.1 10.10.10.2
(NIC 2) (NIC 2)

10.10.10.3
(virtual IP – cluster)
Figure 34: IP Address Assignation for active–standby HA

Monitoring the NICs


When the Resource Manager is configured as an active–standby HA-pair, it
monitors the NICs to determine network error instances—for example, when a
cable is unplugged. If any of the NICs encounters errors, the network is
considered to be down.
The Resource Manager must monitor the NICs that are used in the HA-pair to
ensure that the Network Load Balancing (NLB) is working properly:
• For Windows—One with NLB configured, and one with the IP address of
the host computer.
• For Linux—If only one NIC is used in the HA-pair, it must be monitored.
When there are more than two NICs present in the system and the other NICs
are not part of the NLB HA-pair, it is recommended that you specify the Media
Access Control (MAC) addresses of the NICs that you want to monitor.
To specify the NICs that you want to monitor, use the steps in Procedure:
Specifying the NICs to Monitor (Windows), on page 435, and Procedure:
Specifying the NICs for Monitoring (Linux), on page 454.

Note: When Windows NLB is used, the standby Resource Manager can take
up to seven (7) seconds to become active when failover occurs.
However, there is no data loss, even for those calls that are in
progress.

422 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Integrating GVP with SIP Server for an Active-Active Resource

Integrating GVP with SIP Server for an


Active-Active Resource Manager
Configuration
For all GVP deployments with SIP Server that will support Resource Manager
High Availability Active-Active in both DNS and IP modes, configure a VoIP
service DN.

GVP as a Self-service IVR


In self-service mode, GVP works as an IVR for handling inbound calls that are
forwarded by SIP Server. Calls can be self-service (where the call terminates at
GVP), or assisted service (where GVP transfers the call to an agent as needed).
Configure GVP as a Trunk DN in SIP Server:
Table 45: Trunk DN Configuration (Inbound)

Parameter Value

contact “::msml”

prefix Initial digits that match the DNIS number

sip-busy-type 2

Geo-location (optional) <location1, location2>

For HPE, configure GVP as a Trunk Group DN in SIP Server:


Table 46: Trunk Group DN Configuration (Outbound)

Parameter Value

contact “::msml”

subscription-id <DN_Name>

make-call-rfc3725-flow 1

refer-enabled false

ring-tone-on-makecall false

request-uri sip:msml@<RMHost>:<RMport>;gvp-tenantid=<Te
nant-Name>

Deployment Guide 423


Appendix E: Resource Manager High Availability Integrating GVP with SIP Server for an Active-Active Resource

GVP as an Inbound Media Server


In this mode, SIP Server is an application server and GVP is a media server
performing requests such treatment, greeting, music, conference, and
recording.
Configure GVP as a VoIP Service DN in SIP Server:
Table 47: VoIP Service DN Configuration Parameters

Name Value Type

contact (for DNS mode) Resource Manager's contact Mandatory

contact-list (for IP mode) Resource Manager's contacts Mandatory

service-type msml Mandatory

oos-check <time in seconds> (Active OOS Mandatory


functionality)

oos-force <time in seconds> Mandatory

geo-location (optional) <location1, location2> Optional

Parameter Notes
Contact Contact contains a single contact URI, specifying the device’s IP address, and
is used when SIP-Server Resource Manager HA Active-Active deployed in
DNS mode. The URI format is:
[sip:][number@]hostport[;transport={tcp/udp}]
Where:
• sip: is an optional prefix.
• number is the DN number. This is currently ignored.
• hostport is a host:port pair, where host is either a dotted IP address or a
DNS-resolvable hostname for the endpoint.
Contact-list Use contact-list when SIP-S RM HA A-A is deployed in IP mode.
Contact-list contains comma-separated URIs,and is used when SIP-Server
Resource Manager HA Active-Active is deployed in IP mode.
A new DN level parameter “contact-list” is introduced for supporting Multiple
IP address configuration. This parameter will have comma-separated list of
any valid SIP URI. Configure each URI using following format.
[sip/sips:][number@]hostport[;transport=(tcp/udp/tls)]
Where:
• sip/sips: is an optional prefix.
• number is the DN number (currently ignored.)

424 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Integrating GVP with SIP Server for an Active-Active Resource

• hostport is a host:port pair, where host is a dotted IP address for the


endpoint.

Note: Media Server mode uses the same VOIP service DN that is used to
configure Resource Manager contacts. This mode requires Media
Server status notification functionality, so the subscription-ID
parameter must be added in the VOIP service DN.

GVP as an Outbound Media Server


In this mode, GVP is a media server providing outbound services such as Call
Progress Analysis, music treatment, media bridging (ASM mode) and playing
the VXML application.
Configure GVP as a Trunk Group with these parameters:

Parameter name Parameter value

contact “::msml”

subscription-id <DN_Name>

make-call-rfc3725-flow 1

refer-enabled false

ring-tone-on-makecall false

request-uri sip:msml@<RMHost>:<RMport>;gvp-tenantid=
<Tenant-Name>

In deployments of CTI through an IVR Server (used for playing VoiceXML


applications after the outbound call is established), configure GVP as a set of
Voice treatment port DNs, with this parameter:

Parameter name Parameter value

contact “::msml”

For Voicemail Integration, you must configure a VoIP service DN along with
the msml VoIP service DN. Configure the voicemail VoIP service DN with
these parameters:

Parameter Value

contact "::msml"

service-type voicemail

Deployment Guide 425


Appendix E: Resource Manager High Availability Resource Manager HA (Windows)

Limitations of the Active-Active RM Configuration


SIP Server supports Resource Manager configuration in these ways:
• As a single FQDN that resolves to an SRV record
• Multiple IP addresses (IP mode)
In IP mode, SIP Server does not support configuring priority and
weightage for each IP address. All entries are considered of equal priority
and weightage.
SIP Server supports only the round-robin load-balancing method to support
Resource Manager HA Active-Active.
See also in the SIP Server 8.1 Deployment Guide:
• Configuring an MSML Service in Chapter 4: “SIP Devices Support”.
• Genesys Voice Platform Integration in Chapter 5: “SIP Server Feature
Support”.

Resource Manager HA (Windows)


Use the information and procedures in this section to configure Resource
Manager on Windows.

Task Summary
Complete the tasks in Task Summary: Configuring the RM in HA Active–
Standby (Windows) to configure the Resource Manager in HA active–standby
mode.

Task Summary: Configuring the RM in HA Active–Standby (Windows)

Objective Related procedures and actions

1. Configure NLB on the Resource See Procedure: Configuring Resource Manager HA


Manager hosts. (Windows 2003) or Procedure: Configuring Resource
Manager HA (Windows 2008), on page 430.

2. Configure the member IDs and NLB See Procedure: Configuring the Resource Manager HA-Pair,
script path in the Resource Manager on page 433.
Applications.

3. Configure the virtual IP address of the See Procedure: Configuring the INIT and NLB Script Files
HA-pair in the INIT and NLB script (Windows), on page 437.
files.

426 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA (Windows)

Task Summary: Configuring the RM in HA Active–Standby (Windows) (Continued)

Objective Related procedures and actions

4. Specify the NICs that require See Procedure: Specifying the NICs to Monitor (Windows),
monitoring (optional). on page 435.
Note: In Windows environments, NICs monitoring is
optional. If there are only two NICs installed on the host,
omit this procedure.
For more information about monitoring the NICs, see
“Monitoring the NICs” on page 422

5. If you are installing Resource Manager See Procedure: Configuring the Resource Manager Service
HA on Windows 2008, configure a (Windows), on page 438.
network account with Administrator Note: Windows 2008 does not support the NLB
privileges (not required on Windows
command /PASSW argument for remote procedure calls.
2003).
Therefore, the Resource Manager Service must run as a
network account that has Administrator privileges.

6. Complete finals steps before executing See “Executing NLB Mode” on page 439.
the Resource Manager HA-pair in
NLB mode.

Complete the tasks in Task Summary: Configuring the RM in HA Active–


Active (Windows) to configure the Resource Manager in HA active–active
mode.
U

Task Summary: Configuring the RM in HA Active–Active (Windows)

Objective Related procedures and actions

1. Configure the member IDs in the See Procedure: Configuring the Resource Manager HA-Pair,
Resource Manager Applications. on page 433.

2. Configure the virtual IP in the Media See Procedure: Integrating Application Objects with
Control Platform, Call Control Resource Manager, on page 261 and Procedure: Configuring
Platform, and CTI Connector the Call Control Platform, on page 287.
Applications.
Note: When you use these procedures to configure active–
active HA mode, the virtual IP is used as the Resource
Manager IP.

3. Configure the external load balancer. See the vendor documentation for the type of load balancer
you are using (for example, F5 or Radware).

Deployment Guide 427


Appendix E: Resource Manager High Availability Resource Manager HA (Windows)

You can configure the Resource Manager in HA active–standby mode by using


the Windows NLB service. Use the procedures in this section to configure the
Resource Manager HA-pair on Windows 2003 or 2008.

Procedure:
Configuring Resource Manager HA (Windows 2003)

Purpose: To configure NLB on the Resource Manager host (Windows 2003).

Summary
Complete this procedure on each of the Resource Manager hosts in the
HA-pair, specifying a unique ID for each host.

Prerequisites
• The Resource Manager hosts conform to the prerequisites for Windows.
See “Prerequisites” on page 207.

Start of procedure
1. From the Windows Start menu, select Control Panel > Network
Connections.
2. Right-click the local-area connection that will be used for NLB, and then
select Properties.
The General tab of the Local Area Connection Properties dialog box
appears.
3. In the list of services, perform one of the following:
• Ensure that Network Load Balancing is selected.
• If Network Load Balancing is not in the list, click Install > Service >
Network Load Balancing.
4. With Network Load Balancing selected on the General tab, click
Properties.
5. Enter the information on the Cluster Parameters and Host Parameters
tabs, as shown in Table 48:

428 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA (Windows)

Table 48: Properties of NLB Service

Section Field Description

Cluster parameters tab

Cluster IP configuration IP Address Enter the virtual IP address of this cluster.

Subnet mask Enter the subnet mask for your network.

Full Internet name Enter the fully qualified domain name (FQDN) that
is associated with the virtual IP address.

Cluster operation mode Unicast Enable this radio button.

Allow remote control Remote password Enter root1.


(ensure that this is
checked) Confirm password Enter root1.

Host parameters tab

Priority (unique host identifier) • Enter 1 for the first Resource Manager host in
the cluster.
• Enter 2 for the second Resource Manager host in
the cluster.
This parameter specifies a unique ID for each host.

Dedicated IP configuration IP address Enter the IP address that is associated with this
local-area connection. (This IP address is different
from the virtual IP address that was assigned
previously).

Subnet mask Enter the subnet mask for the network.

Initial host state Default state In the drop-down list, select Stopped.

6. On the Port Rules tab, click Add.


The Add/Edit Port Rule dialog box appears.
7. Enter the information for the port rules, as shown in Table 49:

Table 49: Add/Edit Port Rules

Section Field Value and description

Cluster IP address Select All.

Port range From Accept the default value, 0.

To Accept the default value, 65535.

Deployment Guide 429


Appendix E: Resource Manager High Availability Resource Manager HA (Windows)

Table 49: Add/Edit Port Rules (Continued)

Section Field Value and description

Protocols Select Both (TCP & UDP).

Filtering mode Multiple hosts Enable this radio button.

Affinity Select None.

Load weight Select Equal.

8. Click OK to save the port rules and then click OK again to save the changes
to the NLB properties.
9. On the General tab, select Internet Protocol (TCP/IP).
10. Click Properties.
11. Verify that the settings on the General tab are associated with this
local-area connection.
12. On the Advanced tab, in the IP addresses field, verify:
• The first IP address is the one that is associated with the local-area
connection.
• The second IP address is the virtual IP address.

Note: If the second IP address is not listed, add the virtual IP address as
the second IP address. Click the IP Settings tab to add the virtual
IP address and the corresponding subnet mask. In the pop-up
window, click Add.

13. Click OK to save the settings, and then click OK again to close the Local
Area Connection Properties dialog box.
14. Restart the computer.

End of procedure

Next Steps
• Configure the Resource Manager Applications. See Procedure:
Configuring the Resource Manager HA-Pair, on page 433.

Procedure:
Configuring Resource Manager HA (Windows 2008)

Purpose: To set up NLB by configuring Windows 2008.

430 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA (Windows)

Summary
Perform this procedure on each of the Resource Manager hosts in the NLB
cluster, specifying a unique ID for each host.

Prerequisites
• The Resource Manager hosts conform to the prerequisites for Windows.
See “Prerequisites” on page 207.

Start of procedure
1. From the Windows Start menu, select Administrative Tools > Server
Manager.
2. In the Feature Summary section, click Add Features.
3. The Add Features Wizard appears.
4. Click the check box beside Windows Network load Balancing.
5. Click Install.
Network Load Balancing is installed on Windows.
Configuring the 6. In Administrative Tools, select Network load Balancing Manager.
Cluster
7. Right-click Network Load Balancing Clusters, and click New Cluster.
8. In the Host field, enter the name of the Resource Manager host that you are
adding to the cluster—for example, ResMgr1.
9. Click Connect.
10. Select the interface that will host the HA-pair’s virtual IP address, and
click Next.
The interface selected cannot be used for the private communication
between the Resource Manager nodes (for example, the IP address that is
associated with this NIC cannot be used in the [cluster] member.[n]
configuration parameter). This interface hosts the virtual IP address, which
receives and load-balances the client traffic.
11. Enter the information on the Host Parameters and Cluster Parameters
section, as shown in Table 50:

Deployment Guide 431


Appendix E: Resource Manager High Availability Resource Manager HA (Windows)

Table 50: Properties of NLB Service

Section Field Description

Host parameters Priority (unique • Enter 1 for the first Resource Manager host in the
host identifier) cluster.
• Enter 2 for the second Resource Manager host in the
cluster.
This parameter specifies a unique ID for each host.

Cluster IP Address Click Add to enter the IP address that is shared by the
hosts in the HA-pair.
Note: The shared IP address for the HA-pair must be
static. NLB disables DHCP on every interface that it
configures, as it does not support DHCP.

Cluster parameters IP Address Enter the virtual IP address of this cluster.

Subnet mask Enter the subnet mask for your network.


(The subnet mask is not required for IPv6 addresses.)

Cluster operation Unicast Enable this radio button.


mode In Unicast mode, the MAC address of the cluster is
assigned to the network adapter for the computer, and
the built-in MAC address of the network adapter is
not used.

12. In the Port Rules section, click Edit.


13. Configure the port rules as shown in Table 51.
Table 51: Port Rules Configuration

Section Field Value and description

Port range From Accept the default value, 0.

To Accept the default value, 65535.

Protocols Select Both (TCP & UDP).

Filtering Mode Multiple hosts Enable this radio button.

Affinity Set to None.

432 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA (Windows)

14. Click Finish.


To add another host to the cluster, right-click the new cluster, click Add
Host to Cluster, and repeat Steps 8 to 14.

End of procedure

Next Steps
• Configure the Resource Manager Applications for HA. See Procedure:
Configuring the Resource Manager HA-Pair, on page 433.

Tip: The following information applies to NLB configuration on


Windows 2003 and 2008:
In active–standby mode, when the active Resource Manager nodes
NLB-dedicated NIC cannot be reached (due to an unplugged cable, a
disabled NIC, or a shutdown host), it can take several seconds to several
minutes before the traffic is re-routed to the standby Resource Manager
node. When the active Resource Manager node cannot be reached, the
standby node issues the wlbs command (see Procedure: Configuring the
INIT and NLB Script Files (Windows), on page 437) as part of the failover
sequence. If the dedicated NLB NIC of the currently active Resource
Manager node cannot be reached, then the wlbs command can hang for
several seconds and cause the failover to be delayed. In addition, if the
failover occurred because the Resource Manager machine was shut down,
the previously active Resource Manager might temporarily take over the
traffic when the machine reboots. To resolve this issue:
1. In the Network Load Balancing Properties on both of the Resource
Manager hosts in the cluster, go to the Host Parameters section.
2. In the Initial host state section, select Stopped from the Default
state drop-down menu.
.

Procedure:
Configuring the Resource Manager HA-Pair

Purpose: To configure the member IDs and NLB script path in the Resource
Manager HA Applications for active–standby mode.

Summary
Complete this procedure for each Resource Manager HA Application in the
HA-pair.

Deployment Guide 433


Appendix E: Resource Manager High Availability Resource Manager HA (Windows)

Prerequisites
• For active–standby mode only, ensure NLB clustering is set up on each
Resource Manager host in the cluster. See Procedure: Configuring
Resource Manager HA (Windows 2003), on page 428, Procedure:
Configuring Simple Virtual IP Failover, on page 447, or Procedure:
Configuring Bonding Driver Failover for RHEL 5 and Lower, on
page 449.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Select the Resource Manager HA Application you want to configure.
The Configuration tab appears.
4. On the Options tab, enter the mandatory information in the Cluster section
as shown in Table 52.

Table 52: Options Tab—Cluster Section

Option name Value

members Retain the default value of 1 2.

member.1 Enter <localhost_IP_add_1>:9801,


where <localhost_IP_add_1> is the private IP address of the first Resource
Manager host, which corresponds to the IP address of the network interface that
does not have the virtual IP address assigned (not the IP address that is associated
with the NLB cluster).

member.2 Enter <localhost_IP_add_2>:9801,


where <localhost_IP_add_2> is the private IP address of the second Resource
Manager host, which corresponds to the IP address of the network interface that
does not have the virtual IP address assigned (not the IP address that is associated
with the NLB cluster).

hotstandby Enter TRUE.

mymemberid • For the Resource Manager HA Application that represents the first Resource
Manager host in the HA-pair, enter 1.
• For the Resource Manager HA Application that represents the second Resource
Manager host in the HA-pair, enter 2.
The first and second Resource Manager hosts must correspond to the first and
second Resource Manager hosts that you specified in Step 5 on page 428 (see
Table 48 on page 429 or, for Linux, in Procedure: Configuring the INIT and NLB
Script Files (Linux), on page 453). Also, if both Resource Manager instances are
running, memberid 2 will be the active one.

434 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA (Windows)

Table 52: Options Tab—Cluster Section (Continued)

Option name Value

virtual-ip Enter <virtual_IP_add>,


where <virtual_IP_add> is the designated Virtual IP address that is shared by all of
the Resource Manager hosts in the HA-pair.

virtual-ip-in-via Retain the default value of true.

electiontimer Retain the default value of 3000.

FailOverScript Retain the default value, <Installation Directory>\bin\NLB.bat


where <Installation Directory> is the directory where the NLB.bat file is
installed.
Note: Configuration of this option is not required for active–active HA mode.

heartbeattimer Retain the default value of 2000.

ha-mode Enter active–active or active–standby.

Note: Many other options can be configured for the Resource Manager
HA-pair. For a complete list of the available options, and
descriptions of them, see the Genesys Voice Platform 8.1 User’s
Guide.

5. Click Save.
6. Repeat Steps 3 to 5 for each Resource Manager HA Application in the
HA-pair.

End of procedure

Next Steps
• If you have not already done so, configure a connection to the Message
Server in each Resource Manager Application in the HA-pair. See
Procedure: Creating a Connection to a Server, on page 263.
• Specify the NICs you want to monitor (optional). See Procedure:
Specifying the NICs to Monitor (Windows).

Procedure:
Specifying the NICs to Monitor (Windows)

Purpose: To specify the NICs that you want the Resource Manager to monitor.

Deployment Guide 435


Appendix E: Resource Manager High Availability Resource Manager HA (Windows)

Summary
If the gvp section in the Resource Manager HA Application is not configured,
all of the NICs installed on the host are monitored for network errors.

Prerequisites
• More than two NICs are configured on the same host and are fully
functional.
• Two NICs are configured as part of an HA-pair. See Procedure:
Configuring Resource Manager HA (Windows 2003), on page 428, and
Procedure: Configuring the Resource Manager HA-Pair, on page 433.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Select the Resource Manager HA Application that you want to configure.
4. On the Options tab, scroll to the gvp section.
5. For the nic.eth0 option, in the Value field, enter the MAC address of the
first NIC that you want to monitor—for example, nic.eth0 =
00-0F-1F-6D-EB-CA.
6. Repeat Step 5, adding nic.eth1 and the MAC address of the second NIC
that you want to monitor—for example, nic.eth1 = 00-0F-1F-6D-EB-CA.
7. If more than two NICs exist, configure the nics option value to 0 1.

Note: The instructions in Steps 5, 6, and 7 are based on the assumption


that the chosen network interfaces are numbered 0 and 1. If this
configuration does not match the actual interface numbers in your
system, change the values accordingly.

8. Click Save.
9. To confirm that you have configured the NICs correctly, use the
ipconfig/all command to query the MAC addresses of the NICs.

End of procedure

Next Steps
• Configure the INIT.bat and NLB.bat script files. See Procedure:
Configuring the INIT and NLB Script Files (Windows).

436 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA (Windows)

Procedure:
Configuring the INIT and NLB Script Files (Windows)

Purpose: To configure the INIT.bat and NLB.bat files with the virtual IP
address of the HA-pair.

Summary
Configure the INIT.bat and NLB.bat files on each Resource Manager host in
the HA-pair.

Prerequisites
• NLB clustering has been set up on the hosts. See Procedure: Configuring
Resource Manager HA (Windows 2003), on page 428.

Start of procedure
Configure the 1. Open the INIT.bat file in a text editor.
INIT.bat file
The INIT.bat file is located in <Res_Mgr_Install_Dir>\bin directory.
2. Follow the directions in the script file to change the virtual IP address and
the IP address for members 1 and 2 of the HA-pair.
3. Click File > Save.
Configure the 4. Open the NLB.bat file in a text editor.
NLB.bat file
The NLB.bat file is located in the <RM_Install_Dir>\bin directory.
5. Follow the directions in the script file to change the virtual IP address and
the IP address for members 1 and 2 of the HA-pair.
The private_ip_member1 and private_ip_member2 parameters represent the
interfaces that are associated with the NLB interface. (See the example for
NIC2 in Figure 34 on page 422.)
6. Save the changes.
7. Execute the INIT.bat script on each host to disable NLB functionality on
both hosts, enter INIT.bat.
8. Execute the NLB.bat script to re-enable NLB functionality on the host that
will act as the master, enter NLB.bat enable X.
Where X is the member ID of the host on which the virtual IP will accept
traffic.

Note: Enter 1 or 2 for the value in the NLB.bat enable command, based
on the member ID of the Resource Manager instance on that host.

Deployment Guide 437


Appendix E: Resource Manager High Availability Resource Manager HA (Windows)

After NLB.bat script execution, the virtual IP will be active on the host that
is identified as private_ip_member1 in the NLB.bat file. Confirm this by
attempting to Remote Desktop into the virtual IP address, and once logged
in, check the hostname to confirm it is the correct system.

End of procedure

Next Steps
• If you are installing the cluster on Windows 2008, configure the Resource
Manager Service. See Procedure: Configuring the Resource Manager
Service (Windows).
• If you are installing the cluster on Windows 2003, execute NLB cluster
mode. See “Executing NLB Mode”.

Procedure:
Configuring the Resource Manager Service (Windows)

Purpose: To modify the Resource Manager Service in Window 2008 to run as


a network account.

Summary
Complete this procedure on both the primary and backup servers in the
HA-pair.

Prerequisites
• There are no prerequisites for this procedure.

Start of procedure
1. At the Start menu, select Control Panel > Administrative Tools >
Services.
2. Right-click the Genesys VP Resource Manager Service.
3. When the Genesys VP Resource Manager Service Properties dialog box
opens, click the Log On tab.
4. Enable the This account radio button, and enter .\Administrator.
5. In the Password and Confirm Password fields, enter the Administrator’s
password.
6. Click the Enable button.
7. Click OK.

End of procedure

438 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA IP Address Takeover for Windows

Next Steps
• Execute NLB mode. See “Executing NLB Mode”.

Executing NLB Mode


Before you execute NLB mode:
1. Execute the INIT.bat file. When you execute this file, load balancing is
disabled on both members in the HA-pair. Executing in NLB mode, the
Resource Manager checks the status of other Resource Manager instance
before it assumes Active–Standby status.
2. Start one instance of the Resource Manager Application on each host in the
HA-pair.
Ensure that each host is running different instances of the Resource Manager
Applications; for example, if one host is running ResMgr1, the other host must
be running ResMgr2.

Resource Manager HA IP Address


Takeover for Windows
Beginning with release 8.1.6, Resource Manager supports IP Address Takeover
for Windows.
Resource Manager (RM) is used with SIP Server for Media Server
applications, and with GVP for VoiceXML applications. Resource Manager
provides an essential intelligence for GVP and media policy management,
resource management and reporting. Resource Manager monitors the
availability of media servers and directs SIP Server to connect sessions to the
most suitable media server.
Resource Manager High Availability means that the RM function can be
deployed as a pair of RM processes. You can configure RM pairs to send
updates to each other regarding the status of requests and system states. RM
pairs can be deployed in Active–Standby or Active–Active modes.
If SIP Server is sending requests to an RM Active–Active configuration, it
requires that a load balancer be placed between SIP Server and the Resource
Manager Pairs. F5, NLB, and Radware are examples of third party load
balancers that can perform these functions. Active–Active designs require load
balancing to maintain stickiness of the session between SIP Server and the RM
selected.
If SIP Server is sending requests to an RM pair configured in Active–Standby,
then SIP Server is directing requests only to the active RM, using a Virtual IP.
The RMs have an internal selection mechanism to determine which node
should be the active one. The standby RM is used to “take over” the role of the
Primary only when the current active RM process fails. There are two ways to

Deployment Guide 439


Appendix E: Resource Manager High Availability Resource Manager HA IP Address Takeover for Windows

accomplish the takeover: you can use Windows NLB for monitoring and
switching. Or, you can use the Genesys Solution Control Server (SCS) to
monitor alarms sent to it for RM; if the active RM goes down, then SCS can
execute scripts that change the Virtual IP addressing between SIP Server to the
formerly-standby-now-active RM. The RM also has its internal mechanism of
performing failover using heartbeat monitoring between the pair. The active–
standby configuration does not require a load balancer, but does need an
effective script solution.
Table 53: IP Address Takeover vs. Load Balancing—A Comparison

RM RM Scripts RM Load Pro Con


Configuration Balancing

Active–Standby --- Windows NLB Comes with the product, ---


(Load Balancing) slightly easier config;
supports Windows.

Active–Standby IP-Takeover --- Comes with the product, Still less reliable than
(IP Address Patch with slightly easier NLB in this
Takeover) Scripts configuration; supports configuration for
Windows & Linux. switchover timing; see
the RM Release Note

Active–Active (IP --- F5, NLB Fast takeover. Complex Config, 3rd
Address Party sw, NLB is
Takeover) windows only.

Active–Active --- Genesys SIP Comes with the product, Availability scheduled
(Load Balancing) Server with easy configuration, for GVP 8.1.7 release.
internal load baked-in function.
balancing

Notes on Resource Manager Configuration for


Active-Active (Load Balancing)
Set these options on each Resource Manager:
• Set cluster.ha-mode to active-active.
• Set cluster.virtual-ip to the RM VIP address.
• Set Cluster.member.1|2 to the corresponding RM IP:Port.

Note: Provision transport.staticroutelist under the [sip] section of other


GVP components that interact with RM via SIP (MCP, CCP or CTIC).
Set the [sip]transport.staticroutelist parameter to each Resource
Managers IP address. For example,
[sip]transport.staticroutelist=138.120.84.101, 138.120.84.102

440 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA IP Address Takeover for Windows

Procedure:
Configure Resource Manager High Availability Using
Virtual IP Address Takeover for Windows

Purpose: To configure VP Resource Manager (RM) High Availability (HA)


using Virtual IP (VIP) Address Takeover for Windows.

Prerequisites
New script files were added to the Resource Manager IP. Verify that the
following four files are present in the installation-bin folder:
• INIT_IPTakeOver.bat
• IPTakeOver.bat
• Ping.vbs
• Check_Ip.vbs

Start of procedure
1. Follow the instructions inside INIT_IPTakeOver.bat to set the parameters
VirtualIP and VirtualInterface.
2. Follow the instructions inside IPTakeOver.bat to set the parameters
VirtualIP, VirtualInterface, GatewayIP, mymemberid and
InterfaceForARPing on page 394 (optional).
IPTakeOver.bat also contains instructions that you should follow, for using
the arping utility and other functions.
3. In the RM's [cluster] section, set the failoverscript parameter to
$InstallationRoot$/bin/IPTakeOver.bat.
4. Create alarm-based reaction scripts to execute the failover script which
would disable VIP in case of RM crash or shutdown.
To create these scripts, follow these steps:
a. Create a new Third Party Server template.
b. Create two Reaction Applications.
c. Create and configure two Alarm Reaction scripts.
d. Create two Alarm Conditions, to send an alarm when either instance of
the RM is stopped intentionally.
e. Create two Alarm Conditions, to send an alarm when either instance of
the RM stops unexpectedly.

Deployment Guide 441


Appendix E: Resource Manager High Availability Resource Manager HA IP Address Takeover for Windows

5. (Optional) Execute INIT_IPTakeOver.bat manually before starting RM in


both HA nodes.

Note: In some systems, the default heartbeat interval between the two RM
nodes (2000 msec) is not suitable for the IP Takeover mechanism. To
compensate, Genesys recommends setting the configuration option
cluster.heartbeattimer to 8000.

End of procedure

Next Steps
Consider the following cautions:
• Virtual IP (VIP) Address Takeover for Windows is less reliable than a
Windows NLB cluster configuration, page 442
• Changes to the Windows Server 2008 ARP cache updating mechanism
interfere with VIP Address Takeover, page 442

Virtual IP (VIP) Address Takeover for Windows is less


reliable than a Windows NLB cluster configuration
Adding or removing an IP address using VIP Address Takeover is more
complicated than enabling or disabling a port in the Windows NLB
configuration. VIP Address Takeover fails when either command on the
backup or the primary fails. By comparison, in the Windows NLB
configuration there is no dependency on a backup command to succeed for
most of the failover scenarios.
Netsh (the Microsoft utility used for IP Address Takeover) takes longer to
modify the network configuration than it does to enable or disable a port in the
NLB configuration. Also, the time may depend upon a particular NIC and its
configuration. Normally, modification takes less than 15 seconds to execute,
but in this situation it can take as long as 30-45 seconds.
In addition, the Netsh command can fail if the NIC configuration is already
being accessed through the Network Properties User Interface.

Changes to the Windows Server 2008 ARP cache


updating mechanism interfere with VIP Address
Takeover
In short, when a gratuitous ARP is sent by Windows Server 2008, it sets the
SPA field in the initial request to 0.0.0.0. As a result, the ARP of neighbor
caches of systems receiving this request is not updated, and the problem for
HA systems (ones that use GARP to facilitate moving the VIP when a system
goes down) is that the system must wait for the OS to time-out the neighbor

442 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA IP Address Takeover for Windows

cache. This adds excessive additional time to the failover, causing some
functions to fail for RM HA.
To resolve this, Genesys offers these recommendations:
1. Install Microsoft HotFix 2582281
(http://support.microsoft.com/kb/2582281) when running one of the
following operating systems:

Windows Server 2008 Service Pack 2 (SP2)

Windows Server 2008 R2 Service Pack 1 (SP1)
2. Use the arping utility for Windows Server 2008.
This function generates a regular ARP request (not a GARP) on demand. A
regular ARP does not specifically set the SPA field to 0.0.0.0 and so the
neighbor cache is updated immediately.
In the case of RM HA, arping is used to send an ARP to the
gateway/router, to update its ARP cache.
Windows has no arping implementation (unlike Linux). Genesys
recommends the following implementation to use it for testing:
http://www.habets.pp.se/synscan/programs.php?prog=arping
The pre-built download location of the latest “arping” binary for Windows
is: http://mathieu.carbou.free.fr/pub/arping/2.06/arping.zip
The IPTakeOver.bat file itself contains instructions for how to use arping.

Notes: The Windows arping implementation works with IPv4 only.


The Interface For Arping requires you to specify the correct
device for the virtual interface. See the procedure “Search the
Windows Registry for a Physical Device Identifier” on page 444.

3. Place the SIP UA that sends a request to the RM (in this case SIP-Server)
into a different subnet than the RM nodes.
This recommendation is based on #2 above. Since the RM can be
provisioned to handle a relatively large number of SIP-Servers, that
configuration would require the RM to send an ARP request using arping
to all those SIP-Servers. That requires the user to configure those
SIP-Servers in the IP Address Takeover script, and to update the script as
new servers are introduced. Be very careful if you choose to do this.
Instead, Genesys recommends that you use arping to send ARP (after
failover) to the default gateway/router, only to minimize the list of servers
to which ARP should be sent. If the gateway/router is in an HA
configuration (primary-backup pair) then send ARP to both nodes. In that
case, when a request from SIP-Servers that are located in different subnets
comes to the gateway/router, it is sent to the correct RM node because its
ARP cache is already updated.

Deployment Guide 443


Appendix E: Resource Manager High Availability Resource Manager HA IP Address Takeover for Windows

Procedure:
Search the Windows Registry for a Physical Device
Identifier

Purpose: The InterfaceForArping requires you to specify the correct device for
the virtual interface. Use this procedure to get this information from the
Windows registry.

Start of procedure
1. Start Regedit and go to the
HKLM\SYSTEM\CurrentControlSet\Control\Network\ directory.
2. Identify the Key with the value {Default} and the data Network Adapters.
If the virtual interface is set for Local Area Connection, then search the
listed adapter (in the registry) for the value name that contains the data
Local Area Connection.
The Key that contains Local Area Connection is the reference to the
physical device identifier.
3. Pre-append \Device\NPF_ to the Key and set this value for
InterfaceForArping.
Example:
\Device\NPF_{85FEBE1C-9EEF-4E61-974B-1158DB270F6E}
From this key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\{4D36E9
72-E325-11CE-BFC1-08002BE10318}\{85FEBE1C-9EEF-4E61-974B-1158DB270F
6E}

End of procedure

Next Steps
Use the <information> when you run the InterfaceForArping.

Virtual IP Interface Takeover Scripts


Find these scripts on your Installation CD or in the IP package that you
downloaded over the internet:
Ping.vbs—Ping host and return 1 if ping successful, 0 if not, -1 if target not
specified.
Check_ip.vbs—Check if IP address (arg0) can be found on host (arg1)
Return 1 if found, 0 if not, -1 if address and host not specified
INIT_IPTakeOver. bat—Optional. You can manually execute this batch script,
to disable the Virtual IP interface in the RM box before starting the RM
process.

444 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

IPTakeOver.bat—Enable or disable the Virtual IP interface in the RM box,


during RM's own internal election process or when a failover event occurs.

Resource Manager HA (Linux)


Two options exists to achieve high availability when the Resource Manager is
installed on Linux operating systems: Simple Virtual IP failover and Bonding
Driver failover.
When you configure either of these two options, each host in the HA-pair has a
static private IP address, however, all hosts share one public virtual IP address.
The public IP address is used by external Session Initiation Protocol (SIP)
endpoints to interact with the Resource Manager on each host in the cluster. If
an instance of the Resource Manager fails on any host, the failover is
transparent to the caller.
Furthermore, when you use the Bonding Driver failover option, and two or
more network cards are installed on the same server, the bonding driver
provides active–standby functionality for the individual network interfaces.

Notes: If a VMWare installation is used for Resource Manager in active–


backup HA mode, you must use the procedure Configuring
Bonding Driver Failover for RHEL 5 and Lower, page 449, or
Configuring Bonding Driver Failover for RHEL 6.x, page 451.
Typically two NICs are recommended for bonding (to achieve
maximum robustness), however, bonding can also be achieved by
using one NIC only.

Tip: Precaution for Failover Scenarios


In certain failover scenarios, it is expected that both Resource Manager
instances will have an active (and identical) Virtual IP address. In most
environments this is not an issue, because the network layer ARP table is
updated automatically to prioritize traffic to the primary Resource Manager.
However, Genesys recommends that you confirm with your Network
Operations team that no actions are taken at the network layer when
duplicate IP addresses (specifically the Virtual IP address) have been
identified.

Use the procedures in this section to configure Resource Manager HA in


active–standby mode on the Linux host(s).

Limitation
A limitation exists when the Resource Manager is configured in HA mode on
Linux, where the NICs, that are associated with the aliases and used for the

Deployment Guide 445


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

virtual IPs, are active on both Resource Manager hosts. Depending on the
network topology, a situation might arise where a SIP User Agent sends a
query to find the active Resource Manager, and instead of sending it to the
active instance, sends it to the backup Resource Manager.
To workaround for this issue, configure the primary and secondary Resource
Manager instances as described in the section, “Creating Alarm Reaction
Scripts, Conditions, and Reaction Applications” on page 455.

Task Summary
Complete the tasks in Task Summary: Configuring the RM in HA Active–
Standby (Linux) to configure the Resource Manager in HA active–standby
mode.

Task Summary: Configuring the RM in HA Active–Standby (Linux)

Objective Related procedures and actions

1. Configure the Resource Manager hosts See Procedure: Configuring Simple Virtual IP Failover or
for HA. Procedure: Configuring Bonding Driver Failover for
RHEL 5 and Lower.

2. Configure the member IDs for the See Procedure: Configuring the INIT and NLB Script
Resource Manager Applications. Files (Linux), on page 453.

3. Specify the NICs that require See Procedure: Specifying the NICs for Monitoring (Linux),
monitoring. on page 454.

4. Complete finals steps before executing See “Executing NLB Mode” on page 439.
the Resource Manager HA-pair in
NLB mode.

Complete the tasks in Task Summary: Configuring the RM in HA Active–


Active (Linux) to configure the Resource Manager in HA active–active mode.

Task Summary: Configuring the RM in HA Active–Active (Linux)

Objective Related procedures and actions

1. Configure the member IDs in the See Procedure: Configuring the Resource Manager HA-Pair,
Resource Manager Applications. on page 433.

446 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

Task Summary: Configuring the RM in HA Active–Active (Linux) (Continued)

Objective Related procedures and actions

2. Configure the virtual IP in the Media See Procedure: Integrating Application Objects with
Control Platform, Call Control Resource Manager, on page 261 and Procedure: Configuring
Platform, and CTI Connector the Call Control Platform, on page 287.
Applications.
Note: When you use these procedures to configure active–
active HA mode, the virtual IP is used as the Resource
Manager IP.

3. Configure the external load balancer. See the vendor documentation for the type of load balancer
you are using (for example, F5 or Radware).

Procedure:
Configuring Simple Virtual IP Failover

Purpose: To configure Resource Manager HA in active–standby mode by


using Simple Virtual IP failover.

Summary
Use the Simple Virtual IP failover method if you do not have multiple NICs in
the Resource Manager host.

Prerequisites
• The Resource Manager hosts conform to the prerequisites for Linux. See
“Prerequisites” on page 207.
• Management Framework is installed, and fully functional. See the
Framework 8.1 Deployment Guide.

Start of procedure
1. At the Linux host, log in as root.
2. Copy the contents of the /etc/sysconfig/network-scripts/ifcfg-eth0 file
to the ifcfg-eth0:1 file.
3. On the active host, modify the lines in the ifcfg-eth0:1 file as follows,
replacing <virtual_IP_addr> with the actual virtual IP address:
IPADDR=<virtual_IP_addr>
ONBOOT=no
ONPARENT=no
DEVICE=eth0:1
BOOTPROTO=none

Deployment Guide 447


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

For RHEL 5 Releases only:


4. Prepare the ifup-eth script:
• Copy /etc/sysconfig/network-scripts/ifup-eth file to
<RM_Install_Dir>/bin directory.
• In the <RM_Install_Dir>/bin/ifup-eth file, comment out lines 266 to
269, as follows:
# if ! arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${IPADDR}; then
# echo $"Error, some other host already uses address ${IPADDR}."
# exit 1
# fi
• Enable executable permission, by typing chmod +x
<RM_Install_Dir>/bin/ifup-eth, and then press Enter.
5. Prepare the ifup script:
• Copy the /etc/sysconfig/network-scripts/ifup script to the
<RM_Install_Dir>/bin directory.
• In the <RM_Install_Dir>/bin/ifup file, modify lines 145 to 149, as
follows:
OTHERSCRIPT="<RM_Install_Dir>/bin/ifup-eth"
# if [! -x ${OTHERSCRIPT}]; then
# OTHERSCRIPT="/etc/sysconfig/network-scripts/ifup-eth"
# fi
• Enable executable permission by typing chmod +x
<RM_Install_Dir>/bin/ifup, and then press Enter.
6. Repeat Steps 1 to 5 on the standby host.

For RHEL 4 Releases only:


7. Enable executable permission, type chmod +x <RM_Install_Dir>/bin/ifup,
and then press Enter.
8. Repeat Steps 1 to 3, and 7 on the standby host.

End of procedure

Next Steps
• Modify the INIT and NLB script files. See Procedure: Configuring the INIT
and NLB Script Files (Linux), on page 453.

448 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

Procedure:
Configuring Bonding Driver Failover for RHEL 5 and
Lower

Purpose: To configure Bonding Driver failover on the Resource Manager to


achieve High Availability.

Prerequisites
• The Resource Manager hosts conform to the prerequisites for Linux. See
“Prerequisites” on page 207.
• Management Framework is installed, and fully functional. See the
Framework 8.1 Deployment Guide.

Start of procedure
1. At the Linux host, log in as root.
2. In the /etc/modprobe.conf file, on separate lines add:
alias bond0 bonding
options bond0 miimon=1000 mode=1
3. In the /etc/sysconfig/network-scripts directory, copy the contents of the
ifcfg-eth0 file to the ifcfg-bond0 file.
4. In the ifcfg-bond0 file:
a. Change DEVICE=eth0 to DEVICE=bond0.
b. Remove any line that refers to the hardware address—for example,
HWADDR=.
5. In the ifcfg-eth0 file:
a. Remove any line that refers to the hardware address—for example,
HWADDR=.
b. Remove any line that refers to the IP address—for example, IPADDR=.
c. On a separate line, add MASTER=bond0.
d. On a separate line, add SLAVE=yes.
6. Repeat Step 5 in the ifcfg-eth1 file.
7. Restart the host computer.
8. After the host has restarted, modify the ifcfg-bond0:1 file, as follows,
substituting <virtual_IP_addr> for the actual virtual IP address:
IPADDR=<virtual_IP_addr>
ONBOOT=no
ONPARENT=no
DEVICE=bond0:1
BOOTPROTO=none

Deployment Guide 449


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

9. Prepare the ifup-eth script:


• Copy /etc/sysconfig/network-scripts/ifup-eth file to
<RM_Install_Dir>/bin directory.
• In the <RM_Install_Dir>/bin/ifup-eth file, comment out lines 266 to
269, as follows:
# if ! arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${IPADDR}; then
# echo $"Error, some other host already uses address ${IPADDR}."
# exit 1
# fi
• Enable executable permission, by typing chmod +x
<RM_Install_Dir>/bin/ifup-eth, and then press Enter.
10. Prepare the ifup script:
• Copy the /etc/sysconfig/network-scripts/ifup script to the
<RM_Install_Dir>/bin directory.
• In the <RM_Install_Dir>/bin/ifup file, modify lines 145 to 149, as
follows:
OTHERSCRIPT="<RM_Install_Dir>/bin/ifup-eth"
# if [! -x ${OTHERSCRIPT}]; then
# OTHERSCRIPT="/etc/sysconfig/network-scripts/ifup-eth"
# fi
• Enable executable permission by typing chmod +x
<RM_Install_Dir>/bin/ifup, and then press Enter.
11. Repeat Steps 1 to 10 on the standby host in the HA-pair.

For RHEL 4 Releases only:


12. Enable executable permission by typing chmod +x
<RM_Install_Dir>/bin/ifup, and then press Enter.
13. Repeat Steps 1 to 8 and 12 on the standby host in the HA-pair.

End of procedure

Next Steps
• Configure the member IDs and NLB script path in the Resource Manager
HA Application. See Procedure: Configuring the Resource Manager
HA-Pair, on page 433.
• Modify the INIT and NLB script files. See Procedure: Configuring the INIT
and NLB Script Files (Linux).

450 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

Procedure:
Configuring Bonding Driver Failover for RHEL 6.x

Purpose: To configure Bonding Driver failover on the Resource Manager to


achieve High Availability.

Prerequisites451
• The Resource Manager hosts conform to the prerequisites for Linux. See
“Prerequisites” on page 207.
• Management Framework is installed, and fully functional. See the
Framework 8.1 Deployment Guide.

Start of procedure
1. At the Linux host, log in as root.
For a channel bonding interface to be valid, the kernel module must be
loaded. To ensure that the module is loaded when the channel bonding
interface is brought up...
2. As root, create a new file named <bonding>.conf in the /etc/modprobe.d/
directory. You can name this file anything you like, but it must have the
extension .conf.
3. Insert the following line into this new file:
alias bond<N> bonding
...where <N> is the interface number; for example, 0.
4. For each configured channel bonding interface, you must make a
corresponding entry in your new file /etc/modprobe.d/<bonding>.conf.

Note: Do not specify options for the bonding device in


/etc/modprobe.d/<bonding>.conf, or in the deprecated file
/etc/modprobe.conf.

5. In the /etc/sysconfig/network-scripts directory, copy the contents of the


file ifcfg-eth0 to the file ifcfg-bond0.
6. In the file ifcfg-bond0:
a. Change DEVICE=eth0 to DEVICE=bond0.
b. Remove any line that refers to the hardware address; for example,
HWADDR=
c. Set BONDING_OPTS="<bonding parameters separated by spaces>"
For example, BONDING_OPTS= "miimon=1000 mode=1"
d. Set ONBOOT=yes
e. Set NM_CONTROLLED=no

Deployment Guide 451


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

7. In the file ifcfg-eth0:


a. Remove any line that refers to the hardware address; for example,
HWADDR=
b. Remove any line that refers to the IP address; for example, a line
containing IPADDR=
c. On a separate line, add MASTER=bond0.
d. On a separate line, add SLAVE=yes.
e. Set ONBOOT=yes .
(RHEL6 default is NO, unlike RHEL 5 default)
f. Set NM_CONTROLLED=no.
8. Repeat Step 7 in the file ifcfg-eth1.
9. Restart the host computer.
10. Make a copy of the file ifcfg-bond0, and name it ifcfg-bond0:1.
11. Modify the file ifcfg-bond0:1, as follows, substituting <virtual_IP_addr>
for the actual virtual IP address:
IPADDR=<virtual_IP_addr>
ONBOOT=no
ONPARENT=no
DEVICE=bond0:1
BOOTPROTO=none
NM_CONTROLLED=no
BONDING_OPTS= "miimon=1000 mode=1" can be deleted since it is not
required, and already present in bond0.
12. Prepare the script ifup-eth:
a. Copy the file /etc/sysconfig/network-scripts/ifup-eth to the
<RM_Install_Dir>/bin directory.
b. In the file <RM_Install_Dir>/bin/ifup-eth, comment out lines 243 to
246, as follows:
243 # if ! /sbin/arping -q -c 2 -w 3 -D -I ${REALDEVICE}
${ipaddr[$idx]} ; then
244 # net_log $"Error, some other host already uses address
${ipaddr[$idx]}."
245 # exit 1
246 # fi
c. Enable executable permission, by typing
chmod +x <RM_Install_Dir>/bin/ifup-eth
and then press Enter.
13. Prepare the ifup script:
a. Copy the /etc/sysconfig/network-scripts/ifup script to the
<RM_Install_Dir>/bin directory.

452 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

b. In the file <RM_Install_Dir>/bin/ifup, modify lines 157 to 161, as


follows:
OTHERSCRIPT="<RM_Install_Dir>/bin/ifup-eth"
157 #if [ ! -x ${OTHERSCRIPT} ]; then
158 # OTHERSCRIPT="/etc/sysconfig/network-scripts/ifup-eth"
159 #fi
c. Enable executable permission by typing
chmod +x <RM_Install_Dir>/bin/ifup
and then press Enter.
14. Repeat these steps on the standby host in the HA-pair.

End of procedure

Procedure:
Configuring the INIT and NLB Script Files (Linux)

Purpose: To configure the INIT and NLB script files so that each Resource
Manager host is assigned a unique member ID in the HA-pair.

Summary
Ensure that the mymemberid parameter that is configured in the cluster section
of the Resource Manager Application for mymemberid=2 is the same as the
configuration in the NLB.bat file for mymemberid=2.

Prerequisites
• HA is set up on the Resource Manager hosts. See Procedure: Configuring
Simple Virtual IP Failover, on page 447, Procedure: Configuring Bonding
Driver Failover for RHEL 5 and Lower, on page 449, or Procedure:
Configuring Bonding Driver Failover for RHEL 6.x, on page 451.

Start of procedure
1. At the Linux host, log in as root.
NLB.bat File 2. Follow the direction in the NLB.bat file to update the mymemberids:
• On the Resource Manager host that is assigned memberID=1 in the
<RM_Install_Dir>/bin directory, update the mymemberid=1.
• On the Resource Manager host that is assigned memberID=2 in the
<RM_Install_Dir>/bin directory, update mymemberid=2.
3. Save the changes.
INIT.sh File 4. Follow the direction in the INIT.sh file to update the following lines:
• If you are using Simple Virtual IP Failover—activeIntf="eth0:1".

Deployment Guide 453


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

• If you are using Bonding Driver Failover—activeIntf="bond0:1".


5. Save the changes.

Note: In the NLB.bat and INIT.sh files, the activeIntf= parameter must
match the bonding-driver configuration; for example, use
activeIntf="bond0:1” if you are configuring Bonding Driver
failover. Use activeIntf="eth0:1” if the bonding driver is not
configured.

6. Repeat Steps • to 5 on the Resource Manager host that is assigned


memberID=2.

End of procedure

Next Steps
• Specify the NICs that you want to monitor. See Procedure: Specifying the
NICs for Monitoring (Linux).

Procedure:
Specifying the NICs for Monitoring (Linux)

Purpose: To specify the NICs that are to be monitored by the Resource


Manager.

Prerequisites
• More than two NICs are configured on the same host, and they are fully
functional.
• Two NICs are configured as part of an HA-pair. See Procedure:
Configuring Simple Virtual IP Failover, on page 447 or Procedure:
Configuring Bonding Driver Failover for RHEL 5 and Lower, on
page 449.
• Assign a unique member ID to each Resource Manager host in the
HA-pair. See Procedure: Configuring the INIT and NLB Script Files
(Linux), on page 453.

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Environment > Applications.
3. Select the Resource Manager Application you want to configure.
4. On the Options tab, scroll to the gvp section. (Create the gvp section if it
does not exist.)

454 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

5. Add the nic parameter that corresponds nic.ethX parameter.


6. If not configured by default, edit the nic.upvalue parameter as follows:
nic.upvalue = “up”
7. If not configured by default, edit the nic.linkattribute parameter as
follows:
nic.linkattribute = “MII Status:”
8. Edit the nic.eth0 parameter, as follows:
nic.eth0 = "/proc/net/bonding/bond0"

Note: Configure the nic.eth0 parameter value as shown in Step 8 even


when Simple Virtual IP failover is used. If the file cannot be read,
the NIC status is queried directly by default during NIC detection.

9. Add the nic.eth1 parameter, as follows:


nic.eth1 = "/proc/net/bonding/bond0"

Note: If Simple Virtual IP failover is used, configure the nic.eth1


parameter as follows (where “” represents an empty string):
nic.eth1 = “”

10. If more than two NICs exist, configure the nics option value to 0 1.

Note: The instructions in Step 8, 9, and 10 are based on the assumption


that the chosen network interfaces are numbered 0 and 1. If this
configuration does not match the actual interface numbers in your
system, change the values accordingly.

11. Save the changes.

End of procedure

Next Steps
• Execute the INIT file on each Resource Manager host. See “Executing
NLB Mode” on page 439.

Creating Alarm Reaction Scripts, Conditions, and Reaction


Applications
When an active Resource Manager goes down, but does not stop it's virtual IP,
and then the backup Resource Manager becomes active and starts it's virtual IP,
the two systems will claim the virtual IP. Therefore, when a system sends an

Deployment Guide 455


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

ARP query to determine where the virtual IP can be reached, it might obtain or
use the response from the system with the inactive Resource Manager.
To ensure this does not occur, complete each task in the Task Summary:
Configuring the Resource Manager to Use Alarm Scripts on both the primary
and backup Resource Manager instances.

Note: Alternatively, you can use a wizard in Genesys Administrator to


complete the first two tasks in the Task Summary table. See
Procedure: Using the Create New Application Wizard, on page 328.
As you proceed through the wizard, enter the information in the
required fields as outlined in the procedures in this section.

Task Summary: Configuring the Resource Manager to Use Alarm Scripts

Objective Related procedure and actions

1. Create a new Third Party Server See Procedure: Creating the Third Party Server Template,
template. on page 456.

2. Create two Reaction Applications. See Procedure: Creating the Reaction Applications, on
page 457.

3. Create and configure two Alarm See Procedure: Creating and Configuring the Alarm
Reaction scripts. Reaction Scripts, on page 459.

4. Create two Alarm Conditions to send See Procedure: Creating an Alarm Condition for RM
an alarm when either instance of the stopped intentionally, on page 461.
Resource Manager is stopped.

5. Create two Alarm Conditions to send See Procedure: Creating an Alarm Condition for RM
an alarm when either instance of the stopped unexpectedly, on page 463
Resource Manager stops unexpectedly.

Procedure:
Creating the Third Party Server Template

Purpose: To create a Third Party Server template to use for the Reaction
Applications (created in the next procedure).

Start of procedure
1. Log in to Genesys Administrator.
2. On the Provisioning tab, select Provisioning > Environment >
Application Templates.
3. Click New.

456 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

4. On the Configuration tab, populate the following fields as shown here (see
also Figure 35):
• Name: Third Party Server
• Type: Third Party Server
• Version: 1.0

Figure 35: Third Party Server Template Configuration

5. Click Save & Close.

End of procedure

Next Steps
• Create the Reaction Applications. See Procedure: Creating the Reaction
Applications.

Procedure:
Creating the Reaction Applications

Purpose: To create the Reaction Applications that stops the NIC (the virtual
IP interface) on the Resource Manager that is down (intentionally or
unintentionally).

Start of procedure
1. In Genesys Administrator, go to Provisioning > Environment >
Applications.
2. Click New.

Deployment Guide 457


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

3. On the Configuration tab, in the General section, populate the following


fields as shown here (see also Figure 36):
• Name: stop_pri_VIP or stop_bac_VIP
• Application template: Third Party Server
4. In the Server Info section, populate the following fields as shown here
(see also Figure 37 on page 459):
• Host: <Primary RM host object> or <Backup RM host object> (Add
the name of the primary or backup Resource Manager host object.)
• Listening Ports: <Port Number> (Add a default unused port, typically
in the 70xx range.)
• Working Directory: <RM bin directory> (Add the actual Resource
Manager bin directory.)
• Command Line: ./NLB.bat
• Command Line Arguments: disable 2 (for stop_pri_VIP) or disable 1
(for stop_bac_VIP)

Figure 36: General Section—Reaction Application

458 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

Figure 37: Server Info Section—Reaction Application

5. Click Save & Close.

End of procedure

Next Steps
• Create the Alarm Scripts. See Procedure: Creating and Configuring the
Alarm Reaction Scripts, on page 459.

Procedure:
Creating and Configuring the Alarm Reaction Scripts

Purpose: To configure the Alarm Reaction scripts that cause the Reaction
Applications to be run when the Alarm Reaction script is called.

Start of procedure
1. In Genesys Administrator, go to Provisioning > Environment > Scripts.
2. Click New.
3. On the Configuration tab, in the General section, populate the following
fields as shown here (see also Figure 38 on page 460):
• Name: pri_rm_not_running or bac_rm_not_running
• Script Type: Alarm Reaction
4. Click Save & Close.

Deployment Guide 459


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

Configuring Alarm Scripts


5. In the list of Scripts, click (to highlight) the Alarm script you created in
Step 3 on page 459.
6. In the Tasks pane, click Script Wizard and enter the following in each
step of the wizard (see also Figure 39):
• Tenant and Name: Select the applicable tenant.
• Alarm Reaction Type: Start a specified application
• Alarm Reaction Details: stop_pri_VIP or stop_bac_VIP (See
Procedure: Creating the Reaction Applications, on page 457.)

Figure 38: General Section—Scripts

Figure 39: Alarm Reaction Wizard

7. When the wizard is complete, click Finish.

End of procedure

460 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

Next Steps
• Create the Alarm Conditions. See Procedure: Creating an Alarm Condition
for RM stopped intentionally.

Procedure:
Creating an Alarm Condition for RM stopped
intentionally

Purpose: To create an Alarm condition under which an Alarm script is


activated when the Resource Manager is stopped intentionally.

Start of procedure
1. In Genesys Administrator, go to Provisioning > Environment > Alarm
Conditions.
2. Click New.
3. On the Configuration tab, in the General section, populate the following
fields as shown here (see also Figure 40 on page 462):
• Name: rm_pri_stopped or rm_bac_stopped
• Description: primary RM was manually stopped or backup RM was
manually stopped
• Detect Clearance Timeout: 1 (change the default value from 86400)
• Detect Log Event ID: 5091
• Detect Selection Mode: Select by Application (from drop-down
menu)
• Detect Application: Enter primary or backup Resource Manager
Application object (the actual Resource Managers, not the reaction
objects).
4. In the Scripts section, populate the following fields as shown here (see
also Figure 41 on page 462):
• Click Add in the Reaction Scripts: field to add pri_rm_not_running or
bac_rm_not_running. (See Procedure: Creating and Configuring the
Alarm Reaction Scripts, on page 459.)

Deployment Guide 461


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

Figure 40: General Section—Alarm Condition (Stopped)

Figure 41: Script Section—Alarm Condition (Stopped)

5. Click Save & Close.

End of procedure

Next Steps
• Provision the Alarm Conditions. See Procedure: Creating an Alarm
Condition for RM stopped unexpectedly.

462 Genesys Voice Platform 8.1


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

Procedure:
Creating an Alarm Condition for RM stopped
unexpectedly

Purpose: To create an Alarm condition under which an Alarm script is


activated when the Resource Manager is stopped unexpectedly.

Start of procedure
1. In Genesys Administrator, go to Provisioning > Environment > Alarm
Conditions.
2. Click New.
3. On the Configuration tab, in the General section, populate the following
fields as shown here (see also Figure 24 on page 374):
• Name: rm_pri_down or rm_bac_down
• Description: primary RM stopped unexpectedly or backup RM stopped
unexpectedly
• Detect Clearance Timeout: 1 (change the default value from 86400)
• Detect Log Event ID: 5064
• Detect Selection Mode: Select by Application (from drop-down
menu)
• Detect Application: Enter primary or backup Resource Manage
Application object (the actual Resource Manager instances, not the
reaction objects).
4. In the Scripts section, populate the following fields as shown here (see also
Figure 25 on page 374):
• Click Add in the Reaction Scripts: field to add pri_rm_not_running or
bac_rm_not_running. (See Procedure: Creating and Configuring the
Alarm Reaction Scripts, on page 459.)

Deployment Guide 463


Appendix E: Resource Manager High Availability Resource Manager HA (Linux)

Figure 42: General Section—Alarm Condition (Stopped Unexpectedly)

Figure 43: Script Section—Alarm Condition (Stopped Unexpectedly)

5. Click Save & Close.

End of procedure

Next Steps
• No further steps are required.

464 Genesys Voice Platform 8.1


Appendix

F Reporting Server High


Availability
This appendix describes how to configure both the Genesys Voice Platform
(GVP) Reporting Server hosts and the Configuration Database to achieve High
Availability (HA) on both Windows and Linux operating systems. It contains
the following sections:

Overview, page 465
 Reporting Server HA Segregated Solution, page 467

Reporting Server HA Shared Solution, page 468

Overview
Configure the Reporting Server for high availability by using one of two
models—the Shared Storage Solution or the Segregated Solution:
• Shared Storage Solution—Both instances of the Reporting Server are
connected to a shared storage solution, but only one instance has exclusive
access to the ActiveMQ data message store (receive, queue, and, dequeue
data from Reporting Clients).
• Segregated Solution—Each instance of the Reporting Server uses an
independent ActiveMQ data message store. However, only the server that
is designated as primary activates its message store.
For more information about how the Reporting Server works when it is
configured for HA, see “High Availability and Scalability” on page 85.

Additional Considerations
When the Reporting Server is configured to provide High Availability, the
following should be considered:

Deployment Guide 465


Appendix F: Reporting Server High Availability Overview

For a Segregated Solution:


• When a Reporting Server fails, the data remaining in its queue is not made
available for reporting purposes until the next time that the Reporting
Server gains Primary status.

For a Shared Storage Solution:


• When the ActiveMQ message store is clustered, the ActiveMQ broker does
not start if another Reporting Server in the cluster is in primary mode
(holding an exclusive lock on the message store). The inactive Reporting
Server in the cluster is considered to be in backup mode.
• The two-node HA Shared Solution uses Windows Clustering for Windows
Server 2003. Before you begin setting up the this HA solution, Genesys
recommends that administrators read the Guide to Creating and
Configuring a Server Cluster Under Windows Server 2003—specifically,
the section that describes how to set up the two-node cluster.
• The tasks that are described in the Task Summary: HA Shared Solution, on
page 468, are based on the assumption that a Direct-Attached Storage
(DAS) disk array is the device that is being used for shared storage;
however, a Storage Area Network (SAN) or other similar shared file
system can be used.
• Ensure that the two HA servers have identical hardware and that each
server has two network interface cards (NIC).
• The Reporting Servers that are used in the cluster must be dedicated
servers, and they must not be installed with any of the other GVP
components. In addition, the DBMS host that is used by the Reporting
Server must be installed on a separate host.

For a Segregated or Shared Solution:


• If the primary server fails and switchover occurs, up to five (5) minutes of
VAR summary data might be lost because the VAR data is held in memory
and the JVM heap is not currently clustered or replicated. (This does not
occur when the switchover is done manually.)
• When you are creating the Reporting Server Applications, use the same
template (version) for both objects.
• In the Server Info section of both Reporting Server Applications:

Specify the host.

In the Listening Port field, enter the default port number (61616).

466 Genesys Voice Platform 8.1


Appendix F: Reporting Server High Availability Reporting Server HA Segregated Solution

Notes: The tasks that are described in the Task Summary: HA Segregated
Solution and the Task Summary: HA Shared Solution, on page 468
begin with the assumption that the Reporting Server database and the
prerequisites for both of the Reporting Servers in the solution are
installed. For more information about the Reporting Server
prerequisites, see “Prerequisites” on page 207.

Reporting Server HA Segregated Solution


Complete the tasks that are required to setup and configure a two-node HA
Segregated Solution for the Reporting Server. See Task Summary: HA
Segregated Solution.

Task Summary: HA Segregated Solution

Objectives Related Procedures and Actions

Install the first Reporting Server This server is known as RS_Server1.


For the VP Reporting Server Parameters, enter the information for
the Reporting Server database:
• DB Server Host
• DB Server Port—typically 1433
• Database Name
• User Name
• Password

Install the second Reporting This server is known as RS_Server2.


Server For the VP Reporting Server Parameters, enter the information
for the Reporting Server database (use the same database as for
RS_Server1):
• DB Server Host
• DB Server Port—typically 1433
• Database Name
• User Name
• Password

Create the connections Connect the Resource Manager, Media Control Platform, and Call
Control Platform to the Reporting Server—RS_Server1.
See Procedure: Creating a Connection to a Server, on page 263.

Configure the backup server In the Server Info section of the RS_Server1 Application, enter
RS_Server2 in the Backup Server field.

Deployment Guide 467


Appendix F: Reporting Server High Availability Reporting Server HA Shared Solution

Reporting Server HA Shared Solution


Complete the tasks that are required to setup and configure a two-node HA
Shared Solution for the Reporting Server. See Task Summary: HA Segregated
Solution.

Task Summary: HA Shared Solution

Objectives Related Procedures and Actions

Complete the preliminary setup 1. Install the DBMS server—either Microsoft SQL or Oracle 11g—
on a host that is separate from the Reporting Server host.
See “Reporting Server Database” on page 304.

2. Install the Reporting Server on two hosts with Windows Server


2003 Enterprise Edition, Service Pack 2 (or a similar OS with
cluster support). See “Installing GVP by Using the Wizard” on
page 238.
Ensure that the drive letter and the path to the installation
directory are the same on both servers.

3. On each of the two Reporting Server hosts, designate a shared


drive for the Quorum disk and a separate shared drive for the
JMS data directory.
The Quorum disk is described in the Guide to Creating
and Configuring a Server Cluster Under Windows Server
2003.

Create and install a cluster 1. Use the two Reporting Server hosts to install a two-node
Windows Cluster as described in the Guide to Creating and
Configuring a Server Cluster Under Windows Server 2003.

a. Configure the cluster by first creating the shared disk resources


(one for the Quorum disk and one for the JMS data directory).

b. Assign the shared disk resources to the same Cluster Resource


group.

c. Take note of the cluster host name. It will be entered as the


Host for the first Reporting Server Application for the
cluster. See Steps 1 and 2 in the Configure the hosts in
Genesys Administrator section of this table.

d. When you are setting up the cluster, if you receive a message


that the Quorum disk cannot be located, refer to Article IDs
888025 and 331801 on the Microsoft support website for more
information.

468 Genesys Voice Platform 8.1


Appendix F: Reporting Server High Availability Reporting Server HA Shared Solution

Task Summary: HA Shared Solution (Continued)

Objectives Related Procedures and Actions

Create a generic cluster 1. Using the New Resource Wizard in Windows Cluster
application Administrator, create a generic application for the Reporting
Server.

a. Obtain the command-line arguments and the path to the


Reporting Server installation directory from the properties of
the Reporting Server Application in Genesys Administrator:
— On the Provisioning tab, select Environment >
Applications.
— Double-click the Reporting Server Application you
want to view.
— On the Configuration tab, find the command-line
arguments and the path to the installation directory in
the Server Info section.

b. In Cluster Administrator console tree, open the Groups folder.

c. In the details pane, click the group that owns the shared disk to
be used for the JMS data.

d. From the File menu, select New > Resource.

e. In the New Resource Wizard, enter the following information:


— Name—Enter Reporting Server.
— Description—Enter a description that identifies the
Reporting Server.
— Resource type—Select generic application
resource type.
— Group—Select the group with the shared disks

f. In the next pane of the wizard, add the two Reporting Server
cluster nodes as possible owners of the resource.

Deployment Guide 469


Appendix F: Reporting Server High Availability Reporting Server HA Shared Solution

Task Summary: HA Shared Solution (Continued)

Objectives Related Procedures and Actions

Create a generic cluster g. In the Available resources list, add the shared disk used as a
application (continued) dependency for the JMS data.

h. In the Generic Application Parameters pane, enter the


command line including arguments—for example:
C:\<java_bin_path>\java -Xmx512m -jar ems-rs.jar
-app "<RS_app_name>" -host <MF_host_name> -port
<MF_port>
Issue the command java -Xmx512m -jar ems-rs.jar directly,
instead of through the rs_startup.bat script that is used by
Genesys Administrator.

i. For the Current directory, enter the full path to the Reporting
Server installation directory—for example:
C:\Program Files\GCTI\<rs_dir>\

Configure the hosts in Genesys 1. Use the cluster host name to create a host in Genesys
Administrator Administrator. See Procedure: Configuring a Host in Genesys
Administrator, on page 233.

2. Edit the properties of the first Reporting Server Application.

a. In the Host field of the Server Info section, enter the cluster
host name.

b. Configure the JMS Data directory. On the Options tab, for the
activemq.dataDirectory option (messaging section), enter
the path to the activeMQ data directory on the shared JMS
drive—for example:
<JMS_shared_disk_drive>/data/activemq
The second Reporting Server host in the cluster does not require
any additional configuration.

3. Use Windows Cluster Administrator to start and stop the


Reporting Server hosts in the cluster.

Note: Genesys recommends that you use the Windows Cluster Administrator
(not Genesys Administrator) to start and stop the Applications when
the Reporting Server is set up in a cluster.

470 Genesys Voice Platform 8.1


Appendix

G HTTP Caching and


Performance Planning
This appendix describes how HTTP caching works in Genesys Voice Platform
(GVP) and provides information about how to configure caching to improve
GVP performance.
It contains the following section:

HTTP Caching in GVP, page 471

Cache Control, page 473
 Configuration Recommendations, page 475

HTTP Caching in GVP


HTTP caching is an important aspect of GVP deployment planning, because it
has significant impact on the performance, scalability, and robustness of the
deployment. Properly designed caching rules govern properties such as,
freshness and cacheability. These rules enable the majority of HTTP requests
to be fulfilled by the cache, while limiting the number of HTTP GET requests to
those that are sent when the resource cannot be cached, cannot be found in the
cache, or the expired cache entry requires revalidation. As a result, caching
lessens the load on the HTTP server, reduces network traffic, improves fetch
response time, and increases fault-tolerance if the HTTP server becomes
unavailable.
GVP can perform the caching function itself by using the Fetching Module’s
in-memory caching or the Squid Caching proxy (See “GVP Caching” on
page 67), or it can use an external server—a caching appliance, or a web proxy
server.

Deployment Guide 471


Appendix G: HTTP Caching and Performance Planning HTTP Caching in GVP

Caching Within the Media and Call Control Platforms


The implementation of HTTP caching on the Media Control Platform and Call
Control Platform complies fully with the HTTP 1.1 specification. When the
Media Control Platform or Call Control Platform make an HTTP request, the
platform handles the request in one of the following ways:
• The requested resource is not found in the cache. The Media Control
Platform or Call Control Platform sends an HTTP GET request, and the
HTTP server returns an HTTP response. If the response is cacheable, it is
added to the cache.
• The requested resource is found in the cache, and the cache meets all the
cache freshness requirements. The cache is used to satisfy the request, and
an HTTP GET request is not sent.
• The requested resource is found in the cache, but it does not satisfy the
freshness requirements. The Media Control Platform or Call Control
Platform sends a conditional HTTP GET request, which contains an
If-Modified-Since header, to validate the cache. The platform also sends
the E-Tag header if the E-Tag header is provided in the cached HTTP
response.

If the resource has not changed, the HTTP server returns an HTTP 304
response code. The HTTP response does not contain a message body,
and the Media Control Platform or Call Control Platform uses the
cache to satisfy the request.
 If the resource has changed, the HTTP server returns a new HTTP
response. The Media Control Platform or Call Control Platform
removes the old cache entry and, if the new response is cacheable, adds
it to the cache.

Controlling Cache Size


The in-memory cache has a limited size. Therefore, Genesys recommends that
you use the following Media Control Platform and Call Control Platform
configuration options to control the size of the cache, the size of each cache
entry, and the number of cache entries:
• [fm]cachemaxsize
• [fm]cachemaxentrysize
• [fm]cachemaxentrycount

472 Genesys Voice Platform 8.1


Appendix G: HTTP Caching and Performance Planning Cache Control

Internally, the platform manages cache entries in an ordered list. A cache entry
is moved to the front of the list when it is being accessed, and the cache entry
that was used least recently is removed when the cache runs out of space.

Cache Control
You can apply cache control settings on either the server side or the client side.
In general, it is not necessary to apply the settings on both sides. The decision
is usually based on system access policies and maintenance considerations. For
example, an application developer who does not have control of the web server
settings must apply the settings on the client side.

Server-Side Cache Control


HTTP servers, such as Microsoft Internet Information Service (IIS) and
Apache, enable you to apply the following cache control settings to the HTTP
resources:
• Expires immediately.
• Expires after a specific amount of time—for example, after 5 minutes.
• Expires at a specific date and time—for example, May 2, 2011 at 9:00 AM.
• Expires a specific amount of time after the content was last modified. (Not
currently supported by IIS.)
Based on these settings, the HTTP Server will add either an Expires header, or
a Cache-Control: max-age header to the HTTP response. The Expires header
indicates that the response will expire at the specified time, and the
Cache-Control: max-age header indicates that the response will expire after the
max-age amount of time, which is expressed in seconds.

Note: If the Media Control Platform or Call Control Platform receives an


HTTP response with both the Expires and Cache-Control: max-age
headers, the platform ignores the Expires header, in accordance with
the HTTP 1.1 specification.

Client-Side Cache Control


GVP uses properties or attributes that specify maximum age (maxage—see
page 474) or staleness (maxstale—see page 474) to implement cache control
by VoiceXML and CCXML applications.
VoiceXML and CCXML applications support the following cache control
properties or attributes:
VoiceXML • The audiomaxage/audiomaxstale properties or the maxage/maxstale
attributes of <audio>.

Deployment Guide 473


Appendix G: HTTP Caching and Performance Planning Cache Control

• The datamaxage/datamaxstale properties or the maxage/maxstale attributes


of <data>.
• The documentmaxage/documentmaxstale properties or the maxage/maxstale
attributes of <choice>, <goto>, <link>, <subdialog>, or <submit>.
• The grammarmaxage/grammarmaxstale properties or the maxage/maxstale
attributes of <grammar>.
• The scriptmaxage/scriptmaxstale properties or the maxage/maxstale
attributes of <script>.
• The maxage/maxstale SIP REQUEST-URI parameters for the initial
VoiceXML page.
CCXML • The maxage/maxstale attributes of <createccxml>, <fetch>,
<dialogprepare>, <dialogstart>, or <script>.
• The maxage/maxstale parameters in the HTTP POST request to the
createsession processor.
• The maxage/maxstale SIP REQUEST-URI parameters for the initial CCXML
page.

Maxage and Maxstale Attributes


Maxage • Maxage—Indicates that the client does not use cached content that is older
than the specified time (in seconds). Setting the maxage attribute to a
non-zero value enables you to force the platform to get a fresh copy of a
resource before the cached copy expires. A fresh copy can be
unconditionally requested by setting maxage value to 0.

Note: If the client specifies the maxage attribute, and the cache already
contains an expiration time that is calculated based on the Expires
or Cache-Control: max-age header from the HTTP response, the
more restrictive rule (in other words, the rule that results in an
earlier expiration time) takes effect.

Maxstale • Maxstale—Indicates that the document does not use cached content that
exceeds its expiration time by the specified amount of time (in seconds).
When the maxstale attribute is used, an expired cache that is not too stale
(according to the rules of HTTP 1.1) can be used. For example, an author
who does not have direct server-side control of the expiration dates of large
static files can avoid unnecessary fetching by allowing cached copies to be
used after expiration.
The maxage or maxstale attribute value is first used to calculate the freshness
of a cache entry. If the cache entry is not fresh enough, the maxage or maxstale
attribute value is also sent in the Cache-Control header of the HTTP request,
so that the HTTP proxy and server can generate the response, based on these
settings.

474 Genesys Voice Platform 8.1


Appendix G: HTTP Caching and Performance Planning Configuration Recommendations

Non-Cacheable Substrings
The Media Control Platform and Call Control Platform support the
[fm]no_cache_url_substring configuration option, which defines a
comma-delimited list of substrings. If an HTTP REQUEST-URI parameter
contains any of these substrings, its response is not cached. The default list of
non-cacheable substrings is:
cgi-bin,jsp,asp,?

Configuration Recommendations
This section provides recommendations for configuring cache control for
dynamic and static resources.

Identifying Dynamic and Static HTTP Resources


HTTP resources are categorized as:
• Dynamic—Refers to those resources that generate responses, based on the
information that is provided in the HTTP requests. Java Server Page (JSP)
and Common Gateway Interface (CGI) pages are typical examples of
dynamic resources.
• Static—Refers to those resources that are predefined. The same content is
returned, regardless of the HTTP requests.
Static resources do get updated, but at different frequencies. For example,
each one of the following static resources requires a different update
frequency:
 An image file that contains a company logo might never change.

A video file that contains the latest movie trailers might be updated
anytime during normal business hours.
 A VoiceXML page that contains a dynamic TTS prompt—for example,
to play the customer’s account balance, might be updated occasionally
at any time.

Registration for ECC Variables—Static and Dynamic


The CTI Connector (ICM) supports static and dynamic registration of ECC
variables.

Static Registration of ECC Variables


When the CTI Configuration parameter [ICMC]eccvariablelist is populated
with the desired ECC variables, during start up the CTI Connector sends a
REGISTER_VARIABLES message to ICM for registration. The CTI Connector

Deployment Guide 475


Appendix G: HTTP Caching and Performance Planning Configuration Recommendations

support configuration of ECC variable names along with their tag values
(optional) as a comma-separated string.

Dynamic Registration of ECC Variables


If the new ECC variables are received (i.e., apart from those configured ECC
variables through [ICMC]eccvariablelist) during the call setup message from
the Media Gateway (incoming call), or during the call setup/transfer/end
message from the VXML application in MCP, then CTIC will register these
ECC variables on the fly, by a sending REGISTER_VARIABLES message.
The ECC variables format is mandatory:
ICMC_ECC_user<variable name>
...where CTIC submits to ICM only the user<variable name> portion as the
ECC variable name.

Squid HTTP Proxy


In GVP 8.1.1 and earlier releases, the Squid HTTP Proxy is a mandatory
component, because the Fetching Module relies on Squid to support
HTTP 1.0-compliant caching.
In GVP 8.1.2 and later releases, Squid is an optional component, because the
Media Control Platform and Call Control Platforms are integrated with an
in-process Fetching Module library that supports HTTP 1.1-compliant caching.
However, you might still want to take advantage of the features that are
provided by Squid, for example:
• The overall size of cacheable resources is too large to be stored entirely in
the in-memory cache of the GVP processes. Squid implements disk-based
caching, which is more suitable for caching large amounts of data.
• To make use of the sophisticated access control options that Squid
provides.
To use Squid or any other HTTP Proxy, use the [fm]http_proxy configuration
option to specify the IP address and port number of the proxy.

Cache Control Settings


As described in “Cache Control” on page 473, cache control settings can be
applied either on the server side or the client side.

Dynamic Resources
Never cache dynamic resources. Apply cache control settings for dynamic
resources in one of the following ways:
• Server side—Configure the resource to expire immediately.

476 Genesys Voice Platform 8.1


Appendix G: HTTP Caching and Performance Planning Configuration Recommendations

• Client side—Ensure that the [fm]no_cache_ url_substring configuration


option covers the URLs that are used by the dynamic resources.

Static Resources That Never Change


Use caching as much as possible to serve static content that never changes, and
avoid unnecessary conditional GET requests. Apply cache control settings for
static resources that never change in one of the following ways:
• Server side—Configure the cache to expire 30 days after access.
• Client side—Configure the maxage attribute to a large number, such as
2592000 (30 days, expressed in seconds).

Static Resources That Might Change (Visible Immediately)


If the resource update must be immediately visible to the client, enable the
response to be stored in the cache, and configure the maxage attribute with a
value of 0 to ensure that a conditional GET request is sent for validation. In
most cases, an HTTP 304 response is returned, which is still more efficient that
receiving a 200 OK response with the full HTTP message-body.
Apply cache control settings for static resources that might change and that
must be visible immediately in one of the following ways:
• Server side—Configure the cache to expire immediately after access.
• Client side—Configure the maxage attribute to a value of 0 (zero).

Static Resource That Might Change (Not Visible Immediately)


Determine the maximum acceptable delay before a resource update is detected,
to ensure that a conditional GET request is sent if the cache is older than the
amount of time that is configured in the MAX_DELAY attribute.
Apply cache control settings for static resources that might change and that are
not visible immediately in one of the following ways:
• Server side—Configure the cache to expire MAX_DELAY after access.
• Client side—Configure the maxage attribute to the value of the MAX_DELAY
attribute. Alternatively, if the HTTP response already specifies an Expires
or Cache-Control: max-age header value that cannot be changed on the
server, configure the maxage attribute with a value of 0 and the maxstale
attribute with the same value as the MAX_DELAY attribute.

Considerations and Usage Notes


Consider also, the following usage notes:
Synchronizing the • To function properly, the HTTP 1.1 caching algorithm requires that the
Clocks system clocks on the server, proxy, and client be synchronized. If the
clocks are not synchronized, the cache entry might expire sooner than
expected.

Deployment Guide 477


Appendix G: HTTP Caching and Performance Planning Configuration Recommendations

Gathering • After the cache control settings are implemented, there are several ways to
Statistics gather statistics for tuning and monitoring:

The Fetch dashboard in Genesys Administrator displays near real-time
Media Control Platform and Call Control Platform fetching statistics.
For more information about this dashboard, see the Genesys Voice
Platform 8.1 User’s Guide.

The fetch_end metrics log from the Media Control Platform and the
fetch_resp metrics log from the Call Control Platform contain
information about cache hits and misses, as well as other data. For
information about the metrics logs, see the Genesys Voice Platform 8.1
Metrics Reference and the Genesys Voice Platform 8.1 CCXML
Reference.

478 Genesys Voice Platform 8.1


Appendix

H GVP Call Flows


This appendix describes some basic Genesys Voice Platform (GVP) call flows.
It contains the following sections:

Sample Call Flows, page 479

Sample Call Flows


GVP can be deployed and provisioned in a number of ways to provide a range
of services for inbound calls, outbound calls, transfers, and conferences.
This section includes descriptions of the following call flows:
• Basic Inbound-Call Flow
• Basic Outbound-Call Flow on page 482
• Basic CTI Call Flow (Inbound) on page 484
• Basic CTI Connector/ICM Call Flows (Inbound) on page 486
• Basic PSTN Call Flow (Inbound) on page 490
• Basic PSTN Call Flows (Outbound) on page 491

Deployment Guide 479


Appendix H: GVP Call Flows Sample Call Flows

Basic Inbound-Call Flow


Figure 44 illustrates how GVP handles a typical inbound call:

Genesys Voice Platform


8

6
Media
Control 7
Speech
Media
3 Server*
Gateway 4 Platform MCP
Resource Fetching
Manager 9 Module
1 2 7 and Squid
5
SIP 4
9
CCP
Server Fetching Application
5
Call 6 Module Server*
9 Control and Squid
Platform*

Web GVP
Composer User Interface
Services GVP RS WS Reporting
Voice* Layer
User Server

Note: Additional connections not shown here include: *Optional in VPS 8.0
 TCP connections between GVP Reporting Server and RM, MCP, and CCP
 Connections between Management Layer and all other Genesys components

Figure 44: Typical Inbound-Call Flow

1. A call comes in to the Session Initiation Protocol (SIP) Server from an


external source through a third-party media gateway.
2. The SIP Server passes the call to the VP Resource Manager (SIP INVITE).
3. The Resource Manager determines what to do with the call. If the
Resource Manager accepts the call, it matches the call to an Interactive
Voice Response (IVR) Profile and selects a resource.
For more information about how the Resource Manager selects services
and resources, and how it enforces policies, see “How the Resource
Manager Works” on page 95.
4. The Resource Manager sends the call to a Media Control Platform or Call
Control Platform resource (SIP INVITE). When it forwards requests to
resources, the Resource Manager inserts additional SIP headers or
parameters, as required by the service prerequisites, service parameters,
and policies that have been configured for the IVR Profile. For more
information, see “Service-Request Modification” on page 106.
5. The Fetching Module for that Media Control Platform or Call Control
Platform resource fetches the required Voice Extensible Markup Language
(VoiceXML) or Call Control XML (CCXML) page from the application
server (file, Hypertext Transfer Protocol (HTTP), or Secure HTTP
(HTTPS) request).

480 Genesys Voice Platform 8.1


Appendix H: GVP Call Flows Sample Call Flows

6. The VoiceXML Interpreter (Next Generation Interpreter [NGI] or GVP


Interpreter [GVPi]) on the Media Control Platform or CCXML Interpreter
(CCXMLI) on the Call Control Platform interprets the page and executes
the application (VoiceXML or CCXML).
7. Depending on the application, the Media Control Platform or Call Control
Platform requests (through the Resource Manager) and uses additional
services:

For automatic speech recognition (ASR) or text-to-speech (TTS)
services, the Media Control Platform communicates with the
third-party speech application server by using Media Resource Control
Protocol (MRCPv1 or MRCPv2).

If the Call Control Platform requires conference or audio play/record
services, it obtains them from a Media Control Platform resource.
The Media Control Platform or Call Control Platform sends all requests for
services from other GVP components through the Resource Manager (SIP
or Network Announcement [NETANN]).
8. The Real-time Transport Protocol (RTP) media path is established between
the Media Control Platform and the SIP end user—in this example, the
originating caller through the media gateway.
9. The Resource Manager ends the call when one of the parties (the SIP end
user, the Media Control Platform, or the Call Control Platform)
disconnects, or when the call is transferred out of GVP (SIP BYE or REFER).

Deployment Guide 481


Appendix H: GVP Call Flows Sample Call Flows

Basic Outbound-Call Flow


Figure 45 illustrates how GVP handles a typical outbound call (without CPD).

Genesys Voice Platform


Media CTI
Gateway Connector
7 Media GVPi
Control Speech
IVR 9 Platform Server *
5 NGI (MRCP)
Server* Resource (VoiceXML) Fetching
(IVR XML) 7 Module
9 Manager
6 10 and Squid
5
7
SIP 10 Application
Call Server *
Server 8 Fetching
7 Control
7 10

Supplementary Module
10 4 Services Platform and Squid
6

Gateway (CCXML)
5

Trigger 2 11
External Application 3
Party (TA) 1
Genesys
Reporting Composer Administrator
Web
GVP RS WS Server Voice * (User Interaction
Services Layer)
User
Note: Additional connections not shown here: *Optional in Voice
 TCP connections between GVP Reporting Server and RM, MCP, and CCP.
Platform Solution .
 Connections between User Interaction Layer and all other Genesys components.

Figure 45: Typical Outbound-Call Flow

Call Triggers 1. Trigger applications send HTTP POST or GET requests to the
Supplementary Services Gateway (SSG) to request outbound-call
initiation. The request includes a Token that uniquely identifies the request.
Validation 2. The Supplementary Services Gateway performs validation on each
incoming request:
It checks the HTTP POST query string for the TenantName, for example,

<host>:9800/SSG?TenantName=<Name of the Tenant> and rejects the


request if the TenantName is not present.
It checks to ensure that all mandatory parameters are included in the

CreateRequest part (Token, IVRProfileName, Telnum, and


NotificationURL) and that it adheres to the defined XML schema.
After validation, a RequestID is created for each CreateRequest and

sent back to the trigger application in the HTTP response.


Success or Failure 3. The Supplementary Services Gateway sends a 200 OK single or bulk
Response response to the trigger application (depending on the whether the POST is a
single or bulk request).
If request validation is successful, the Supplementary Services

Gateway generates a unique (internal) ID or RequestID for each


CreateRequest and inserts the request into the database. The RequestID
and Token are passed back to the trigger application in the 200 OK
response with a SUCCESS ResponseType.

482 Genesys Voice Platform 8.1


Appendix H: GVP Call Flows Sample Call Flows


If validation fails when request is being parsed or when it is inserted
into the database, the Supplementary Services Gateway inserts a
FAILURE ResponseType in the 200 OK response.

If parsing or validation of bulk POST requests fails, the entire
request fails and the 200 OK response contains a ReasonCode and
Reason (or failure description).

If parsing or validation of bulk POST requests succeed, but an
operational error occurs—for example, the insertion of a specific
record into the database fails—the 200 OK response contains a
combination of SUCCESS and FAILURE ResponseTypes and the Tokens
for each request.
Request to SIP 4. After the Supplementary Services Gateway accepts the request, it parses
Server the XML data in the body of the POST request, and extracts the requests
and its parameters.
It invokes a TMakePredictiveCall T-Lib request to initiate the
outbound call through SIP Server.
5. SIP Server establishes two call legs; one to the Media Control Platform
through the Resource Manager and one to the external party.
It sends a SIP INVITE request to the Media Control Platform through
the Resource Manager and a SIP INVITE request to the external party.
6. Both the Resource Manager and external party send a 200 OK response.
Call Establishment 7. SIP Server sends an acknowledgement (ACK) to the Resource Manager and
the external party.

The two call legs are bridged and the RTP session begins between the
Media Server module of the Media Control Platform and the external
party.

Simultaneously, SIP Server sends a message to the Supplementary
Services Gateway indicating the call legs have been established and
bridged (EventEstablished with a CallStateOK extension).
8. The Supplementary Services Gateway sends a request to SIP Server
(TApplyTreatment) to execute the prepared dialog with the Media Server
(Media Control Platform).
9. SIP Server then sends an INFO MSML message to the Media Server (Media
Control Platform through Resource Manager).
It then sends a message back to the Supplementary Services Gateway

to indicate that the call treatment has been applied (TreatmentApplied


event).
10. At the end of the call the Resource Manager (for the Media Control
Platform) responds with 200 OK and BYE messages to the SIP Server.

SIP Server sends 200 OK and BYE messages to the external party.

SIP Server sends an EventReleased message to the Supplementary
Services Gateway.

Deployment Guide 483


Appendix H: GVP Call Flows Sample Call Flows

Call Treatment 11. After receiving the TreatmentApplied event from SIP Server, the
Applied Supplementary Services Gateway marks the call as a success in the
database. Later, when the database records are cleaned up, the
Supplementary Services Gateway sends this information to the trigger
application in a Notification URL, along with the Token, RequestID,
TenantName, IVRProfileName, CallUUID (unique ID that is generated by SIP
Server), and other details.

Basic CTI Call Flow (Inbound)


Figure 46 illustrates how GVP handles an inbound call through IVR server
while using the CTI Connector.

12
Genesys Voice Platform

13
Media 11
Media 10
Gateway 3 7
Speech
Resource Control MCP
8 Server*
Manager Platform Fetching
2 (VoiceXML) Module (MRCP)
1
SIP and Squid
13 8
Server 6 4 11 9

CTI Call 10 CCP


Control Fetching
Connector* 13 Module
IVR Platform 9 Application
and Squid
Server* 5 (CCXML) Server*
(IVR XML)

Web User Interaction


Reporting Composer Layer
Services GVP RS WS
Server Voice* (Genesys
User Administrator)

Note: Additional connections not shown here include:


*Optional in Voice
 TCP connections between GVP Reporting Server and RM, MCP, and CCP
 Connections between User Interaction Layer and all other Genesys components Platform Solution

Figure 46: Inbound-Call Flow Through the CTI Connector

1. A call comes in to the SIP Server from an external source through a


third-party media gateway.
2. The SIP Server passes the call to the VP Resource Manager (SIP INVITE).
3. The Resource Manager checks the SIP INVITE header. If the request is from
a resource that is provisioned to be managed by the Resource Manager, the
call is accepted, and a new session is created.
4. If the resource is a gateway resource that has the use-cti parameter set to
1, the Resource Manager routes the call to a CTI Connector Resource
group and selects a tenant or owner for the gateway resource.

484 Genesys Voice Platform 8.1


Appendix H: GVP Call Flows Sample Call Flows

The Resource Manager forwards the request to a member of the CTI


Connector group based on its load balancing scheme and adds the
gvp.rm.cti-call=1 parameter to the X-Genesys-GVP-Session-ID header.
5. When the CTI Connector receives the SIP INVITE from Resource Manager,
the CTI Connector (acting as a B2BUA) fetches ANI, DNIS, CONNID, and
UUID from the IVR Server.
6. The CTI Connector sends a new SIP INVITE to the Resource Manager with
extension SIP header configured with:

the user-part of the Request-URI set to DNIS

the user-part of the FROM header set to ANI

the user-part of the TO header set to DNIS
7. The Resource Manager searches the SIP INVITE from the CTI Connector
based on the sip-header-for-cti-dnis parameter and maps the call to an
IVR Profile, adding the gvp.rm.tenant-id parameter to the SIP header.
8. The Resource Manager sends the call to a Media Control Platform or Call
Control Platform resource (SIP INVITE).
9. The call proceeds as in Steps 4 to 8 in “Basic Inbound-Call Flow” on
page 480.
In addition to the services described in Step 7, the Media Control Platform
or Call Control Platform can request and use additional CTI Connector
services.
The NGI voice application uses send or receive extensions to invoke the
SIP INFO message between the MCP and the CTI Connector through
Resource Manager to request the following mid-call features:

GetData

SetData (Add and Replace)
 DeleteData (DeleteOne and DeleteAll)
 GetStat
 PeekStat

AccessNumGet

Note: The send and receive extensions are used by NGI voice
applications only (not by GVPi voice applications).

Three transfer types are supported using CTI—Blind, Bridge, or CTI


transfer. The NGI voice application sends a request to transfer to a route
DN to the CTI Connector with the Request URI parameter RouteRequest=1:
If the request is for a Blind transfer (SIP REFER), the VoiceXML session is
terminated when the transfer to a route DN is successful.
If the request is for a Bridge transfer (SIP INVITE), the outbound-call leg
from the Media Control Platform to the route DN is active until a
connection to an available agent is complete.

Deployment Guide 485


Appendix H: GVP Call Flows Sample Call Flows

10. The Resource Manager ends the call when one of the parties (the SIP
end-user, the Media Control Platform, the Call Control Platform, or the
CTI Connector) disconnects (SIP BYE) or when the call is transferred out of
GVP (SIP REFER).
11. If the CTI Connector initiates the SIP BYE message, the Resource Manager
passes interaction data back to the Media Control Platform in the BYE
message. The Resource Manager then processes a custom SIP header,
X-Genesys-GVP-CDR, and passes it on to the Reporting Server in the final
CDR for the call.

Basic CTI Connector/ICM Call Flows (Inbound)


The call flows in this section illustrate how the CTI Connector and Cisco
Intelligent Contact Management (ICM) framework handle call setup through
ICM’s Service Control Interface (SCI) and Call Routing Interface (CRI) for an
inbound call.

SCI Transfer Call Flow


Figure 47 depicts a basic inbound call transfer through ICM’s SCI interface.
5 G e n e sy s V o ic e P latfo rm
M edia 11
G atew a y IC M CTI
C onnector C o n n e cto r
M edia GVPi
8 C on trol S p e e ch
11
4
6
9

IV R P latfo rm S e rve r*
NGI (M R C P )
S erve r* (V oiceX M L ) F etching
7
(IV R X M L ) M od ule
R e so u rce
2 and S quid
9 M anager
3
S IP 1 10 7 A p p lica tio n
C a ll S e rve r*
S e rve r C on tro l F etching
S up p le m e n ta ry M od ule
P la tfo rm
11

S e rvic es and S quid


9

(C C X M L)
G atew a y
E xtern al
P arty
9 A gent

G en esys
R ep o rtin g C o m p o se r A dm in istrator
S e rve r V o ice* (U ser Interactio n
L ayer)

N ote: A dditional connections not show n here : *O p tio na l in V o ice


TC P connections betw een G V P R eporting S erve r an d R M , M C P , an d C C P .
P latfo rm S o lutio n.
C onnections betw een U ser Interaction Layer and all othe r G ene sys com po nents .

Figure 47: Inbound Call Transfer Through ICM’s Service Control Interface

1. A call comes in to the SIP Server from an external source through a


third-party media gateway.
2. The SIP Server passes the call to the Resource Manager using a SIP INVITE
message.

486 Genesys Voice Platform 8.1


Appendix H: GVP Call Flows Sample Call Flows

3. The Resource Manager checks the header in the INVITE message to


determine if the request is from a resource that is provisioned to be
managed by the Resource Manager. If it is, the call is accepted and a new
session is created.
4. If the resource is a gateway resource that has the use-cti configuration
option set to 2, the Resource Manager routes the call to a CTI Connector
resource group and selects a tenant or owner for the gateway resource.
The Resource Manager forwards the request to a resource in the CTI
Connector group, based on its load balancing scheme, and then:

Adds the gvp.rm.cti-call=1 option to the X-Genesys-GVP-Session-ID
header.

Adds all of the CTI-related service parameters that are configured in
the IVR Profile. (For example, cti.icm.enableBridgeXfer,
cti.icm.ScriptMapping.)

Adds the “gvp-tenant-id=<tenant name>” in the Request-URI
parameter. (Where <tenant name> is the name of the tenant that to
which the call belongs.)
5. When the CTI Connector receives the INVITE message from Resource
Manager, the CTI Connector (acting as a B2BUA) interacts with the ICM
and waits for its instructions, either to execute the scripts, transfer the call
to an agent, or release the call.
6. After receiving a Script_Execution request (which includes the scriptID)
from the ICM:

The CTI Connector generates a new SIP dialog towards the Resource
Manager.
7. The Resource Manager sends the call to the Media Control Platform or
Call Control Platform resource using an INVITE message.

The call proceeds as in Steps 4 to 8 in “Basic Inbound-Call Flow” on
page 480.
When script execution is completed, the result (either success or
failure) is sent back to the ICM. The result might also include Caller
Entered Digits (CED), ICM call variables, or ECC variables.

The ICM might have multiple script execution requests before it send a
request to transfer the call.
8. When all the scripts are executed, the ICM instructs the CTI Connector to
initiate the transfer by returning the label and by specifying the type of
transfer:
 By default, the CTI Connector invokes a BLIND transfer to connect the
caller to an agent by using the REFER method on the initial caller leg.

In the instruction, the ICM indicates that the BRIDGE transfer is to be
used.
9. The CTI Connector then initiates a new SIP dialog towards an agent
(through the Resource Manager) and bridges it with the caller leg.

Deployment Guide 487


Appendix H: GVP Call Flows Sample Call Flows


If the ICM does not specify a BRIDGE transfer, the CTI Connector
checks the IVR Profile’s cti.icm.enableBridgeXfer configuration
option value to identify the type of transfer. If the configuration option
is enabled, the CTI Connector uses the BRIDGE transfer, otherwise it
uses the BLIND transfer.
10. The Resource Manager ends the call when either the SIP end-user, Media
Control Platform, or CTI Connector disconnects using a BYE message, or
when the call is transferred out of GVP using a REFER message.
11. After the call is terminated:

The CTI Connector informs the ICM of call termination.

The CTI Connector passes the call disposition, (COMPLETED_IN_IVR,
TRANSFERRED_TO_AGENT, or ABANDONED_IN_QUEUE) in the
X-Genesys-GVP-CDR custom SIP header to Resource Manager. The
Resource Manager then passes it to the Reporting Server in the final
CDR for the call.

Inbound Call Using CRI


Figure 48 depicts a basic inbound call transfer through ICM’s CRI interface.

5 G e n e s y s V o ic e P la tfo r m
M e d ia 9
G a te w a y IC M CTI
C o n n e c to r C o n n e c to r
M e d ia GVPi
7 C o n tro l S peech
4
5
6

S e rv e r*
7

IV R 6 P la tfo rm
NGI (M R C P )
S e rv e r* (V o ic e X M L ) F e tc h in g
5
(IV R X M L ) M o d u le
R e s o u rc e
2 a n d S q u id
7 M anager
3
S IP 1 8 5 A p p lic a tio n
C a ll S e rv e r*
S e rv e r C o n tro l F e tc h in g
S u p p le m e n ta ry M o d u le
S e rv ic e s P la tfo rm a n d S q u id
9
7

(C C X M L )
G a te w a y
E x te rn a l
P a rty
7 Agent

G enesys
R e p o rtin g C om poser A d m in is tra to r
S e rv e r V o ic e * (U s e r In te ra c tio n
L a y e r)

N o te : A d d itio n a l c o n n e c tio n s n o t s h o w n h e re : * O p tio n a l in V o ic e


 T C P c o n n e c tio n s b e tw e e n G V P R e p o rtin g S e rv e r a n d R M , M C P , a n d C C P .
P la tfo rm S o lu tio n .
 C o n n e c tio n s b e tw e e n U s e r In te ra c tio n L a y e r a n d a ll o th e r G e n e s y s c o m p o n e n ts .

Figure 48: Inbound Call Transfer Through ICM’s Call Routing Interface

1. A call comes in to the SIP Server from an external source through a


third-party media gateway.
2. The SIP Server passes the call to the Resource Manager using a SIP INVITE
message.
3. The Resource Manager checks the header in the INVITE message to
determine if the request is from a resource that is provisioned to be
managed by the Resource Manager. If it is, the call is accepted and a new
session is created.

488 Genesys Voice Platform 8.1


Appendix H: GVP Call Flows Sample Call Flows

4. If the resource is a gateway resource that has the use-cti configuration


option set to 2, the Resource Manager routes the call to a CTI Connector
resource group and selects a tenant or owner for the gateway resource.
The Resource Manager forwards the request to a resource in the CTI
Connector group, based on its load balancing scheme, and then:

Adds the gvp.rm.cti-call=1 option to the X-Genesys-GVP-Session-ID
header.

Adds all of the CTI-related service parameters that are configured in
the IVR Profile. (For example, cti.icm.enableBridgeXfer,
cti.icm.ScriptMapping.)

Adds the “gvp-tenant-id=<tenant name>” in the Request-URI
parameter. (Where <tenant name> is the name of the tenant that to
which the call belongs.)
5. When the CTI Connector receives the SIP INVITE from the Resource
Manager (acting as a B2BUA) it informs the ICM that a new call has
arrived and starts playing the VoiceXML application that is configured in
the IVR Profile, as follows:
CTI Connector generates a new SIP dialog towards Resource Manager.

The Resource Manager sends the call to a Media Control Platform
using a SIP INVITE message.

The call proceeds as in Steps 4 to 8 in “Basic Inbound-Call Flow” on
page 480.
The VoiceXML application can send Caller Entered Digits (CED),
ICM call variables, or ECC variables to CTI Connector that are passed
to the ICM.
6. After the VoiceXML application plays the IVR, it sends a requests to the
ICM and through a ROUTE request, determines which agent receives the
call.
7. The NGI voice application sends a TRANSFER request to the CTI Connector
with the ROUTE request in the Request-URI parameter set to 1. The CTI
Connector interacts with the ICM to obtain the final destination label, and
determines the next step, as follows:

If the request is made using a SIP REFER message, the CTI Connector
initiates a BLIND transfer using the REFER method on the caller leg.

If the request is made using a SIP INVITE message, the CTI Connector
initiates a new SIP dialog to the agent and bridges the call with it.
8. The Resource Manager ends the call when either the SIP end-user, Media
Control Platform, or CTI Connector disconnects using a BYE message, or
when the call is transferred out of GVP using a REFER message.
9. After the call is terminated:

The CTI Connector informs the ICM of call termination.

Deployment Guide 489


Appendix H: GVP Call Flows Sample Call Flows


The CTI Connector passes the call disposition, (COMPLETED_IN_IVR,
TRANSFERRED_TO_AGENT, or ABANDONED_IN_QUEUE) in the
X-Genesys-GVP-CDR custom SIP header to Resource Manager. The
Resource Manager then passes it to the Reporting Server in the final
CDR for the call.

Basic PSTN Call Flow (Inbound)


Figure 49 illustrates how GVP handles a typical inbound call from the PSTN
network.

Genesys Voice Platform


Speech
Media 8 7 Server*
Media
Control 6
Gateway (MRCP)
5 Squid
CTI
Platform Caching
Connector* 9 (VoiceXML) Proxy*
RTSP
4 Fetching Module Streaming
Server
IVR Resource 5
Server* Manager
(IVR XML) 9
4 4 Call
6 Application
Control Squid
3 5 5 Server*
SIP Supplementary Platform Caching
(CCXML) Proxy*
Server Services
Gateway* Fetching Module
2

PSTN
PBX/ACD 1 Web
Connector* Genesys
Administrator Composer Reporting Services
(User Interaction Voice* Server User
Layer)

Note: Additional connections not shown here: *Optional in Voice


 TCP connections between GVP Reporting Server and RM, MCP, and CCP.
Platform Solution.
 Connections between User Interaction Layer and all other Genesys components.

Figure 49: Inbound-Call Flow Through PSTN Connector

1. A call comes in from an external source through the TDM network, and
The PSTN Connector detects an inbound-call trigger (through the Dialogic
port).
2. The PSTN Connector converts the TDM signals to a SIP INVITE
message—adding the X-Genesys-GVP-IVR-port (used by the CTI
Connector), and X-Genesys-GVP-PSTNC-DBID custom headers before sending
it to SIP Server.
 If the prefix parameter is configured for the PSTN Connector Trunk
DN, then PSTN Connector also sends the X-Genesys-GVP-Trunk-Prefix
custom header in the INVITE message.
The RTP prefill information is also added in the SDP to enable
faster-than-real-time RTP from the Media Control Platform.
3. SIP Server passes the request to the Resource Manager (SIP INVITE).

490 Genesys Voice Platform 8.1


Appendix H: GVP Call Flows Sample Call Flows

4. When the Resource Manager receives the INVITE request, it passes it to the
Media Control Platform.
5. The call proceeds as in Steps 4 to 9 in “Basic Inbound-Call Flow” on
page 480.

Basic PSTN Call Flows (Outbound)


This section describes two basic outbound PSTN call flows.

Initiated by the Supplementary Services Gateway


Figure 50 illustrates how GVP handles a typical outbound call initiated by the
Supplementary Services Gateway to the PSTN network:

Genesys Voice Platform


Speech
Media Server*
Gateway CTI Media GVPi (MRCP)
Squid
Connector* Control
Caching
Platform Proxy*
NGI RTSP
(VoiceXML)
4, 2

IVR
5

Streaming
Server* Resource Fetching Module Server
3,

(IVR XML) 7
2 5
Manager 6,
4,
3, 7 Call
6, Control Squid
Application
SIP Supplementary Server*
Server Platform Caching
1 Services (CCXML) Proxy*
Gateway*
3, 4 2
Fetching Module
6, 4, 5
7
8
PSTN
Connector* Genesys
Administrator Composer Reporting Web
PBX/ACD (User Interaction Voice* Server Services
Layer) User

Note: Additional connections not shown here: *Optional in Voice


 TCP connections between GVP Reporting Server and RM, MCP, and CCP.
Platform Solution.
 Connections between User Interaction Layer and all other Genesys components.

Figure 50: Outbound-Call Flow Initiated by the Supplementary Service Gateway

1. The Supplementary Services Gateway triggers an outbound call through


the TLib interface to SIP Server.
2. SIP Server sends a request for an outbound call to both the PSTN
Connector and the Media Control Platform (through the Resource
Manager). In this case SIP Server acts as a third-party call controller.
3. When the Media Control Platform receives the request for outbound-call
initiation, it sends a SIP 200 OK message (along with SDP negotiation
information) to the Resource Manager.
4. SIP Server passes the SDP negotiation information (copied from the 200 OK
message) in an INVITE message to the PSTN Connector.

Deployment Guide 491


Appendix H: GVP Call Flows Sample Call Flows

5. The PSTN Connector sends a SIP 100 Trying message to the SIP Server to
indicate that call initiation is in progress

The PSTN Connector extracts the ANI from the FROM header of the
INVITE message. If the ANI is not specified, PSTNConnector is used as
the default ANI.
6. When the TDM call is in the alerting state, the PSTN Connector sends a
180 Ringing message back to the SIP Server.
7. When the call is established between the PSTN Connector and the
destination party, the PSTN Connector initiates the media session with the
Media Control Platform by sending a SIP 200 OK message, including an
X-Genesys-GVP-IVR-port custom header. If the PSTN Connector accepts
the SDP negotiation information from the initial INVITE, the 200 OK
contains SDP in the reply.

If the PSTN Connector is unable to complete the call setup, it sends a
SIP error code in the response to indicate the cause of the failure. For a
complete list of SIP error codes, see the Genesys Voice Platform 8.1
User’s Guide.
8. The Media Control Platform sends a SIP ACK message (through the
Resource Manager) to the PSTN Connector and the Media Control
Platform, and the two-way media session is established.
9. If the PSTN caller hangs up the session terminates and the Media Control
Platform sends a SIP BYE message (through the Resource Manager) to the
PSTN Connector.
10. The call is dropped and the Dialogic port is cleared on the PSTN side. The
PSTN Connector sends a SIP 200 OK to the Media Control Platform and
the call is released.

Resulting From an Inbound Call Transfer


Figure 51 describes how GVP handles a typical outbound call to the PSTN
network resulting from the transfer of an inbound call:

492 Genesys Voice Platform 8.1


Appendix H: GVP Call Flows Sample Call Flows

Genesys Voice Platform


4c Speech
Media Server*
Gateway CTI Media GVPi (MRCP)
Squid
Connector* 7 Control
Caching
Platform Proxy*
NGI RTSP
(VoiceXML)
IVR 4b Streaming

4
Server* Resource Fetching Module
4a Server

5
(IVR XML)
6 Manager
3 Call
Control Squid
Application
SIP Supplementary Server*
Server Platform Caching
Services (CCXML) Proxy*
Gateway*
Fetching Module
7 2
8a

PSTN
Connector* Genesys
1 Administrator Composer Reporting Web
PBX/ACD (User Interaction Voice* Server Services
8b Layer) User

Note: Additional connections not shown here: *Optional in Voice


 TCP connections between GVP Reporting Server and RM, MCP, and CCP.
Platform Solution.
 Connections between User Interaction Layer and all other Genesys components.

Figure 51: Outbound Call Flow Resulting From Inbound Transfer

1. A call comes in from an external source through the TDM network and
The PSTN Connector detects an inbound call trigger (through the Dialogic
port).
2. The call proceeds as in Steps 2 to 4 in “Basic PSTN Call Flow (Inbound)”
on page 490.
3. The Resource Manager sends the call to a Media Control Platform or Call
Control Platform resource (SIP INVITE). When it forwards requests to
resources, the Resource Manager inserts additional SIP headers or
parameters, as required by the service prerequisites, service parameters,
and policies that have been configured for the IVR Profile.
4. The call proceeds as in Steps 5 to 9 in “Basic Inbound-Call Flow” on
page 480.
5. When the Media Control Platform transfers the call, it generates an
outbound INVITE (or REFER) message to the Resource Manager, passing on
the X-Genesys-Trunk-Prefix header that was received in the inbound
INVITE message.
6. The Resource Manager applies the prefix to the user part of the Request
URI and the TO header of the outbound INVITE message (or to the Refer-To
header for the outbound REFER message), and sends it to SIP Server.
7. SIP Server searches all available Trunks DNs to find the PSTN Connector
DN that best matches the prefix to ensure the chosen PSTN Connector is
the same one that initiated the inbound call.

Deployment Guide 493


Appendix H: GVP Call Flows Sample Call Flows


If the value of the replace-prefix option is set to <empty string> in
the Trunk DN, SIP Server strips the prefix from the INVITE message
before sending it to the PSTN Connector.
8. The call can proceed in one of two ways, depending on the type of transfer:
a. For bridge transfers (INVITE from the Media Control Platform):
The PSTN Connector performs route-based dialing, or port-based

dialing, depending on how the VoiceXML application is configured,


and pass on an Authorization code if this information is specified in
the value of the X-Genesys-GVP-PSTNC-Data custom SIP header such
as, Route=n;PortDlgc=x-y;AuthCode=<code>.
The call proceeds as in Steps 5 to 10 in the “Initiated by the

Supplementary Services Gateway” on page 491


b. For blind transfers (REFER from the Media Control Platform):
The PSTN Connector initiates the appropriate blind transfer on the

network side and both call legs (TDM and SIP) are terminated.

494 Genesys Voice Platform 8.1


Appendix

I Specifications and
Standards
This appendix describes the specifications and standards that Genesys Voice
Platform (GVP) supports. It contains the following sections:

Specifications, page 495
 Related Standards, page 496

RFC 5552 Support, page 498

Specifications
The following specifications are published and maintained by the W3C Voice
Browser Working Group:
• VoiceXML Specification—W3C Voice Extensible Markup Language
(VoiceXML) 2.1, W3C Recommendation 19 June 2007 and W3C Voice
Extensible Markup Language (VoiceXML) 2.0, W3C Recommendation 16
March 2004
• Media Resource Control Protocol (MRCP) Specification—Requirements
for Distributed Control of Automatic Speech Recognition (ASR) Speaker
Identification/Speech Verification (SI/SV), and Text-to-Speech (TTS)
Resources (2005). MRCP version 1(MRCPv1) (2006).
• Speech Synthesis Markup Language Specification—W3C Speech
Synthesis Markup Language (SSML) Version 1.0, Recommendation, 7
September 2004
• Speech Recognition Grammar Specification—Speech Recognition
Grammar Specification Version 1.0, W3C Recommendation, 16 March
2004
• Semantic Interpretation for Speech Recognition—Semantic Interpretation
for Speech Recognition (SISR) Version 1.0, W3C Recommendation, 5 April
2007

Deployment Guide 495


Appendix I: Specifications and Standards Related Standards

• CCXML Specification—W3C Voice Browser Call Control: CCXML


Version 1.0, W3C Working Draft, 29 June 2005
The following specification and recommendation are published and maintained
by the International Telecommunications Union, Telecommunication
Standardization Sector (ITU-T):
• I.431 Specification—Layer 1 specifications for ISDN PRI networks using
either an E1 or T1 circuit. The I.431 standard represents the PRI physical
layer.
• Q931 Recommendation—ISDN user-network interface layer 3
specification for basic call control.

Related Standards
GVP is based on open standards. As a result, the platform provides complete or
subset support for many Requests for Comments (RFCs) that the Internet
Engineering Task Force (IETF) publishes and maintains. For more
information, see http://www.ietf.org.
The IETF standards that GVP supports include the following:
• RFC 1738 Uniform Resource Locators.
• RFC 1808 Relative Uniform Resource Locators.
• RFC 1867 Form-Based File Upload in HTML.
• RFC 2046 Multipurpose Internet Mail Extensions (MIME), Part Two:
Media Types.
• RFC 2109 HTTP State Management Mechanism.
• RFC 2190 RTP Payload Format for H.263 Video Streams.
• RFC 2388 Returning Values from Forms: Multipart/Form-Data.
• RFC 2326 Real Time Streaming Protocol (RTSP).
• RFC 2327 SDP: Session Description Protocol.
• RFC 2396 Uniform Resource Identifiers (URI): Generic Syntax.
• RFC 2429 RTP Payload Format for the 1998 Version of ITU-T Rec. H.263
Video (H263+).
• RFC 2474 Definition of the Differentiated Services Field (DS Field) in the
IPv4 and IPv6 Headers.
• RFC 2616 Hypertext Transfer Protocol—HTTP/1.1 (subset).
• RFC 2782 A DNS RR for specifying the location of services (DNS SRV).
• RFC 2806 URLs for Telephone Calls.
• RFC 2833 RTP Payload for DTMF Digits, Telephony Tones, and
Telephony Signals.
• RFC 2964 Use of HTTP State Management.

496 Genesys Voice Platform 8.1


Appendix I: Specifications and Standards Related Standards

• RFC 2965 HTTP State Management Mechanism.


• RFC 2976 The SIP INFO Method.
• RFC 3023 XML Media Types.
• RFC 3261 SIP: Session Initiation Protocol.
• RFC 3262 Reliability of Provisional Responses in the Session Internet
Protocol (SIP).
• RFC 3263 Session Initiation Protocol (SIP): Locating a SIP Server.
• RFC 3264 An Offer/Answer Model with the Session Description Protocol
(SDP).
• RFC 3265 SIP-Specific Event Notification.
• RFC 3266 SDP: Session Description Protocol.
• RFC 3267 Real-Time Transport Protocol (RTP) Payload Format and File
Storage Format for the Adaptive Multi-Rate (AMR) and Adaptive
Multi-Rate Wideband (AMR-WB) Audio Codecs.
• RFC 3323 A Privacy Mechanism for the Session Internet Protocol (SIP)
• RFC 3325 Private Extensions for the Session Internet Protocol (SIP) for
Asserted Identity within Trusted Networks.
• RFC 3326 The Reason Header Field for the Session Internet Protocol
(SIP).
• RFC 3455 Private Header (P-Header) Extensions to SIP.
• RFC 3515 The SIP REFER Method.
• RFC 3550 RTP A Transport Protocol for Real-Time Applications.
• RFC 3581 An Extension to the Session Initiation Protocol (SIP) for
Symmetric Response Routing.
• RFC 3611 RTP Control Protocol Extended Reports (RTCP XR)
• RFC 3624 The Media Gateway Control Protocol (MGCP) Bulk Audit
Package.
• RFC 3711 The Secure Real-Time Protocol (SRTP).
• RFC 3891 The Session Internet Protocol (SIP) “Replaces” Header.
• RFC 3892 The Session Initiation Protocol (SIP) Referred-By Mechanism.
• RFC 3984 RTP Payload Format for H.264 Video.
• RFC 3986 Uniform Resource Identifier (URI): Generic Syntax.
• RFC 4028 Session Timers in the Session Initiation Protocol (SIP).
• RFC 4240 Basic Network Media Services with SIP—GVP provides
support for conference services and dialogs.
• RFC 4244 An Extension to the Session Internet Protocol (SIP) for Request
History Information.
• RFC 4463 Media Resource Control Protocol (MRCP) for client control of
media resources, such as ASR and TTS.

Deployment Guide 497


Appendix I: Specifications and Standards RFC 5552 Support

• RFC 4566 SDP: Session Description Protocol.


• RFC 4568 Session Description Protocol (SDP) Security descriptions for
media streams.
• RFC 4733 RTP Payload for DTMF Digits, Telephony Tones, and
Telephony Signals.
• RFC 4753 Elliptic Curve Project (ECP) Groups for Internet Key Exchange
(IKE) and IKEv2.
• RFC 4867 RTP Payload Format and File Storage Format for the Adaptive
Multi-Rate (AMR) and Adaptive Multi-Rate Wideband (AMR-WB) Audio
Codes.
• RFC 5168 XML Schema for Media Control.
• RFC 5552 SIP Interface to VoiceXML Media Services.
• RFC 5707 Media Server Markup Language (MSML).
• Most extensions from the proposed IETF draft SIP Interface to VoiceXML
Media Services (http://tools.ietf.org/id/draft-burke-vxml-02.txt)—
See “RFC 5552 Support”.
The platform also includes complete support for many network-related
protocols and other protocols (for example, TCP/IP and SNMP). Contact
Genesys for more information.

RFC 5552 Support


This section describes various aspects of RFC 5552— previously named Burke
Draft (http://tools.ietf.org/html/rfc5552)—and features of the RFC 5552
that GVP 8.1.x supports.
RFC 5552 describes the Session Initiation Protocol (SIP) interface to
VoiceXML media services. This section covers the following RFC 5552
sections:
• 2—VoiceXML session establishment and termination
• 3—Media support on page 501
• 4—Returning data to the application server on page 502
• 5—Outbound calling on page 503
• 6—Call transfer on page 503

498 Genesys Voice Platform 8.1


Appendix I: Specifications and Standards RFC 5552 Support

Table 54 lists and describes RFC 5552 requirements, as well as the ones that
GVP 8.1 supports:

Table 54: RFC 5552 Support Requirements, by Section

Section Requirement Current support

VoiceXML session establishment and termination

2.1 Support for the following service-identification parameters: Supported


• voicexml.
• maxage [RFC2161].
• maxstale [RFC2616].
• method.
• postbody.
• ccxml [RFC4627].
• aai [RFC4627].

Support for incorrectly formed requests with the 4xx class response. Not supported

Support for repeated init-parameters that are rejected with the 400 Supported
Bad Request response.

Support for parameter URL-encoding. Supported

2.2 Support for 100 Trying, followed by a 200 OK response upon Supported
receipt of an INVITE request when a document has been fetched.
After the ACK is received, the application executes.

Support for optimization before sending the 200 OK response. Not supported

Support for the inability to accept INVITE requests, and to respond Supported
as defined by [RFC3261], with the exception of the following error
conditions:
• If the request does not conform to the specification, return a 400
Bad Request response.
• If the request does not include a voicexml parameter, and the
default page is not configured, return a 400 Bad Request and a
399 Warning header.

Deployment Guide 499


Appendix I: Specifications and Standards RFC 5552 Support

Table 54: RFC 5552 Support Requirements, by Section (Continued)

Section Requirement Current support

2.2 • If the Request-URI does not include a voicexml parameter, and Not supported
(continued) the VoiceXML Media Server does not elect to use a default page,
the VoiceXML Media Server must return a final response of 400
Bad Request, and it should include a Warning header that
contains a three-digit code of 399 and a human-readable error
message.
• If the VoiceXML document cannot be fetched or parsed, the
VoiceXML Media Server must return a final response of 500
Server Internal Error and should include a Warning header
that contains a three-digit code of 399 and a human-readable
error message.

Support for returning a 500 Server Internal Error with a 399 Supported
Warning header if the document cannot be fetched or parsed.

Support for large transport appropriate messages (such as TCP) Supported


when an INVITE request exceeds the MTU of the underlying
network.

2.3 Support for not exiting a VoiceXML application until a re-INVITE Supported
request with port information is sent, if any of the following
conditions are met: starting a Dialog-INVITE request without media;
a 200 OK with offered media; an ACK with media, but the media ports
are set to zero (0); or an INVITE request with SDP without media
lines, followed by a regular INVITE, 200 OK, or ACK flow.

Support for a re-INVITE request that disables media stream without Supported
affecting the executing VoiceXML application when the application
is running.

2.4 Support for the following session variables: Supported


• session.connection.local.uri.
• session.conection.remote.uri.
• session.connection.redirect.
• session.connection.protocol.sip.headers.
• session.connection.aai.
• session.connection.ccxml.

Support for evaluating the following session variables: Supported


• session.connection.protocol.name to sip.
• session.connection.protocol.version to 2.0.

500 Genesys Voice Platform 8.1


Appendix I: Specifications and Standards RFC 5552 Support

Table 54: RFC 5552 Support Requirements, by Section (Continued)

Section Requirement Current support

2.4 Support for use of the Supported


(continued) session.connection.protocol.sip.requesturi variable as an
associative array that is formed from the URI parameters.

• Support for use of the Supported


session.connection.protocol.sip.media variable as an array,
where each array element is an object that has the following
properties:
• type.
• direction.
• format.
Note: This parameter will be updated as the media values that are
involved in the session change.

2.5 Support for sending a 200 OK message in response to a BYE request, Supported
and then generating a connection.disconnect.hangup event.

Support for providing the value of the Reason header verbatim Supported
through the _message variable if a Reason header [RFC3326] is
present in the BYE request.
Note: Set sip.in.bye.headers to Reason.

Support for terminating a session with a BYE request when the Supported
VoiceXML application encounters a <disconnect> or <exit>
message, the VoiceXML application completes, or the VoiceXML
application has unhandled errors.

Media support

3.1 Support for the Offer/Answer mechanism of [RFC3960]. Supported

3.2 Support for early media streams, as described in [RFC3960]. Supported

3.3 Support for the use of a re-INVITE request to modify a media Supported
session.

Deployment Guide 501


Appendix I: Specifications and Standards RFC 5552 Support

Table 54: RFC 5552 Support Requirements, by Section (Continued)

Section Requirement Current support

3.4 Support for the following codecs: Supported


• G.711 mu-law and A-law using the RTP payload type 0 and 8—
Set mpc.codec to pcmu pcma.
• G722 to convert audio signals to uniform digital signals—Set
mpc.codec to g722.
• H.263 Baseline—Set mpc.codec to h263.
• H 264 Baseline—Set mpc.codec to h264.
• AMR-NB audio—Set mpc.codec to amr.
• AMR-WB audio—Set mpc.codec to amr-wb.
• Other codecs and payload formats—Set mpc.codec, as specified
for the various codecs.

Support for the following codecs: Not supported


• MPEG-4 video.
• MPEG-4 AAC audio.

3.5 Support for DTMF events [RFC4733]. Supported

Returning data to the application server

4.1 Support for returning data to the application server with an HTTP Supported
Post by using the <submit>, <subdialog>, or <data> elements.

4.2 Support for returning data to the application server by using the SIP Supported
expression or namelist attribute on the <exit> element, or the
namelist attribute on the <disconnect> element.

Support for encoding the expr or the namelist data in the BYE Supported
request body when encountering the <exit> or <disconnect>
element.

Support for including the expr or the namelist data in the 200 OK Not supported
response to a BYE request.

Support for sending a 100 Trying response to a BYE request Not supported
[RFC4320].

Support for use of the _reason reserved name to differentiate Supported


between a BYE result from a <disconnect> element and a BYE result
from an <exit> element.
For example, _reason = exit.

502 Genesys Voice Platform 8.1


Appendix I: Specifications and Standards RFC 5552 Support

Table 54: RFC 5552 Support Requirements, by Section (Continued)

Section Requirement Current support

4.2 Support for use of the _exit reserved name if the expr attribute is Supported
(continued) specified on the <exit> element, instead of the namelist attribute.
For example, _exit=<value>.

Outbound calling

5.0 Support for triggering outbound calls by using third-party call Supported
control [RFC3725].

Call transfer

6.1 Support for blind transfers with a REFER message on the original SIP Supported
dialog [RFC3515].
Note: Set sip.defaultblindxfer to REFER.

Support for terminating the session with a BYE message and Supported
generating the connection.disconnect.transfer event if a REFER
request is accepted with a 2xx response.

Support for the following form item variables and events, Supported
depending on the SIP response if the REFER is accepted with a
non-2xx response:
• 404 Not Found = error.connection.baddestination.
• 405 Method Not Allowed =
error.unsupported.transfer.blind.
• 503 Service Unavailable = error.connection.noresource.
• (No response) = network_busy.
• (Other 3xx/4xx/5xx/6xx) = unknown.

Support for appending the aai or aaiexpr attribute to the Refer_To Supported
URI as a parameter that is named aai.

Support for URL-encoding reserved characters as required for Supported


SIP/SIPS URIs [RFC3261].

6.2 Support for ejecting the callee if the bridged transfer is terminated. Supported

Support for appending the aai or aaiexpr attribute to the Refer_To Supported
URI in the INVITE as a parameter that is named aai.

Support for URL-encoding reserved characters as required for Supported


SIP/SIPS URIs [RFC3261].

Supporting for playing early media from the callee to the caller if Supported
the transferaudio attribute is omitted.

Deployment Guide 503


Appendix I: Specifications and Standards RFC 5552 Support

Table 54: RFC 5552 Support Requirements, by Section (Continued)

Section Requirement Current support

6.2 Support for setting the form attribute of the <transfer> request to Supported
(continued) noanswer after issuing a CANCEL request when connectiontimeout
expires.

Support for the following form item variables and events, Supported
depending on the SIP response if the INVITE is accepted with a
non-2xx response:
• 404 Not Found = error.connection.baddestination.
• 405 Method Not Allowed =
error.unsupported.transfer.blind.
• 408 Request Timeout = noanswer.
• 486 Busy Here = busy,
• 503 Service Unavailable = error.connection.noresource.
• (No response) = network_busy.
• (Other 3xx/4xx/5xx/6xx) = unknown.

Support for listening for speech or DTMF hotword results in a Supported


near-end disconnect.

Support for issuing a BYE if the call duration exceeds the maximum Supported
duration that is specified in the maxtime attribute.

6.3 Support for the following form item variables and events depending Supported
on the SIP response if the INVITE is accepted with a non-2xx
response:
• 404 Not Found = error.connection.baddestination.
• 405 Method Not Allowed =
error.unsupported.transfer.consultation.
• 408 Request Timeout = noanswer.
• 486 Busy Here = busy.
• 503 Service Unavailable = error.connection.noresource.
• (No response) = network_busy.
• (Other 3xx/4xx/5xx/6xx) = unknown.

Support for generating the connection.disconnect.transfer event Supported


when receiving a 200 OK response to a NOTIFY request.

Support for setting the VoiceXML input item variable to unknown Not supported
with the non-2xx response to the NOTIFY request.

504 Genesys Voice Platform 8.1


Supplements

Related Documentation
Resources
The following resources provide additional information that is relevant to this
software. Consult these additional resources, as necessary.

Management Framework
• Framework 8.1 Deployment Guide, which provides information about
configuring, installing, starting, and stopping Framework components.
• Framework 8.1 Genesys Administrator Deployment Guide, which provides
information about installing and configuring Genesys Administrator.
• Framework 8.1 Genesys Administrator Help, which provides information
about configuring and provisioning contact-center objects by using the
Genesys Administrator.
• Framework 8.1 Configuration Options Reference Manual, which provides
descriptions of the configuration options for Framework components.

SIP Server
• Framework 8.1 SIP Server Deployment Guide, which provides information
about configuring and installing SIP Server.

Genesys Voice Platform


• Genesys Voice Platform 8.1 User’s Guide, which provides information
about configuring, provisioning, and monitoring GVP and its components.
• Genesys Voice Platform 8.1 Genesys VoiceXML 2.1 Reference Help, which
provides information about developing Voice Extensible Markup
Language (VoiceXML) applications. It presents VoiceXML concepts, and
provides examples that focus on the GVP Next Generation Interpreter
(NGI) implementation of VoiceXML.

Deployment Guide 505


Related Documentation Resources

• Genesys Voice Platform 8.1 Legacy Genesys VoiceXML 2.1 Reference


Manual, which describes the VoiceXML 2.1 language as implemented by
the Legacy GVP Interpreter (GVPi) in GVP 7.6 and earlier, and which is
now supported in the GVP 8.1 release.
• Genesys Voice Platform 8.1 CCXML Reference Manual, which provides
information about developing Call Control Extensible Markup Language
(CCXML) applications for GVP.
• Genesys Voice Platform 8.1 Application Migration Guide, which provides
detailed information about the application modifications that are required
to use legacy GVP 7.6 voice and call-control applications in GVP 8.1.
• Genesys Voice Platform 8.1 Troubleshooting Guide, which provides
troubleshooting methodology, basic troubleshooting information, and
troubleshooting tools.
• Genesys Voice Platform 8.1 SNMP and MIBs Reference, which provides
information about all of the Simple Network Management Protocol
(SNMP) Management Information Bases (MIBs) and traps for GVP,
including descriptions and user actions.
• Genesys Voice Platform 8.1 Configuration Options Reference, which
replicates the metadata that is available in the Genesys provisioning GUI to
provide information about all of the GVP configuration options, including
descriptions, syntax, valid values, and default values.
• Genesys Voice Platform 8.1 Metrics Reference, which provides
information about all the GVP metrics (VoiceXML and CCXML
application event logs), including descriptions, format, logging level,
source component, and metric ID.
Genesys Voice Platform 8.1 Web Services API wiki, which describes the Web
Services API that the Reporting Server supports.

Voice Platform Solution


• Voice Platform Solution 8.1 Integration Guide, which provides information
about integrating GVP 8.1, SIP Server 8.1, and, if applicable, IVR Server.

Composer
• Composer 8.1 Deployment Guide, which provides installation and
configuration instructions for Composer.
• Composer 8.1 Help, which provides online information about using
Composer, an Integrated Development Environment used to develop
applications for GVP and Universal Routing.

506 Genesys Voice Platform 8.1


Related Documentation Resources

Open Standards
• W3C Voice Extensible Markup Language (VoiceXML) 2.1, W3C
Recommendation, 19 June 2007, which is the World Wide Web
Consortium (W3C) VoiceXML specification that GVP NGI supports.
• W3C Voice Extensible Markup Language (VoiceXML) 2.0, W3C
Recommendation, 16 March 2004, which is the W3C VoiceXML
specification that GVP supports.
• W3C Speech Synthesis Markup Language (SSML) Version 1.0,
Recommendation, 7 September 2004, which is the W3C SSML
specification that GVP supports.
• W3C Voice Browser Call Control: CCXML Version 1.0, W3C Working
Draft, 29 June 2005, which is the W3C CCXML specification that GVP
supports.
• W3C Semantic Interpretation for Speech Recognition (SISR) Version 1.0,
W3C Recommendation, 5 April 2007, which is the W3C SISR specification
that GVP supports.
• W3C Speech Recognition Grammar Specification (SRGS) Version 1.0,
W3C Recommendation, 16 March 2004, which is the W3C SRGS
specification that GVP supports.

Genesys
• Genesys Technical Publications Glossary, which ships on the Genesys
Documentation Library DVD and provides a comprehensive list of the
Genesys and computer-telephony integration (CTI) terminology and
acronyms that are 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 Customer Care website at http://genesyslab.com/support.
Information about supported operating systems 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
For additional system-wide planning tools and information, see the
release-specific listings of System Level Documents on the Genesys Customer
Care website, accessible from the system level documents by release tab in
the Knowledge Base Browse Documents Section.
Genesys product documentation is available on the:
• Genesys Customer Care website at http://genesyslab.com/support.

Deployment Guide 507


Related Documentation Resources

• Genesys Documentation Library DVD, which you can order by e-mail


from Genesys Order Management at [email protected].
• Genesys Online Documentation at docs.genesyslab.com.

508 Genesys Voice Platform 8.1


Related Documentation Resources Document Conventions

Document Conventions
This document uses certain stylistic and typographical conventions—
introduced here—that serve as shorthands for particular kinds of information.

Document Version Number


A version number appears at the bottom of the inside front cover of this
document. Version numbers change as new information is added to this
document. Here is a sample version number:
80fr_ref_06-2008_v8.0.001.00

You will need this number when you are talking with Genesys Customer Care
about this product.

Screen Captures Used in This Document


Screen captures from the product graphical user interface (GUI), as used in this
document, may sometimes contain minor spelling, capitalization, or
grammatical errors. The text accompanying and explaining the screen captures
corrects such errors except when such a correction would prevent you from
installing, configuring, or successfully using the product. For example, if the
name of an option contains a usage error, the name would be presented exactly
as it appears in the product GUI; the error would not be corrected in any
accompanying text.

Type Styles
Table 55 describes and illustrates the type conventions that are used in this
document.

Table 55: Type Styles

Type Style Used For Examples

Italic • Document titles Please consult the Genesys 8 Migration


• Emphasis Guide for more information.
• Definitions of (or first references to) Do not use this value for this option.
unfamiliar terms A customary and usual practice is one
• Mathematical variables that is widely accepted and used within a
particular industry or profession.
Also used to indicate placeholder text within
code samples or commands, in the special case The formula, x +1 = 7
where angle brackets are a required part of the where x stands for . . .
syntax (see the note about angle brackets on
page 510).

Deployment Guide 509


Related Documentation Resources Document Conventions

Table 55: Type Styles (Continued)

Type Style Used For Examples

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.

Square A particular parameter or value that is optional smcp_server -host [/flags]


brackets ([ ]) within a logical argument, a command, or
some programming syntax. That is, the
presence of the parameter or value is not
required to resolve the argument, command, or
block of code. The user decides whether to
include this optional information.

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.

510 Genesys Voice Platform 8.1


Index
Symbols device profiles. . . . . . . . . . . . . . . 168
assisted-service . . . . . . . . . . . . . . . . 32
[] (square brackets). . . . . . . . . . . . . . 510 AT&T conference transfer type . . . . . . . 154
< > (angle brackets) . . . . . . . . . . . . . 510 AT&T consult transfer type. . . . . . . . . . 154
<log> tags AT&T courtesy transfer type . . . . . . . . . 154
interface . . . . . . . . . . . . . . . . . . . 74 ATTCONFERENCE . . . . . . . . . . . . . 156
VAR . . . . . . . . . . . . . . . . . . . . . 74 ATTCONFERENCE transfer . . . . . . . . . 160
ATTCONSULT . . . . . . . . . . . . . . . . 156
ATTCONSULT transfer . . . . . . . . . . . 160
Numerics ATTCOURTESY . . . . . . . . . . . . . . . 156
ATTCOURTESY transfer . . . . . . . . . . 160
183 Session Progress . . . . . . . . . . . . 149
ATTOOBCONFERENCE . . . . . . . . . . 157
200 OK . . . . . . . . . . . . . . . . . 142, 149
ATTOOBCONSULT . . . . . . . . . . . . . 156
2xx SIP response code. . . . . . . . . . . . 114
ATTOOBCONSULT transfer . . . . . . . . . 160
404 Not Found . . . . . . . . . . . . . 100, 102
ATTOOBCOURTESY . . . . . . . . . . . . 156
408 Request Timeout . . . . . . . . . . . . 114
ATTOOBCOURTESY transfer . . . . . . . . 160
4xx SIP response code. . . . . . . . . . . . 114
attributes (<script> tag)
5xx SIP response code. . . . . . . . . . . . 114
charset . . . . . . . . . . . . . . . . . . 142
6xx SIP response code. . . . . . . . . . . . 114
attributes (CDR)
Call Control Platform . . . . . . . . . . . 195
A common set . . . . . . . . . . . . . . . . 194
Media Control Platform . . . . . . . . . . 195
access log files, Squid . . . . . . . . . . . . 174 attributes (XML)
active server page. See ASP dest . . . . . . . . . . . . . . . . . . . . 167
Active–Active . . . . . . . . . . . . . . . . . 439 encoding . . . . . . . . . . . . . . . . . 142
Active–Standby. . . . . . . . . . . . . . . . 439 maxage . . . . . . . . . . . . . . . . . . 171
advanced features . . . . . . . . . . . . . . 33 maxstale . . . . . . . . . . . . . . . . . 171
amr . . . . . . . . . . . . . . . . . . . . . . 149 method . . . . . . . . . . . . . . . . . . 157
amr-wb . . . . . . . . . . . . . . . . . . . . 149 userdata. . . . . . . . . . . . . . . . . . 143
angle brackets . . . . . . . . . . . . . . . . 510 audience, for document . . . . . . . . . . . . 16
ANI (automatic number identification) . . . . 33 audio
antivirus software. . . . . . . . . . 213, 235, 237 recording . . . . . . . . . . . . . . . . . 144
Apache . . . . . . . . . . . . . . . . . . . . 153 services . . . . . . . . . . . . . . . . . . 144
application/x-www-form-urlencoded . . . . . 166 audio/video
architecture mixed services . . . . . . . . . . . . . . 144
reporting . . . . . . . . . . . . . . . . . . . 73 Audiocodes Gateway (device profile) . . . . 169
ASP (active server page). . . . . . . . . . . 32 Audiocodes MP104 (device profile) . . . . . 169
ASR automatic number identification. See ANI
in GVP . . . . . . . . . . . . . . . . . . . 152 Automatic Speech Recognition
assigning See ASR

Deployment Guide 511


Index

B upstream metrics . . . . . . . . . . . . . 193


call detail records
codecs See CDRs
g729 . . . . . . . . . . . . . . . . . . . . 149 call events, defined . . . . . . . . . . . . . 192
g729a . . . . . . . . . . . . . . . . . . . 149 call flow, sample . . . . . 480, 486, 490, 491, 492
g729 . . . . . . . . . . . . . . . . . . . . . 149 call line identification. See CLID
g729a. . . . . . . . . . . . . . . . . . . . . 149 call progress analysis . . . . . . . . . . . . 146
back-off, exponential . . . . . . . . . . . . . 200 parameter logging. . . . . . . . . . . . . 147
barge-in . . . . . . . . . . . . . . . . . . . 144 result logging . . . . . . . . . . . . . . . 148
batching CDRs and metrics . . . . . . . . . 200 tone setting logging . . . . . . . . . . . . 147
blind transfer type . . . . . . . . . . . 153, 158 Call Progress Analysis (CPA) . . . . . . . . 144
brackets Call Progress Detection
angle. . . . . . . . . . . . . . . . . . . . 510 control parameters . . . . . . . . . . . . 184
square . . . . . . . . . . . . . . . . . . . 510 description . . . . . . . . . . . . . . . . 184
BRIDGE transfer . . . . . . . . . . . . 154, 159 in POST request, example . . . . . . . . 185
bridge transfer type. . . . . . . . . 153, 154, 159 call progress detection . . . . . . . . . . . . 145
bridged (CDR call type) . . . . . . . . . . . 194 methods. . . . . . . . . . . . . . . . . . 146
bridging services . . . . . . . . . . . . . . . 167 call recording. . . . . . . . . . . . . . . . . 144
Brooktrout Snowshore (device profile) . . . . 169 call types, in CDRs. . . . . . . . . . . . . . 194
builtin grammars . . . . . . . . . . . . . . . 152 capabilities
requirements specified . . . . . . . . . . 109
service . . . . . . . . . . . . . . . . . . 109
C SIP device . . . . . . . . . . . . . . . . 168
categories (of reports) . . . . . . . . . . . . 203
Cache-Control headers . . . . . . 170, 171, 173
ccpccxml_provision.dat . . . . . . . . . . . 168
caching . . . . . . . . . . . . . . . . . . . . 80
ccpccxml.default_uri configuration option . . 166
and HTTPS . . . . . . . . . . . . . . . . . 83
CCXML . . . . . . . . . . . . . . . . . . . . 65
behavior . . . . . . . . . . . . . . . . . . 171
ccxml
clearing the cache . . . . . . . . . . . . . 317
service selected. . . . . . . . . . . . . . 102
Fetching Module. . . . . . . . . . . . . . . 67
CCXML applications
HTTP/1.1-compliant . . . . . . . . . . . . 170
debugging . . . . . . . . . . . . . . . . . 167
initial page . . . . . . . . . . . . . . .167, 173
CCXML hints
log files . . . . . . . . . . . . . . . . . . 174
outboundproxy . . . . . . . . . . . . . . 168
managing the cache . . . . . . . . . . . . 190
CCXML Interpreter
non-HTTP/1.1-compliant . . . . . . . . . 170
See CCXMLI
policies . . . . . . . . . . . . . . . . . . 171
ccxml parameter . . . . . . . . . . . . . . . 166
purging objects . . . . . . . . . . . . . . 317
CCXMLI
refreshing objects . . . . . . . . . . . . . 317
role and functioning . . . . . . . . . . . . 166
Refresh-Rate model . . . . . . . . . . . . 173
role in call flow . . . . . . . . . . . . . . 481
root page . . . . . . . . . . . . . . . . . 167
CDR Service
Squid . . . . . . . . . . . . . . . . . . . . 67
role and functioning . . . . . . . . . . . . 194
call
CDRs
arrivals statistics . . . . . . . . . . . . . . 196
and metrics . . . . . . . . . . . . . . . . 191
peaks statistics . . . . . . . . . . . . . . 196
attributes . . . . . . . . . . . . . . . . . 194
call control extensible markup language. See
batching . . . . . . . . . . . . . . . . . . 200
CCXML
call types . . . . . . . . . . . . . . . . . 194
Call Control Platform
delivery . . . . . . . . . . . . . . . . . . 194
CDR attributes. . . . . . . . . . . . . . . 195
described . . . . . . . . . . . . . . . . . 194
CDRs . . . . . . . . . . . . . . . . . . . 167
generated . . . . . . . . . . . . . . . . . 167
functions . . . . . . . . . . . . . . . . . . . 65
interface . . . . . . . . . . . . . . . . . . . 73
logs . . . . . . . . . . . . . . . . . . . . 167
charset attribute . . . . . . . . . . . . . . . 142
metrics. . . . . . . . . . . . . . . . . . . 167
Chinese, encoding for . . . . . . . . . . . . 142
outgoing connections . . . . . . . . . . . 167
Cisco Gateway (device profile) . . . . . . . 169
Reporting Client . . . . . . . . . . . . . . . 74
clearing the cache . . . . . . . . . . . . . . 317
role and functioning . . . . . . . . . . . . 165
codec configuration option . . . . . . . . . . 149
role in call flow. . . . . . . . . . 480, 485, 493
codecs
SNMP . . . . . . . . . . . . . . . . . . . . 85

512 Genesys Voice Platform 8.1


Index

amr . . . . . . . . . . . . . . . . . . . . 149 control sessions


amr-wb . . . . . . . . . . . . . . . . . . 149 MRCPv1 . . . . . . . . . . . . . . . . . 152
g722 . . . . . . . . . . . . . . . . . . . . 149 MRCPv2 . . . . . . . . . . . . . . . . . 152
g722.2 . . . . . . . . . . . . . . . . . . . 149 Convedia Media Server (device profile) . . . 169
g726 . . . . . . . . . . . . . . . . . . . . 149 conventions
g729 . . . . . . . . . . . . . . . . . . . . 149 in document . . . . . . . . . . . . . . . . 509
h263 . . . . . . . . . . . . . . . . . . . . 149 type styles. . . . . . . . . . . . . . . . . 509
h264 . . . . . . . . . . . . . . . . . . . . 149 core telephony features . . . . . . . . . . . . 32
media negotiation . . . . . . . . . . . . . 148 CPA support . . . . . . . . . . . . . . . . . 144
multiple . . . . . . . . . . . . . . . . . . 149 createcall . . . . . . . . . . . . . . . . . . 167
pcma. . . . . . . . . . . . . . . . . . . . 149 create-CCXML (CDR call type) . . . . . . . 194
pcmu. . . . . . . . . . . . . . . . . . . . 149 CTI Connector
supported . . . . . . . . . . . . . . . . . 149 functions . . . . . . . . . . . . . . . . . . 54
telephone-event . . . . . . . . . . . . . . 149 roles. . . . . . . . . . . . . . . . . . . . . 53
com.genesyslab.var (metrics prefix) . . . . . 192 CTI userdata . . . . . . . . . . . . . . . . . 143
commenting on this document . . . . . . . . 16 custom
components SIP headers. . . . . . . . . . . . . . 141, 143
GVP . . . . . . . . . . . . . . . . . . . . . 46
Media Control Platform . . . . . . . . . . . 59
components, optional . . . . . . . . . . . . 218 D
Composer Voice . . . . . . . . . . . . . . . 79
conference Data Collection Sink
bridge . . . . . . . . . . . . . . . . . . . 164 See DATAC
ID . . . . . . . . . . . . . . . . . . . 111, 164 database, reporting
maintenance process . . . . . . . . . . . 201
implicit . . . . . . . . . . . . . . . . . . . 167
purging . . . . . . . . . . . . . . . . . . 201
input and output control . . . . . . . . . . 144
DATAC
MSML requirements . . . . . . . . . . . . 164
described . . . . . . . . . . . . . . . . . 193
NETANN requirements . . . . . . . . . . 164
metrics filter . . . . . . . . . . . . . . . . 193
selecting a resource . . . . . . . . . . . . 111
role and functioning . . . . . . . . . . . . 192
service selected . . . . . . . . . . . . . . 102
debugging
services . . . . . . . . . . . . . . . . . . 167
CCXML applications . . . . . . . . . . . 167
size . . . . . . . . . . . . . . . . . . . . 112
platform operations . . . . . . . . . . . . 164
conference service . . . . . . . . . . . . . . 51
VoiceXML applications . . . . . . . . . . 164
configuration file, device profile . . . . . . . 168
default
configuration file, Squid . . . . . . . . . . . 174
device profiles. . . . . . . . . . . . . . . 169
configuration options
Default Conference (device profile) . . . . . 169
ccpccxml.default_uri. . . . . . . . . . . . 166
Default Dialog (device profile) . . . . . . . . 169
codec . . . . . . . . . . . . . . . . . . . 149
Default Inbound (device profile) . . . . . . . 169
defaultblindxfer . . . . . . . . . . . . . . 157
Default Outbound (device profile) . . . . . . 169
defaultbridgexfer. . . . . . . . . . . . . . 158
defaultblindxfer configuration option . . . . . 157
defaultconsultxfer . . . . . . . . . . . . . 158
defaultbridgexfer configuration option . . . . 158
ems.dc.default.metricsfilter . . . . . . . . 193
defaultconsultxfer configuration option . . . 158
ems.ors.reportinginterval . . . . . . . . . 196
delivery
ems.rc.cdr.batch_size . . . . . . . . . . . 200
batch, of CDRs and metrics. . . . . . . . 200
port-usage-type . . . . . . . . . . . . . . 110
of CDRs . . . . . . . . . . . . . . . . . . 194
sip-header-for-dnis . . . . . . . . . . . . . 99
of logs . . . . . . . . . . . . . . . . . . . 191
vxmli.initial_request_maxage . . . . . . . 173
of metrics . . . . . . . . . . . . . . . . . 192
vxmli.initial_request_maxstale. . . . . . . 173
OR statistics. . . . . . . . . . . . . . . . 196
configuring
Reporting Client. . . . . . . . . . . . . . 200
GVP for SIP Server integration . . . . . . 511
dependencies, voice platform solution. . . . 216
confmaxsize parameter . . . . . . . . 111, 112
deployment, minimum requirements. . . . . 218
confreserve parameter . . . . . . . . . 111, 112
deployment, planning . . . . . . . 229, 323, 355
connection
outgoing . . . . . . . . . . . . . . . . . . 167 dest attribute . . . . . . . . . . . . . . . . . 167
connection.disconnect.hangup event . . . . 143 developer tools . . . . . . . . . . . . . . . . 33
developing voice applications . . . . . . . . . 79
consultation transfer type . . . . . . . 153, 158
device profiles

Deployment Guide 513


Index

assigning . . . . . . . . . . . . . . . . . 168 ER#301590300 . . . . . . . . . . . . . . . 297


configuration file . . . . . . . . . . . . . . 168 ERS (enterprise routing solution) solutions . . 16
default . . . . . . . . . . . . . . . . . . . 169 events
defined. . . . . . . . . . . . . . . . . . . 168 connection.disconnect.hangup . . . . . . 143
dialog DTMF . . . . . . . . . . . . . . . . . . . 167
media-less . . . . . . . . . . . . . . . . . 142 logs . . . . . . . . . . . . . . . . . . . . 191
MRCP client/server . . . . . . . . . . . . 152 Expires header. . . . . . . . . . . . . . . . 170
Dialogic Media Gateway (device profile) . . . 169 Expires headers . . . . . . . . . . . . 171, 173
dialogs exponential back-off . . . . . . . . . . . . . 200
initiating transfers . . . . . . . . . . . . . 167 external (CDR call type) . . . . . . . . . . . 195
initiating transfers and conferences . . . . 143 eyeBeam. . . . . . . . . . . . . . . . . . . 169
VoiceXML . . . . . . . . . . . . . . . . . 143
Differentiated Services Field . . . . . . . . . 49
DNIS identification . . . . . . . . . . . . . . 99 F
document
audience. . . . . . . . . . . . . . . . . . . 16 failures
conventions . . . . . . . . . . . . . . . . 509 Resource Manager handling . . . . . . . 114
errors, commenting on . . . . . . . . . . . 16 Far-East encoding . . . . . . . . . . . . . . 142
version number . . . . . . . . . . . . . . 509 features . . . . . . . . . . . . . . . . . . . . 32
DS Field . . . . . . . . . . . . . . . . . . . 49 advanced . . . . . . . . . . . . . . . . . . 33
DTMF core telephony . . . . . . . . . . . . . . . 32
barge-in . . . . . . . . . . . . . . . . . . 144 fetch
event. . . . . . . . . . . . . . . . . . . . 167 data . . . . . . . . . . . . . . . . . . . . 167
grammars . . . . . . . . . . . . . . . . . 152 parameters . . . . . . . . . . . . . . . . 166
hookflash transfer . . . . . . . . . . .154, 158 fetch methods . . . . . . . . . . . . . . . . 166
Fetching Module
navigation . . . . . . . . . . . . . . . . . 144
caching . . . . . . . . . . . . . . . . 67, 170
recording input. . . . . . . . . . . . . . . 144
DTMF (dual-tone multi-frequency) . . . . . . 33 described . . . . . . . . . . . . . . . . . . 66
dual-tone multi-frequency. See DTMF role in call flow . . . . . . . . . . . . . . 480
shared memory . . . . . . . . . . . . . 60, 65
SNMP . . . . . . . . . . . . . . . . . . . . 85
E fetching module . . . . . . . . . . . . . . . . 67
files
EMS Logging log . . . . . . . . . . . . . . . . . . . . . 191
logs . . . . . . . . . . . . . . . . . . . . 190 filters
metrics. . . . . . . . . . . . . . . . . . . 190 for metrics delivery . . . . . . . . . . . . 193
role and functioning . . . . . . . . . . 73, 190 font styles
EMS Logging interface . . . . . . . . . . . . 73 italic . . . . . . . . . . . . . . . . . . . . 509
EMS Reporting . . . . . . . . . . . . . . . . 72 monospace . . . . . . . . . . . . . . . . 510
See also CDRs, logs, metrics, OR reporting, FQDN (fully qualified domain name)
reporting requirements . . . . . . . . . 235, 237
EMS Reporting, defined . . . . . . . . . . . 190 fully qualified domain name. See FQDN
ems.dc.default.metricsfilter configuration functions
option . . . . . . . . . . . . . . . . 193 Call Control Platform . . . . . . . . . . . . 65
ems.ors.reportinginterval configuration Media Control Platform . . . . . . . . . . . 62
option . . . . . . . . . . . . . . . . 196 Resource Manager . . . . . . . . . . . . . 48
ems.rc.cdr.batch_size configuration option . 200 functions, call control platform . . . . . . . 65, 71
encoding . . . . . . . . . . . . . . . . 141, 142 functions, reporting server . . . . . . . . . . . 75
encoding attribute . . . . . . . . . . . . . . 142
encryption
SRTP keys and options . . . . . . . . . . . 83 G
enctype parameter . . . . . . . . . . . . . . 166
enforcing policies. . . . . . . . . . . . . . . 103 g. . . . . . . . . . . . . . . . . . . . . . . 149
g722 . . . . . . . . . . . . . . . . . . . . . 149
enterprise network solution. See ERS
environment, preparation. . . 230, 323, 355, 356 g722.2 . . . . . . . . . . . . . . . . . . . . 149
g726 . . . . . . . . . . . . . . . . . . . . . 149
ER# 318203901 . . . . . . . . . . . . . . . 267
g729 . . . . . . . . . . . . . . . . . . . . . 149
ER#299804481. . . . . . . . . . . . . . . . 366

514 Genesys Voice Platform 8.1


Index

gateway Cache-Control . . . . . . . . . 170, 171, 173


load-balancing . . . . . . . . . . . . . . . 110 Expires . . . . . . . . . . . . . 170, 171, 173
service selected . . . . . . . . . . . . . . 102 If-Modified-Since (IMS) . . . . . . . . . . 171
Genesys Administrator . . . . . . . . . . . . 78 health, of resources . . . . . . . . . . . . . 108
Genesys Voice Platform. See GVP Hierarchical Multi-tenant . . . . . . . . . . . . 47
geo-location . . . . . . . . . . . . . . . . . 51 High Availability
get if modified . . . . . . . . . . . . . . . . 171 support in GVP . . . . . . . . . . . . . . . 85
get method . . . . . . . . . . . . . . . . . . 166 High Availability, Resource Manager . . . . 439
grammars hints
and HTTPS . . . . . . . . . . . . . . . . . 84 outboundproxy . . . . . . . . . . . . . . 168
builtin . . . . . . . . . . . . . . . . . . . 152 HKF transfer . . . . . . . . . . . . . . 154, 158
DTMF . . . . . . . . . . . . . . . . . . . 152 hookflash transfer . . . . . . . . . . . 154, 158
hotkey . . . . . . . . . . . . . . . . . . . 152 host setup
implied . . . . . . . . . . . . . . . . . . . 152 GVP . . . . . . . . . . . . . . . . . . . . 213
inline . . . . . . . . . . . . . . . . . . . . 152 host, preparation . . . . . . . . . . . . . . . 325
GSM . . . . . . . . . . . . . . . . . . . . . 149 hotkey grammars . . . . . . . . . . . . . . 152
GVP . . . . . . . . . . . . . . . . . . . . . 60 hotwords . . . . . . . . . . . . . . . . . . . 152
and Management Framework . . . . . . . . 77 HTTP . . . . . . . . . . . . . . . . . . . 81, 82
ATTCONFERENCE transfer method . . . 156 fetch methods . . . . . . . . . . . . . . . 166
ATTCONSULT transfer method . . . . . . 156 HTTP/1.1-compliant caching. . . . . . . . . 170
ATTCOURTESY transfer method . . . . . 156 HTTPS . . . . . . . . . . . . . . . . . . . . . 81
ATTOOBCONFERENCE transfer method. 157 and caching . . . . . . . . . . . . . . . . . 83
ATTOOBCONSULT transfer method . . . 156 and grammars . . . . . . . . . . . . . . . 84
ATTOOBCOURTESY transfer method . . 156 and VoiceXML applications . . . . . . . . . 84
components . . . . . . . . . . . . . . . . . 46 considerations . . . . . . . . . . . . . . . 83
High Availability . . . . . . . . . . . . . . . 85 fetch methods . . . . . . . . . . . . . . . 166
HTTPS support . . . . . . . . . . . . . . . 83 support . . . . . . . . . . . . . . . . 83, 166
overview . . . . . . . . . . . . . . . . . . . 31
sample call flow . . . . . . 480, 490, 491, 492
sample cit icm call flow . . . . . . . . . . 486 I
secure communications . . . . . . . . . . . 83
security . . . . . . . . . . . . . . . . . . . 83 If-Modified-Since headers . . . . . . . . . . 171
IIS application server
Session ID . . . . . . . . . . . . . . . . . . 96
SIPS support . . . . . . . . . . . . . . . . 83 and grammars . . . . . . . . . . . . . . 153
SNMP support . . . . . . . . . . . . . . . . 85 implementing
secure communications . . . . . . . . . . . 83
SRTP support . . . . . . . . . . . . . . . . 83
SSL support . . . . . . . . . . . . . . . . . 83 implicit
starting, on Windows . . . . . . . . . . . 311 conferencing . . . . . . . . . . . . . . . 167
transcoding . . . . . . . . . . . . . . . . 167
TLS support . . . . . . . . . . . . . . . . . 83
traps . . . . . . . . . . . . . . . . . . . . . 85 implied grammars . . . . . . . . . . . . . . 152
GVP installation cds . . . . . . . . . . . . . 205 IMS headers . . . . . . . . . . . . . . . . . 171
inbound (CDR call type) . . . . . . . . . . . 194
GVP MCP (device profile) . . . . . . . . . . 169
GVP: EE features . . . . . . . . . . . . . . 32 INFO messages . . . . . . . . . . . . . . . 143
gvp.alternatevoicexml parameter . . . . . . 141 initial page, caching . . . . . . . . . . 167, 173
gvp.config parameter. . . . . . . . . . . . . 141 inline grammars . . . . . . . . . . . . . . . 152
gvp.policy parameters . . . . . . . . . . . . 141 input control, conference. . . . . . . . . . . 144
gvp.rm.datanode parameter . . . . . . . . . 96 intended audience . . . . . . . . . . . . . . . 16
gvp.rm.tenant-id parameter . . . . . . . . . 97 interactive voice response. See IVR
gvp.rm-resource-req parameters . . . . . . . 109 interfaces
<log> tag . . . . . . . . . . . . . . . . . . 74
CDR service . . . . . . . . . . . . . . . . 73
H logging . . . . . . . . . . . . . . . . . . . 73
VAR . . . . . . . . . . . . . . . . . . . . . 74
h263 . . . . . . . . . . . . . . . . . . . . . 149 IP Address Takeover for Windows, HA . . . 439
h264 . . . . . . . . . . . . . . . . . . . . . 149 ISO-8859-x . . . . . . . . . . . . . . . . . 142
HA IP Address Takeover for Windows . . . . 439 italics . . . . . . . . . . . . . . . . . . . . . 509
headers IVR (interactive voice response) . . . . . . . . 31

Deployment Guide 515


Index

IVR Profile M
DBID. . . . . . . . . . . . . . . . . . . . . 97
mapping calls to . . . . . . . . . . . . . . . 98 management
policies . . . . . . . . . . . . . . . . . . . 97 of resources . . . . . . . . . . . . . . . . . 48
selecting . . . . . . . . . . . . . . . . . . . 98 of services . . . . . . . . . . . . . . . . . 49
of sessions . . . . . . . . . . . . . . . . . 48
Management Framework . . . . . . . . 77, 107
J Management Framework Adaptation Sink
See MFSINK
Japanese, encoding for . . . . . . . . . . . 142 managing
java server pages. See JSP resources . . . . . . . . . . . . . . . . . 106
join-style transfer . . . . . . . . . . . . . . . 154 Squid cache. . . . . . . . . . . . . . . . 190
JSP (java server page) . . . . . . . . . . . . 32 manual cache management . . . . . . . . . 190
mapping
K calls to IVR Profiles . . . . . . . . . . . . . 98
maxage attribute . . . . . . . . . . . . . . . 171
Kapanga . . . . . . . . . . . . . . . . . . . 169 maxage parameter. . . . . . . . . . . 140, 142
Korean, encoding for . . . . . . . . . . . . . 142 maxstale attribute . . . . . . . . . . . . . . 171
maxstale parameter . . . . . . . . . . 140, 142
mcp-asr-usage-mode parameter . . . . . . 141
L mcp-max-log-level parameter . . . . . . . . 141
mcp-sendrecv-enabled parameter . . . . . . 141
least used load-balancing . . . . . . . . . . 110 media
Legacy GVP Interpreter path . . . . . . . . . . . . . . . . . . 144, 152
See GVPi services . . . . . . . . . . . . . . . . 136, 144
Linux . . . . . . . . . . . . . . . . . . . . . 64 Media Control Platform
load-balancing CDR attributes . . . . . . . . . . . . . . 195
for gateway service . . . . . . . . . . . . 110 components . . . . . . . . . . . . . . . . . 59
least used . . . . . . . . . . . . . . . . . 110 functions . . . . . . . . . . . . . . . . . . 62
MRCP services . . . . . . . . . . . . . . 110 grammars . . . . . . . . . . . . . . . . . 152
NLB clusters . . . . . . . . . . . . . . . . . 91 implied grammars . . . . . . . . . . . . . 152
round robin . . . . . . . . . . . . . . . . 110 logs . . . . . . . . . . . . . . . . . . . . 143
service requests . . . . . . . . . . . . . . 110 Media Server . . . . . . . . . . . . . . . . 60
log format, metrics . . . . . . . . . . . . . . 147 media services . . . . . . . . . . . . . . 144
log sinks . . . . . . . . . . . . . . . . 191, 192 metrics . . . . . . . . . . . . . . . . . . 143
DATAC. . . . . . . . . . . . . . . . . . . 193 MRCP Client . . . . . . . . . . . . . . . . 60
described . . . . . . . . . . . . . . . . . 193 NGI . . . . . . . . . . . . . . . . . . . . . 60
MFSINK . . . . . . . . . . . . . . . . . . 193 Reporting Client. . . . . . . . . . . . . . . 74
TRAPSINK . . . . . . . . . . . . . . . . 193 role and functioning . . . . . . . . . . 139, 152
logical service management . . . . . . . . . 49 role in call flow . . . . . . . 480, 481, 485, 493
logs SNMP . . . . . . . . . . . . . . . . . . . . 85
caching proxy . . . . . . . . . . . . . . . 174 upstream metrics . . . . . . . . . . . . . 193
data . . . . . . . . . . . . . . . . . . . . 191 See also Media Server, NGI
defined. . . . . . . . . . . . . . . . . . . 190 media control platform service delivery . . . . 61
delivery . . . . . . . . . . . . . . . . . . 191 media gateway
described . . . . . . . . . . . . . . . . . 191 role in call flow . . . . . . . . . 480, 481, 484
file location . . . . . . . . . . . . . . . . 191 media negotiation
generated . . . . . . . . . . . . . . .143, 167 media-less dialog . . . . . . . . . . . . . 142
logging interface . . . . . . . . . . . . . . . 73 offer . . . . . . . . . . . . . . . . . . . . 141
module IDs . . . . . . . . . . . . . . . . 191 SDP offer/answer . . . . . . . . . . . . . 148
See also log sinks Media Resource Control Protocol
severity . . . . . . . . . . . . . . . . . . 191 See MRCP
specifiers . . . . . . . . . . . . . . . . . 191 Media Server
Squid . . . . . . . . . . . . . . . . . . . 174 described . . . . . . . . . . . . . . . . . . 60
features . . . . . . . . . . . . . . . . 136, 144
services . . . . . . . . . . . . . . . . . . 144

516 Genesys Voice Platform 8.1


Index

MEDIAREDIRECT transfer. . . . . . . 155, 160 MRCPv2


memory control sessions . . . . . . . . . . . . . . 152
Fetching Module shared. . . . . . . . . 60, 65 MSML . . . . . . . . . . . . . . . . . . 82, 164
method msml
attribute (VoiceXML). . . . . . . . . . . . 157 service selected. . . . . . . . . . . . . . 102
parameter . . . . . . . . . . . . . . .140, 166 multiple codecs . . . . . . . . . . . . . . . 149
transfer . . . . . . . . . . . . . . . . . . 154
methods
fetch . . . . . . . . . . . . . . . . . . . . 166 N
get . . . . . . . . . . . . . . . . . . . . . 166
post . . . . . . . . . . . . . . . . . . . . 166 namelist parameter . . . . . . . . . . . . . 166
navigation, using DTMF keys . . . . . . . . 144
metrics
and CDRs . . . . . . . . . . . . . . . . . 191 NbCS (Network-based contact solution)
batching . . . . . . . . . . . . . . . . . . 200 solutions. . . . . . . . . . . . . . . . 16
NETANN . . . . . . . . . . . . . 60, 61, 139, 164
defined. . . . . . . . . . . . . . . . . . . 190
delivery . . . . . . . . . . . . . . . . . . 192 network routing solution. See NRS
described . . . . . . . . . . . . . . . . . 192 network-based contact solution. See NbCS
new call (CDR call type) . . . . . . . . . . . 194
examples . . . . . . . . . . . . . . . . . 192
filter . . . . . . . . . . . . . . . . . . . . 193 Next Generation Interpreter
generated . . . . . . . . . . . . . . .143, 167 See NGI
NGI
transfer method/type implications . . . . . 163
and VoiceXML debugger . . . . . . . . . 164
upstream, defined . . . . . . . . . . . . . 192
described . . . . . . . . . . . . . . . . . . 60
VAR . . . . . . . . . . . . . . . . . . . . 192
role in call flow . . . . . . . . . . . . . . 481
VAR prefix . . . . . . . . . . . . . . . . . 192
NRS (network routing solution) solutions . . . 16
metrics log format . . . . . . . . . . . . . . 147
MFSINK
described . . . . . . . . . . . . . . . . . 193
MIBs . . . . . . . . . . . . . . . . . . . 85, 193
O
mixed audio/video offer/answer mechanism. . . . . . . . . . . 148
services . . . . . . . . . . . . . . . . . . 144 one-leg transfers . . . . . . . . . . . . . . . 154
modifying open standards . . . . . . . . . . . . . . . . 32
service requests . . . . . . . . . . . . . . 106 Operational Reporting
module IDs See OR reporting
defined. . . . . . . . . . . . . . . . . . . 191 OR . . . . . . . . . . . . . . . . . . . . . . 196
monitoring OR reporting
resource health . . . . . . . . . . . . . . 108 call arrivals . . . . . . . . . . . . . . . . 196
monospace font . . . . . . . . . . . . . . . 510 call peaks . . . . . . . . . . . . . . . . . 196
MRCP . . . . . . . . . . . . . . . . . . . . 82 summarization . . . . . . . . . . . . . . 201
client/server dialog . . . . . . . . . . . . 152 OR statistics
services load-balanced . . . . . . . . . . 110 delivery to Reporting Server . . . . . . . 196
MRCP Client origin field . . . . . . . . . . . . . . . . . . 145
described . . . . . . . . . . . . . . . . . . 60 outbound
role . . . . . . . . . . . . . . . . . . . . 110 proxy . . . . . . . . . . . . . . . . . . . 168
role and functioning . . . . . . . . . . . . 152 outbound (CDR call type) . . . . . . . . . . 194
MRCP Proxy Outbound call initiation
data collection and logging . . . . . . . . 176 through SIP Server . . . . . . . . . . . . 183
functions . . . . . . . . . . . . . . . . . . . 69 outbound campaigns. . . . . . . . . . . . . . 51
high availability . . . . . . . . . . . . . . 176 outboundproxy hint . . . . . . . . . . . . . 168
interfaces . . . . . . . . . . . . . . . . . . 69 outgoing connections . . . . . . . . . . . . 167
overview (operational) . . . . . . . . . . . 175 output control, conference . . . . . . . . . . 144
resource management . . . . . . . . . . 175 overview, GVP . . . . . . . . . . . . . . . . . 31
resource updates . . . . . . . . . . . . . 176
MRCP server
role in call flow. . . . . . . . . . . . . . . 481 P
MRCPv1
control sessions . . . . . . . . . . . . . . 152 parameters

Deployment Guide 517


Index

ccxml . . . . . . . . . . . . . . . . . . . 166 provisioning


confmaxsize . . . . . . . . . . . . . . 111, 112 device profiles. . . . . . . . . . . . . . . 168
confreserve . . . . . . . . . . . . . . 111, 112 PSTN (public switched telephone network) . . 33
enctype . . . . . . . . . . . . . . . . . . 166 PSTN Connector
for service and policies . . . . . . . . . . 106 functions . . . . . . . . . . . . . . . . . . 56
gvp.alternatevoicexml . . . . . . . . . . . 141 interfaces . . . . . . . . . . . . . . . . . . 57
gvp.config . . . . . . . . . . . . . . . . . 141 roles. . . . . . . . . . . . . . . . . . . . . 56
gvp.policy . . . . . . . . . . . . . . . . . 141 supported transfers . . . . . . . . . . . . . 58
HTTP/HTTPS fetch . . . . . . . . . . . . 166 ptime . . . . . . . . . . . . . . . . . . . . . 145
maxage . . . . . . . . . . . . . . . .140, 142 public switched telephone network. See PSTN
maxstale . . . . . . . . . . . . . . . .140, 142 purging
mcp-asr-usage-mode . . . . . . . . . . . 141 cache objects . . . . . . . . . . . . . . . 317
mcp-max-log-level . . . . . . . . . . . . . 141 reporting data . . . . . . . . . . . . . . . 201
mcp-sendrecv-enabled . . . . . . . . . . 141 pwproxy . . . . . . . . . . . . . . . . . . . . 66
method . . . . . . . . . . . . . . . . . . 140
namelist . . . . . . . . . . . . . . . . . . 166
postbody. . . . . . . . . . . . . . . . . . 141 Q
Request-URI. . . . . . . . . 98, 100, 101, 109
Request-URI, for conference . . . . . . . 112 queue, persistent . . . . . . . . . . . . . . 200
service, in Request-URI . . . . . . . . . . 140
timeout. . . . . . . . . . . . . . . . .141, 142
trunkport . . . . . . . . . . . . . . . . . . . 99
R
voicexml . . . . . . . . . . . . . . . . . . 140 RDBMS (relational database management
paths system) . . . . . . . . . . . . . . . . 80
log files . . . . . . . . . . . . . . . . . . 191 Real Time Streaming Protocol . . . . . . . . . 82
PBX (private branch exchange) . . . . . . . 32 Real-time Transport Protocol
pcma . . . . . . . . . . . . . . . . . . . . . 149 See RTP
pcmu . . . . . . . . . . . . . . . . . . . . . 149 Reason header . . . . . . . . . . . . . . . 143
performance recording . . . . . . . . . . . . . . . . . . . 144
and reporting summarization . . . . . . . 201 DTMF input . . . . . . . . . . . . . . . . 144
and SSL . . . . . . . . . . . . . . . . . . . 83 REFER transfer . . . . . . . . . . . . 154, 158
persistent queue . . . . . . . . . . . . . . . 200 REFER with replaces transfer . . . . . 155, 159
physical resource management . . . . . . . 49 REFERJOIN transfer . . . . . . . . . 155, 159
platform debugging. . . . . . . . . . . . . . 164 refreshing cache objects . . . . . . . . . . . 317
policies Refresh-Rate model . . . . . . . . . . . . . 173
caching . . . . . . . . . . . . . . . . . . 171 relational database management system.
enforcing. . . . . . . . . . . . . . . . . . 103 RelaxNG schemas . . . . . . . . . . . . . . 202
IVR Profile . . . . . . . . . . . . . . . . . . 97 reporting
policy enforcement . . . . . . . . . . . . . . 50 architecture . . . . . . . . . . . . . . . . . 73
Policy Server categories . . . . . . . . . . . . . . . . . 203
architecture (secure) . . . . . . . . . . . . 52 database maintenance . . . . . . . . . . 201
functions . . . . . . . . . . . . . . . . . . . 53 exponential back-off. . . . . . . . . . . . 200
interfaces . . . . . . . . . . . . . . . . . . 53 overview . . . . . . . . . . . . . . . . . 190
port-usage-type configuration option . . . . . 110 performance considerations . . . . . . . 201
POST. . . . . . . . . . . . . . . . . . . . . 179 persistent queue . . . . . . . . . . . . . 200
post method . . . . . . . . . . . . . . . . . 166 report categories . . . . . . . . . . . . . 203
postbody parameter . . . . . . . . . . . . . 141 summarization process . . . . . . . . . . 201
post-installation activities upstream, defined . . . . . . . . . . . . . 193
using Genesys Administrator . . 253, 254, 257 XML schemas . . . . . . . . . . . . . . . 202
prefixes Reporting Client
VAR metrics . . . . . . . . . . . . . . . . 192 persistent queue . . . . . . . . . . . . . 200
prerequisites . . . . . . . . . . . . . . . . . 207 role and functioning . . . . . . . . . . 74, 200
prompts Reporting Server
Alaw . . . . . . . . . . . . . . . . . .419, 465 role and functioning . . . . . . . . 74, 194, 200
Mulaw . . . . . . . . . . . . . . . . .419, 465 services . . . . . . . . . . . . . . . . . . 200
recording . . . . . . . . . . . . . . .419, 465 Reporting Web Services

518 Genesys Voice Platform 8.1


Index

default URL . . . . . . . . . . . . . . . . 202 restrictions, host setup . . . . . . . . . . . . 213


described . . . . . . . . . . . . . . . . . 202 roles
Service Quality Failure Details URL . . . . 202 <log> tag interface . . . . . . . . . . . . . 74
Service Quality Latency Details URL . . . 202 Call Control Platform . . . . . . . . . . . 165
Service Quality Latency Histograms URL . 202 CCXMLI . . . . . . . . . . . . . . . . . . 166
Service Quality Summaries URL . . . . . 202 CDR Service . . . . . . . . . . . . . 73, 194
request failures DATAC . . . . . . . . . . . . . . . . . . 192
Resource Manager handling . . . . . . . 114 EMS Logging interface . . . . . . . . . . . 73
Requests . . . . . . . . . . . . . . . . . . . 179 log sinks. . . . . . . . . . . . . . . . . . 193
Request-URI Media Control Platform . . . . . . . . . . 139
formats . . . . . . . . . . . . . . . . . . 140 MRCP Client . . . . . . . . . . . . . . . 152
parameters . . . . . . .98, 100, 101, 109, 141 Reporting Client. . . . . . . . . . . . 74, 200
parameters, encoded . . . . . . . . . . . 141 Reporting Server . . . . . . . . . 74, 194, 200
parameters, for conference . . . . . . . . 112 Reporting Web Services . . . . . . . . . 202
service parameters . . . . . . . . . . . . 140 Resource Manager . . . . . . . . . . . . . 95
resource groups root page, caching . . . . . . . . . . . 167, 173
load-balancing . . . . . . . . . . . . . . . 110 round robin load-balancing . . . . . . . . . 110
service types . . . . . . . . . . . . . . . 106 RTP . . . . . . . . . . . . . . . . . . . . 61, 82
resource management . . . . . . . . . . . . 48 Terms of Service (ToS) . . . . . . . . . . 145
Resource Manager RTP media path . . . . . . . . . . 144, 152, 481
as SIP registrar . . . . . . . . . . . . . . 108 RTSP . . . . . . . . . . . . . . . . . . 82, 152
conference service . . . . . . . . . . . . . 51
failed request handling . . . . . . . . . . 114
functions . . . . . . . . . . . . . . . . . . . 48 S
hierarchical multi-tenancy . . . . . . . . . . 47
High Availability . . . . . . . . . . . . . . . 91 SDP
answer . . . . . . . . . . . . . . . . . . 142
load-balancing resources . . . . . . . . . 110
logical resource groups . . . . . . . . . . 106 codecs offered . . . . . . . . . . . . . . 149
managing resources. . . . . . . . . . . . 106 offer . . . . . . . . . . . . . . . . . . . . 141
offer/answer . . . . . . . . . . . . . . . . 148
modifying service requests . . . . . . . . 106
policy enforcement . . . . . . . . . . . . 103 origin field . . . . . . . . . . . . . . . . . 145
Reporting Client . . . . . . . . . . . . . . . 74 ptime . . . . . . . . . . . . . . . . . . . 145
secure communications . . . . . . . . . . . . 83
resource management . . . . . . . . . . . 48
resource selection . . . . . . . . . . . . . 109 implementing . . . . . . . . . . . . . . . . 83
role and functioning . . . . . . . . . . . . . 95 supported . . . . . . . . . . . . . . . . . . 83
secure RTP
role in call flow. . . . . . . . . . . . .480, 484
See SRTP
selecting resources for conference . . . . 111
secure SIP
selecting resources for in HMT . . . . . . 113
See SIPS
service selection. . . . . . . . . . . . 98, 101
Secure Socket Layer
session management . . . . . . . . . . 48, 96
See SSL
SIP notifier. . . . . . . . . . . . . . . . . . 48
security . . . . . . . . . . . . . . . . . . . . 83
SIP proxy . . . . . . . . . . . . . . . . . . 47
See secure communications
SIP registrar . . . . . . . . . . . . . . . . . 48
selecting
SNMP . . . . . . . . . . . . . . . . . . . . 85
ccxml service . . . . . . . . . . . . . . . 102
resource manager
conference resources . . . . . . . . . . . 111
policy enforcement . . . . . . . . . . . . . 50
conference service . . . . . . . . . . . . 102
tenant policy enforcement
device profiles. . . . . . . . . . . . . . . 168
hierarchical multi-tenancy . . . . . . . 50
gatewayservice . . . . . . . . . . . . . . 102
Resource Manager High Availability . . . . . 439 msml service . . . . . . . . . . . . . . . 102
resource selection . . . . . . . . . . . . . . 51 resources . . . . . . . . . . . . . . . . . 109
resources resources in HMT . . . . . . . . . . . . . 113
health monitoring . . . . . . . . . . . . . 108 services . . . . . . . . . . . . . . . . 98, 101
managing . . . . . . . . . . . . . . . . . 106
voicexml service . . . . . . . . . . . . . 102
selecting . . . . . . . . . . . . . . . . . . 109
selection
selecting for conference . . . . . . . . . . 111
service parameter . . . . . . . . . . . . . . 50
selecting in HMT. . . . . . . . . . . . . . 113
tenancy . . . . . . . . . . . . . . . . . . . 49

Deployment Guide 519


Index

self-service . . . . . . . . . . . . . . . . . . 32 Reason . . . . . . . . . . . . . . . . . . 143


service management . . . . . . . . . . . . . 49 Session-Expires. . . . . . . . . . . . . . . 97
service parameter selection . . . . . . . . . 50 X-Genesys-GVP-Session-ID . . . . . . . . 96
service prerequisites . . . . . . . . . . . . . 49 X-Genesys-RM-Application-dbid . . . . . . 97
Service Quality . . . . . . . . . . . . . . . . 201 SIP notifier . . . . . . . . . . . . . . . . . . . 48
service requests SIP parameters
load-balancing . . . . . . . . . . . . . . . 110 for service and policies . . . . . . . . . . 106
modifying . . . . . . . . . . . . . . . . . 106 gvp.rm.datanode . . . . . . . . . . . . . . 96
specified in Request-URI . . . . . . . . . 101 gvp.rm.tenant-id. . . . . . . . . . . . . . . 97
Services . . . . . . . . . . . . . . . . . . . 69 SIP proxy . . . . . . . . . . . . . . . . . . . 47
services SIP registrar . . . . . . . . . . . . . . . . . . 48
audio, video, mixed . . . . . . . . . . . . 144 SIP responses
bridging . . . . . . . . . . . . . . . . . . 167 183 Session Progress . . . . . . . . . . 149
ccxml . . . . . . . . . . . . . . . . . . . 102 2xx . . . . . . . . . . . . . . . . . . . . 114
conference. . . . . . . . . . . . . . .102, 167 404 Not Found . . . . . . . . . . . . 100, 102
gateway . . . . . . . . . . . . . . . . . . 102 408 Request Timeout . . . . . . . . . . . 114
Media Server . . . . . . . . . . . . . . . 144 4xx or 5xx . . . . . . . . . . . . . . . . . 114
msml. . . . . . . . . . . . . . . . . . . . 102 6xx . . . . . . . . . . . . . . . . . . . . 114
Reporting Server . . . . . . . . . . . . . 200 SIP Server, role in call flow . . . . . . 480, 484
resource groups . . . . . . . . . . . . . . 106 sip-header-for-dnis configuration option . . . . 99
selecting . . . . . . . . . . . . . . . . 98, 101 SIPS
transcoding . . . . . . . . . . . . . . . . 167 supported . . . . . . . . . . . . . . . . . . 83
voicexml . . . . . . . . . . . . . . . . . . 102 SNMP
services, Windows . . . . . . . . . . . . . . 223 support . . . . . . . . . . . . . . . . . . . 85
session SNMP integration sink . . . . . . . . . . . . 193
expiry timers . . . . . . . . . . . . . . . . . 97 specifications and standards. . . . . . . . . 495
inactivity timers . . . . . . . . . . . . . . . 97 specifiers
management . . . . . . . . . . . . . . . . 96 defined . . . . . . . . . . . . . . . . . . 191
Session Description Protocol SQ Alarm Generation . . . . . . . . . . . . 201
See SDP square brackets . . . . . . . . . . . . . . . 510
session management . . . . . . . . . . . . 48 Squid
session variables access log files . . . . . . . . . . . . . . 174
session.com.genesyslab.userdata . . . . 143 cache management . . . . . . . . . . . . 190
session.com.genesyslab.userdata session caching . . . . . . . . . . . . . . . . . . 170
variable . . . . . . . . . . . . . . . 143 caching behavior . . . . . . . . . . . . . 171
Session-Expires header . . . . . . . . . . . 97 caching model . . . . . . . . . . . . . . 173
settings caching policies . . . . . . . . . . . . . . 171
system performance. . . . . . . . . . . . 226 clearing the cache . . . . . . . . . . . . 317
severity configuration file . . . . . . . . . . . . . 174
logs . . . . . . . . . . . . . . . . . . . . 191 logs . . . . . . . . . . . . . . . . . . . . 174
shadow variables. . . . . . . . . . . . . . . 143 purging cache objects. . . . . . . . . . . 317
Simple Network Management Protocol refreshing cache objects . . . . . . . . . 317
See SNMP Refresh-Rate model . . . . . . . . . . . 173
sinks, log role . . . . . . . . . . . . . . . . . . . . . 67
See log sinks squid caching proxy . . . . . . . . . . . . . . 67
SIP . . . . . . . . . . . . . . . . . . . . . . 82 SRTP
BRIDGE transfer method . . . . . . .154, 159 encryption keys . . . . . . . . . . . . . . . 83
device capabilities . . . . . . . . . . . . . 168 supported . . . . . . . . . . . . . . . . . . 83
HKF transfer method . . . . . . . . .154, 158 SSL
INFO messages . . . . . . . . . . . . . . 143 performance considerations . . . . . . . . 83
MEDIAREDIRECT transfer method . .155, 160 support . . . . . . . . . . . . . . . . . . 166
REFER transfer method . . . . . . . .154, 158 supported . . . . . . . . . . . . . . . . . . 83
REFERJOIN transfer method . . . . .155, 159 standards, supported . . . . . . . . . . . . 495
SIP headers starting GVP
configuring DNIS source . . . . . . . . . . 99 on Windows . . . . . . . . . . . . . . . . 311
custom. . . . . . . . . . . . . . . . .141, 143 statistics

520 Genesys Voice Platform 8.1


Index

call arrivals . . . . . . . . . . . . . . . . 196 transcoding


call peaks . . . . . . . . . . . . . . . . . 196 implicit. . . . . . . . . . . . . . . . . . . 167
summarization . . . . . . . . . . . . . . . 201 services . . . . . . . . . . . . . . . . . . 167
VAR . . . . . . . . . . . . . . . . . . . . 201 transfers
summarization ATTCONFERENCE method . . . . . 156, 160
statistics . . . . . . . . . . . . . . . . . . 201 ATTCONSULT method . . . . . . . . 156, 160
supervised transfer type . . . . . . . . 153, 158 ATTCOURTESY method . . . . . . . 156, 160
Supplementary Services Gateway ATTOOBCONFERENCE method . . . . . 157
call progress detection . . . . . . . . . . 184 ATTOOBCONSULT method . . . . . 156, 160
call triggers . . . . . . . . . . . . . . . . . 71 ATTOOBCOURTESY method . . . . 156, 160
functions . . . . . . . . . . . . . . . . . . . 71 blind . . . . . . . . . . . . . . . . . . 153, 158
notifications, port availability. . . . . . . . 185 bridge . . . . . . . . . . . . . . 153, 154, 159
overview (operational) . . . . . . . . . . . 177 BRIDGE method . . . . . . . . . . . 154, 159
persistent storage . . . . . . . . . . . . . 186 conference . . . . . . . . . . . . . . . . 154
post-back URI . . . . . . . . . . . . . . . . 71 consult . . . . . . . . . . . . . . . . . . 154
request cancellation . . . . . . . . . . . . 182 consultation . . . . . . . . . . . . . . 153, 158
request cancellation responses . . . . . . 182 courtesy . . . . . . . . . . . . . . . . . . 154
request processing . . . . . . . . . . . . 186 dialog-initiated . . . . . . . . . . . . . . 167
request querying. . . . . . . . . . . . . . 181 HKF method . . . . . . . . . . . . . 154, 158
request querying responses . . . . . . . . 181 implications for metrics . . . . . . . . . . 163
requests and responses . . . . . . . . . . 179 join-style . . . . . . . . . . . . . . . . . 154
requests, subscription . . . . . . . . . . . 185 MEDIAREDIRECT method . . . . . . 155, 160
result notification . . . . . . . . . . . . . . 71 methods. . . . . . . . . . . . . . . . . . 154
result notifications (asynchronous) . . . . 182 one-leg . . . . . . . . . . . . . . . . . . 154
result notifications, failure . . . . . . . . . 183 REFER method . . . . . . . . . . . . 154, 158
result notifications, success . . . . . . . . 183 REFERJOIN method . . . . . . . . . 155, 159
services . . . . . . . . . . . . . . . . . . . 70 supervised . . . . . . . . . . . . . . 153, 158
support two-leg . . . . . . . . . . . . . . . . . . 154
HTTPS. . . . . . . . . . . . . . . . . . . . 83 types . . . . . . . . . . . . . . . . . . . 153
secure communications . . . . . . . . . . . 83 whisper . . . . . . . . . . . . . . . . . . 153
SIPS . . . . . . . . . . . . . . . . . . . . . 83 traps
specifications and standards . . . . . . . 495 in GVP . . . . . . . . . . . . . . . . . . . 85
SRTP . . . . . . . . . . . . . . . . . . . . 83 TRAPSINK . . . . . . . . . . . . . . . . 193
SSL . . . . . . . . . . . . . . . . . . . . . 83 TRAPSINK
TLS . . . . . . . . . . . . . . . . . . . . . 83 described . . . . . . . . . . . . . . . . . 193
trunkport parameter . . . . . . . . . . . . . . 99
TTS
T in GVP . . . . . . . . . . . . . . . . . . 152
two-leg transfers . . . . . . . . . . . . . . . 154
Takeover for Windows, HA IP Address Takeover type styles
439 conventions . . . . . . . . . . . . . . . . 509
Takeover vs. Load Balancing. . . . . . . . . 440
italic . . . . . . . . . . . . . . . . . . . . 509
TDM (time-division multiplexing) . . . . . . . 33 monospace . . . . . . . . . . . . . . . . 510
telephone-event . . . . . . . . . . . . . . . 149 typographical styles . . . . . . . . . . . . . 509
tenancy selection. . . . . . . . . . . . . . . 49
tenant. . . . . . . . . . . . . . . . . . . . . 49
tenant policy enforcement . . . . . . . . . . 50 U
Terms of Service (ToS) tagging . . . . . . . 145
Text-to-Speech UNIVERSALS properties . . . . . . . . . . 152
See TTS unknown (CDR call type) . . . . . . . . . . 194
third-party software . . . . . . . . . . . . . . 80 upgrade the database schemas . . . . . . . 308
time division multiplexing. See TDM upstream metrics
timeout parameter . . . . . . . . . . . 141, 142 defined . . . . . . . . . . . . . . . . . . 192
TLS upstream reporting, defined . . . . . . . . . 193
supported . . . . . . . . . . . . . . . . . . 83 URL
tools, management . . . . . . . . . . . 208, 211 for Reporting Web Services. . . . . . . . 202
tools, monitoring . . . . . . . . . . . . 208, 211 for Reporting Web Services SQ Failures . 202

Deployment Guide 521


Index

for Reporting Web Services SQ Latency . 202 W


for Reporting Web Services SQ Latency
Histograms . . . . . . . . . . . . . . . 202 web server . . . . . . . . . . . . . . . . . . . 81
for Reporting Web Services SQ Summaries . . whisper transfer
202 defined . . . . . . . . . . . . . . . . . . 153
user data . . . . . . . . . . . . . . . . . . . 143 supported . . . . . . . . . . . . 158, 159, 160
User Interaction Layer . . . . . . . . . . . . 78 Windows . . . . . . . . . . . . . . . . . . 63, 64
userdata attribute. . . . . . . . . . . . . . . 143 starting GVP . . . . . . . . . . . . . . . 311
UTF-16 . . . . . . . . . . . . . . . . . . . . 142 Windows NLB cluster configuration . . . . . 442
UTF-8 . . . . . . . . . . . . . . . . . . . . 142 Windows prerequisites. . . . . . . . . . . . 223
Windows services . . . . . . . . . . . . . . 223

V
X
VAR
<log> tag interface. . . . . . . . . . . . . . 74 X-Genesys-GVP-Session-ID header
metrics. . . . . . . . . . . . . . . . . . . 192 generated . . . . . . . . . . . . . . . . . . 96
statistics . . . . . . . . . . . . . . . . . . 201 parameters . . . . . . . . . . . . . . . . . 96
summarization . . . . . . . . . . . . . . . 201 X-Genesys-RM-Application-dbid header . . . 97
variables X-Lite (device profile) . . . . . . . . . . . . 169
session.com.genesyslab.userdata . . . . 143 XML schemas, for reports . . . . . . . . . . 202
shadow . . . . . . . . . . . . . . . . . . 143
VCR controls . . . . . . . . . . . . . . . . . 144
version numbering, document . . . . . . . . 509
video
recording . . . . . . . . . . . . . . . . . 144
video services . . . . . . . . . . . . . . . . 144
Voice Application Reporter
See VAR
voice applications
developing . . . . . . . . . . . . . . . . . . 79
voice extensible markup language. See
VoiceXML
Voice Platform Solution (VPS) . . . . . . . . 45
voice platform solution. See VPS
voicexml
parameter . . . . . . . . . . . . . . . . . 140
service selected . . . . . . . . . . . . . . 102
VoiceXML applications
and HTTPS . . . . . . . . . . . . . . . . . 84
debugging . . . . . . . . . . . . . . . . . 164
dialogs . . . . . . . . . . . . . . . . . . . 143
method attribute . . . . . . . . . . . . . . 157
ready to proceed . . . . . . . . . . . . . 142
shadow variables . . . . . . . . . . . . . 143
start . . . . . . . . . . . . . . . . . . . . 142
VAR <log> tags . . . . . . . . . . . . . . . 74
See also attributes (XML), session variables,
shadow variables
VoIP (voice over IP) . . . . . . . . . . . . . 31
vp8 . . . . . . . . . . . . . . . . . . . . . . 149
VPS (voice platform solution) integrated . . . 15
vxmli.initial_request_maxage configuration
option . . . . . . . . . . . . . . . . 173
vxmli.initial_request_maxstale configuration
option . . . . . . . . . . . . . . . . 173

522 Genesys Voice Platform 8.1

You might also like