Avaya Cms Using Odbc and JDBC r20 June 2023
Avaya Cms Using Odbc and JDBC r20 June 2023
Release 20
Issue 1
June 2023
© 2020-2023 Avaya Inc. OTHERWISE AGREED TO BY AVAYA IN WRITING, AVAYA DOES NOT
All Rights Reserved. EXTEND THIS LICENSE IF THE SOFTWARE WAS OBTAINED FROM
ANYONE OTHER THAN AVAYA, AN AVAYA AFFILIATE OR AN AVAYA
Notice CHANNEL PARTNER; AVAYA RESERVES THE RIGHT TO TAKE LEGAL
While reasonable efforts have been made to ensure that the information in this ACTION AGAINST YOU AND ANYONE ELSE USING OR SELLING THE
document is complete and accurate at the time of printing, Avaya assumes no SOFTWARE WITHOUT A LICENSE. BY INSTALLING, DOWNLOADING OR
liability for any errors. Avaya reserves the right to make changes and USING THE SOFTWARE, OR AUTHORIZING OTHERS TO DO SO,YOU, ON
corrections to the information in this document without the obligation to notify BEHALF OF YOURSELF AND THE ENTITY FOR WHOM YOU ARE
any person or organization of such changes. INSTALLING, DOWNLOADING OR USING THE SOFTWARE
(HEREINAFTER REFERRED TO INTERCHANGEABLY AS “YOU” AND “END
Documentation disclaimer USER”), AGREE TO THESE TERMS AND CONDITIONS AND CREATE A
“Documentation” means information published in varying mediums which may BINDING CONTRACT BETWEEN YOU AND AVAYA INC. OR THE
include product information, operating instructions and performance APPLICABLE AVAYA AFFILIATE (“AVAYA”).
specifications that are generally made available to users of products. Avaya grants You a license within the scope of the license types described
Documentation does not include marketing materials. Avaya shall not be below, with the exception of Heritage Nortel Software, for which the scope of
responsible for any modifications, additions, or deletions to the original the license is detailed below. Where the order documentation does not
published version of Documentation unless such modifications, additions, or expressly identify a license type, the applicable license will be a Designated
deletions were performed by or on the express behalf of Avaya. End User System License as set forth below in the Designated System(s) License (DS)
agrees to indemnify and hold harmless Avaya, Avaya's agents, servants and section as applicable. The applicable number of licenses and units of capacity
employees against all claims, lawsuits, demands and judgments arising out of, for which the license is granted will be one (1), unless a different number of
or in connection with, subsequent modifications, additions or deletions to this licenses or units of capacity is specified in the documentation or other materials
documentation, to the extent made by End User. available to You. “Software” means computer programs in object code,
provided by Avaya or an Avaya Channel Partner, whether as stand-alone
Link disclaimer products, pre-installed on hardware products, and any upgrades, updates,
Avaya is not responsible for the contents or reliability of any linked websites patches, bug fixes, or modified versions thereto. “Designated Processor”
referenced within this site or Documentation provided by Avaya. Avaya is not means a single stand-alone computing device. “Server” means a set of
responsible for the accuracy of any information, statement or content provided Designated Processors that hosts (physically or virtually) a software application
on these sites and does not necessarily endorse the products, services, or to be accessed by multiple users. “Instance” means a single copy of the
information described or offered within them. Avaya does not guarantee that Software executing at a particular time: (i) on one physical machine; or (ii) on
these links will work all the time and has no control over the availability of the one deployed software virtual machine (“VM”) or similar deployment.
linked pages.
License type(s)
Warranty Designated System(s) License (DS). End User may install and use each copy
Avaya provides a limited warranty on Avaya hardware and software. Refer to or an Instance of the Software only: 1) on a number of Designated Processors
your sales agreement to establish the terms of the limited warranty. In addition, up to the number indicated in the order; or 2) up to the number of Instances of
Avaya's standard warranty language, as well as information regarding support the Software as indicated in the order, Documentation, or as authorized by
for this product while under warranty is available to Avaya customers and other Avaya in writing. Avaya may require the Designated Processor(s) to be
parties through the Avaya Support website: identified in the order by type, serial number, feature key, Instance, location or
https://support.avaya.com/helpcenter/getGenericDetails?detailId=C200911201 other specific designation, or to be provided by End User to Avaya through
12456651010 under the link “Warranty & Product Lifecycle” or such successor electronic means established by Avaya specifically for this purpose.
site as designated by Avaya. Please note that if You acquired the product(s) Concurrent User License (CU). End User may install and use the Software on
from an authorized Avaya Channel Partner outside of the United States and multiple Designated Processors or one or more Servers, so long as only the
Canada, the warranty is provided to You by said Avaya Channel Partner and licensed number of Units are accessing and using the Software at any given
not by Avaya. time. A “Unit” means the unit on which Avaya, at its sole discretion, bases the
pricing of its licenses and can be, without limitation, an agent, port or user, an
“Hosted Service” means an Avaya hosted service subscription that You acquire e-mail or voice mail account in the name of a person or corporate function
from either Avaya or an authorized Avaya Channel Partner (as applicable) and (e.g., webmaster or helpdesk), or a directory entry in the administrative
which is described further in Hosted SAS or other service description database utilized by the Software that permits one user to interface with the
documentation regarding the applicable hosted service. If You purchase a Software. Units may be linked to a specific, identified Server or an Instance of
Hosted Service subscription, the foregoing limited warranty may not apply but the Software.
You may be entitled to support services in connection with the Hosted Service Shrinkwrap License (SR). You may install and use the Software in accordance
as described further in your service description documents for the applicable with the terms and conditions of the applicable license agreements, such as
Hosted Service. Contact Avaya or Avaya Channel Partner (as applicable) for “shrinkwrap” or “clickthrough” license accompanying or applicable to the
more information. Software (“Shrinkwrap License”).
Hosted Service Heritage Nortel Software
THE FOLLOWING APPLIES ONLY IF YOU PURCHASE AN AVAYA HOSTED “Heritage Nortel Software” means the software that was acquired by Avaya as
SERVICE SUBSCRIPTION FROM AVAYA OR AN AVAYA CHANNEL part of its purchase of the Nortel Enterprise Solutions Business in December
PARTNER (AS APPLICABLE), THE TERMS OF USE FOR HOSTED 2009. The Heritage Nortel Software is the software contained within the list of
SERVICES ARE AVAILABLE ON THE AVAYA WEBSITE, Heritage Nortel Products located at https://support.avaya.com/licenseinfo
HTTPS://SUPPORT.AVAYA.COM/LICENSEINFO UNDER THE LINK “Avaya under the link “Heritage Nortel Products” or such successor site as designated
Terms of Use for Hosted Services” OR SUCH SUCCESSOR SITE AS by Avaya. For Heritage Nortel Software, Avaya grants Customer a license to
DESIGNATED BY AVAYA, AND ARE APPLICABLE TO ANYONE WHO use Heritage Nortel Software provided hereunder solely to the extent of the
ACCESSES OR USES THE HOSTED SERVICE. BY ACCESSING OR USING authorized activation or authorized usage level, solely for the purpose specified
THE HOSTED SERVICE, OR AUTHORIZING OTHERS TO DO SO, YOU, ON in the Documentation, and solely as embedded in, for execution on, or for
BEHALF OF YOURSELF AND THE ENTITY FOR WHOM YOU ARE DOING communication with Avaya equipment. Charges for Heritage Nortel Software
SO (HEREINAFTER REFERRED TO INTERCHANGEABLY AS “YOU” AND may be based on extent of activation or use authorized as specified in an order
“END USER”), AGREE TO THE TERMS OF USE. IF YOU ARE ACCEPTING or invoice.
THE TERMS OF USE ON BEHALF A COMPANY OR OTHER LEGAL ENTITY,
YOU REPRESENT THAT YOU HAVE THE AUTHORITY TO BIND SUCH Copyright
ENTITY TO THESE TERMS OF USE. IF YOU DO NOT HAVE SUCH Except where expressly stated otherwise, no use should be made of materials
AUTHORITY, OR IF YOU DO NOT WISH TO ACCEPT THESE TERMS OF on this site, the Documentation, Software, Hosted Service, or hardware
USE, YOU MUST NOT ACCESS OR USE THE HOSTED SERVICE OR provided by Avaya. All content on this site, the documentation, Hosted Service,
AUTHORIZE ANYONE TO ACCESS OR USE THE HOSTED SERVICE. and the product provided by Avaya including the selection, arrangement and
design of the content is owned either by Avaya or its licensors and is protected
Licenses by copyright and other intellectual property laws including the sui generis rights
THE SOFTWARE LICENSE TERMS AVAILABLE ON THE AVAYA WEBSITE, relating to the protection of databases. You may not modify, copy, reproduce,
HTTPS://SUPPORT.AVAYA.COM/LICENSEINFO, UNDER THE LINK “AVAYA republish, upload, post, transmit or distribute in any way any content, in whole
SOFTWARE LICENSE TERMS (Avaya Products)” OR SUCH SUCCESSOR or in part, including any code and software unless expressly authorized by
SITE AS DESIGNATED BY AVAYA, ARE APPLICABLE TO ANYONE WHO Avaya. Unauthorized reproduction, transmission, dissemination, storage, and
DOWNLOADS, USES AND/OR INSTALLS AVAYA SOFTWARE, or use without the express written consent of Avaya can be a criminal, as well
PURCHASED FROM AVAYA INC., ANY AVAYA AFFILIATE, OR AN AVAYA as a civil offense under the applicable law.
CHANNEL PARTNER (AS APPLICABLE) UNDER A COMMERCIAL
AGREEMENT WITH AVAYA OR AN AVAYA CHANNEL PARTNER. UNLESS
Virtualization Avaya Toll Fraud intervention
The following applies if the product is deployed on a virtual machine. Each If You suspect that You are being victimized by Toll Fraud and You need
product has its own ordering code and license types. Unless otherwise stated, technical assistance or support, call Technical Service Center Toll Fraud
each Instance of a product must be separately licensed and ordered. For Intervention Hotline at +1-800-643-2353 for the United States and Canada. For
example, if the end user customer or Avaya Channel Partner would like to additional support telephone numbers, see the Avaya Support website:
install two Instances of the same type of products, then two products of that https://support.avaya.com or such successor site as designated by Avaya.
type must be ordered.
Security Vulnerabilities
Third Party Components
Information about Avaya's security support policies can be found in the
“Third Party Components” mean certain software programs or portions thereof Security Policies and Support section of https://support.avaya.com/security.
included in the Software or Hosted Service may contain software (including
Suspected Avaya product security vulnerabilities are handled per the Avaya
open source software) distributed under third party agreements (“Third Party
Product Security Support Flow
Components”), which contain terms regarding the rights to use certain portions
(https://support.avaya.com/css/P8/documents/100161515).
of the Software (“Third Party Terms”). As required, information regarding
distributed Linux OS source code (for those products that have distributed Downloading Documentation
Linux OS source code) and identifying the copyright holders of the Third Party
For the most current versions of Documentation, see the Avaya Support
Components and the Third Party Terms that apply is available in the products,
Documentation or on Avaya's website at: https://support.avaya.com/Copyright website: https://support.avaya.com, or such successor site as designated by
or such successor site as designated by Avaya. The open source software Avaya.
license terms provided as Third Party Terms are consistent with the license
Contact Avaya Support
rights granted in these Software License Terms, and may contain additional
rights benefiting You, such as modification and distribution of the open source See the Avaya Support website: https://support.avaya.com for product or
software. The Third Party Terms shall take precedence over these Software Hosted Service notices and articles, or to report a problem with your Avaya
License Terms, solely with respect to the applicable Third Party Components to product or Hosted Service. For a list of support telephone numbers and contact
the extent that these Software License Terms impose greater restrictions on addresses, go to the Avaya Support website: https://support.avaya.com (or
You than the applicable Third Party Terms. such successor site as designated by Avaya), scroll to the bottom of the page,
and select Contact Avaya Support.
The following applies only if the H.264 (AVC) codec is distributed with the
product. THIS PRODUCT IS LICENSED UNDER THE AVC PATENT Trademarks
PORTFOLIO LICENSE FOR THE PERSONAL USE OF A CONSUMER OR
The trademarks, logos and service marks (“Marks”) displayed in this site, the
OTHER USES IN WHICH IT DOES NOT RECEIVE REMUNERATION TO (i)
Documentation, Hosted Service(s), and product(s) provided by Avaya are the
ENCODE VIDEO IN COMPLIANCE WITH THE AVC STANDARD (“AVC
registered or unregistered Marks of Avaya, its affiliates, its licensors, its
VIDEO”) AND/OR (ii) DECODE AVC VIDEO THAT WAS ENCODED BY A
suppliers, or other third parties. Users are not permitted to use such Marks
CONSUMER ENGAGED IN A PERSONAL ACTIVITY AND/OR WAS
without prior written consent from Avaya or such third party which may own the
OBTAINED FROM A VIDEO PROVIDER LICENSED TO PROVIDE AVC
Mark. Nothing contained in this site, the Documentation, Hosted Service(s) and
VIDEO. NO LICENSE IS GRANTED OR SHALL BE IMPLIED FOR ANY
product(s) should be construed as granting, by implication, estoppel, or
OTHER USE. ADDITIONAL INFORMATION MAY BE OBTAINED FROM
otherwise, any license or right in and to the Marks without the express written
MPEG LA, L.L.C. SEE HTTP://WWW.MPEGLA.COM.
permission of Avaya or the applicable third party.
Service Provider Avaya is a registered trademark of Avaya Inc.
THE FOLLOWING APPLIES TO AVAYA CHANNEL PARTNER'S HOSTING All non-Avaya trademarks are the property of their respective owners. Linux®
OF AVAYA PRODUCTS OR SERVICES. THE PRODUCT OR HOSTED is the registered trademark of Linus Torvalds in the U.S. and other countries.
SERVICE MAY USE THIRD PARTY COMPONENTS SUBJECT TO THIRD
PARTY TERMS AND REQUIRE A SERVICE PROVIDER TO BE
INDEPENDENTLY LICENSED DIRECTLY FROM THE THIRD PARTY
SUPPLIER. AN AVAYA CHANNEL PARTNER'S HOSTING OF AVAYA
PRODUCTS MUST BE AUTHORIZED IN WRITING BY AVAYA AND IF
THOSE HOSTED PRODUCTS USE OR EMBED CERTAIN THIRD PARTY
SOFTWARE, INCLUDING BUT NOT LIMITED TO MICROSOFT SOFTWARE
OR CODECS, THE AVAYA CHANNEL PARTNER IS REQUIRED TO
INDEPENDENTLY OBTAIN ANY APPLICABLE LICENSE AGREEMENTS, AT
THE AVAYA CHANNEL PARTNER'S EXPENSE, DIRECTLY FROM THE
APPLICABLE THIRD PARTY SUPPLIER.
WITH RESPECT TO CODECS, IF THE AVAYA CHANNEL PARTNER IS
HOSTING ANY PRODUCTS THAT USE OR EMBED THE H.264 CODEC OR
H.265 CODEC, THE AVAYA CHANNEL PARTNER ACKNOWLEDGES AND
AGREES THE AVAYA CHANNEL PARTNER IS RESPONSIBLE FOR ANY
AND ALL RELATED FEES AND/OR ROYALTIES. THE H.264 (AVC) CODEC
IS LICENSED UNDER THE AVC PATENT PORTFOLIO LICENSE FOR THE
PERSONAL USE OF A CONSUMER OR OTHER USES IN WHICH IT DOES
NOT RECEIVE REMUNERATION TO: (I) ENCODE VIDEO IN COMPLIANCE
WITH THE AVC STANDARD (“AVC VIDEO”) AND/OR (II) DECODE AVC
VIDEO THAT WAS ENCODED BY A CONSUMER ENGAGED IN A
PERSONAL ACTIVITY AND/OR WAS OBTAINED FROM A VIDEO
PROVIDER LICENSED TO PROVIDE AVC VIDEO. NO LICENSE IS
GRANTED OR SHALL BE IMPLIED FOR ANY OTHER USE. ADDITIONAL
INFORMATION FOR H.264 (AVC) AND H.265 (HEVC) CODECS MAY BE
OBTAINED FROM MPEG LA, L.L.C. SEE HTTP://WWW.MPEGLA.COM.
Compliance with Laws
You acknowledge and agree that it is Your responsibility for complying with any
applicable laws and regulations, including, but not limited to laws and
regulations related to call recording, data privacy, intellectual property, trade
secret, fraud, and music performance rights, in the country or territory where
the Avaya product is used.
Chapter 1: Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Purpose. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Change history. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Chapter 7: Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
ODBC and JDBC encryption and certificates . . . . . . . . . . . . . . . . . . . . . . . 55
Network support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Server log files and monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Client trace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Chapter 8: Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
CMS and CMS Supervisor Documents . . . . . . . . . . . . . . . . . . . . . . . . . 61
Avaya Solutions Platform Documents . . . . . . . . . . . . . . . . . . . . . . . . . 63
Avaya Contact Center - Extended Capacity . . . . . . . . . . . . . . . . . . . . . . 64
Finding documents on the Avaya Support website . . . . . . . . . . . . . . . . . . 64
Accessing the port matrix document. . . . . . . . . . . . . . . . . . . . . . . . . . 65
Avaya Documentation Portal navigation . . . . . . . . . . . . . . . . . . . . . . . . 65
Viewing Avaya Mentor videos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Using the Avaya InSite Knowledge Base . . . . . . . . . . . . . . . . . . . . . . . 67
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Purpose
The document describes how to use Open Database Connectivity (ODBC) and Java Database
Connectivity (JDBC) with Avaya Call Management System (CMS).
This document is intended for:
l Avaya support personnel
l Contact center administrators
Users of this document must be familiar with CMS and must have a basic understanding of SQL
and database logic.
Change history
This section presents an overview of how Open Database Connectivity (ODBC) and Java
Database Connectivity (JDBC) works and how it interacts with the Avaya Call Management
System (CMS).
This section contains the following topics:
l ODBC background and functionality on page 9
l About the ODBC and JDBC software on page 13
l ODBC and JDBC features on page 13
l CMS and ODBC interoperability on page 16
l CMS database logic structure on page 16
CMS database
(Historical data access only)
! Important:
Important: Avaya will support only ODBC connectivity. Avaya will not support third-party
client applications such as Microsoft Access or Windows.
The Java Database Connectivity (JDBC) API is the industry standard for database-independent
connectivity between the Java programming language and a wide range of databases, SQL
databases and other tabular data sources, such as spreadsheets or flat files. The JDBC API
provides a call-level API for SQL-based database access. JDBC technology allows you to use
the Java programming language to exploit “Write Once, Run Anywhere” capabilities for
applications that require access to enterprise data. With a JDBC technology-enabled driver, you
can connect all corporate data even in a heterogeneous environment.
! Important:
Important: If you choose to develop an application using ODBC or JDBC, Avaya cannot
provide support for that application or for any other third-party software or related
mapping.
For more information about the IBM Informix ODBC and JDBC software, see About the ODBC
and JDBC software on page 13.
Note:
Note: Avaya tests ODBC and JDBC only in English. ODBC and JDBC will support
double-byte languages, but if you use a language other than English, Avaya
cannot provide ODBC or JDBC support.
Additional information about IBM Informix ODBC and JDBC can be found at:
http://www-01.ibm.com/software/data/informix/pubs/library/
! Important:
Important: Using ODBC and JDBC with CMS is only supported on Windows 8 and Windows
10. No other Windows versions are supported. When referring to “Windows” in
this document, it only refers to Windows 8 and Windows 10.
All historical CMS database tables, dictionary tables, and customer-provided tables can be
accessed by ODBC or JDBC clients through standard ODBC or JDBC enabled software
applications. All standard Structured Query Language (SQL) queries generated by the user
applications are supported by the ODBC and JDBC, as limited by permissions. Table-level
read-only permissions restrict access to certain database tables.
This section contains the following topics:
l Languages on page 14
l Supported number of logins on page 14
l Performance impact on page 14
l Table permissions, security and port allocation on page 15
l Informix User definition on page 16
Languages
Avaya tests ODBC and JDBC only in English for use with CMS. IBM Informix ODBC and JDBC
will support other double-byte languages, but if you use a language other than English, Avaya
does not provide ODBC or JDBC support for that language.
Performance impact
The number, size, and types of queries received by the CMS can impact performance. The
recommendations for composing queries in the CMS custom report editor also apply to ODBC
queries.
Some of the activities that can impact CMS performance are:
Tables: Use the exact table and database item names when querying the database. You can
maximize the performance of the system by running queries that access large tables or that
perform table joins during a period of low agent activity and low real-time report activity.
Accessing large tables, such as the split/skill or agent tables, or joining tables in queries can
have a negative impact on CMS performance.
Calculations: Review calculations before sending them to the database. This ensures that the
correct operation is performed. Arithmetic operations are performed with the rules of operator
precedence, in order from left to right.
Queries: Prioritize resource intensive queries the same way you prioritize reports during high
business activity. Running complex or multiple queries on the database impact system
performance similar to running multiple reports.
Synonyms: Download the synonyms to your client application or database and then perform
the join at the client.
CMS maintenance: Be aware that during off-peak hours, CMS runs it’s own activities, such as
archiving and making backups. This can use a significant amount of resources and time when
working with a large database.
! Important:
Important: If your network uses a firewall, it is common for unused ports to be locked. ODBC
uses network ports 50000 and 50001. If these ports are locked, you will not be
able to connect to the CMS database with ODBC.
Dictionary names: Clients can access CMS Dictionary names. You must map the synonym to
the report from the client.
Permissions: Applications that access Informix externally, such as database access scripts,
might not work if the table permission script tries to access a table to which permission is
denied.
Field display: The time and date data you receive from the database might not be formatted.
Generally, times can be shown in seconds or in 24-hour clock format. You need to review data
for formatting when you import it into your software application. The data returned from your
SQL queries will be formatted in the manner described in your database interface
specifications. See your software’s documentation for further information on formatting data.
Switch features and capabilities: Some switch features and capabilities have an impact on
CMS open database items. For more information on these features and capabilities, see the
appropriate database items and calculations document for your CMS release.
For example, a record will be created for each split/skill that an agent is logged into in the agent
tables. If an agent is logged into four splits/skills, there will be four records for that agent.
Similarly, if an agent starts the day with four splits/skills, and is added to a fifth split/skill before
the end of the day, the agent’s fifth record will be generated only from the point at which the
additional split/skill was added. The other four records will reflect the total logon time.
This section contains the following topics:
l Agent tables on page 17
l VDN tables on page 17
l Circular structure tables on page 17
Agent tables
If an agent logs off and logs on more than once in a specified interval, another complete set of
records is created for that agent for each logon in the agent tables.
For example, if an agent logs into four split/skills, logs out, and then logs back on during a set
interval, there will be two sets of four records for that agent, one set per logon.
VDN tables
The VDN tables store one record per vector on which a VDN terminates. Therefore, if the
terminating vector for a specific VDN changes in a set interval, there are two records for that
VDN - one per terminating vector. This logic also applies to the Vector, Trunk, Trunk Group, and
Split/Skill tables. If information is required from these tables, a sum structured query language
(SQL) query can be necessary to access complete data from each table.
The IBM Informix ODBC software can be installed on your Windows desktop computer or on
your network for each client to access.
! Important:
Important: Using ODBC and JDBC with CMS is only supported on Windows 8 and Windows
10. No other Windows versions are supported. When referring to “Windows” in
this document, it only refers to Windows 8 and Windows 10.
Note:
Note: The Windows interface is completely customizable. You might notice some user
interface differences based on your system configuration.
This section contains the following topics:
l Requirements on page 19
l Installing ODBC on Windows on page 20
l Configuring an ODBC data source on page 21
l Removing a data source on page 23
l Configuring ODBC tracing options on page 24
l Viewing installed ODBC data source drivers on page 24
Requirements
Before installing the IBM Informix ODBC driver software on your computer, verify that:
l The client network software is installed.
l Your computer is communicating with the CMS server over the network.
Use your desktop TCP/IP products Packet Internet Groper (PING) utility (for example,
ping hostname) to ensure that Communication between your computer and the CMS
server is functional. Do not proceed if basic communications between your computer and
the server cannot be established.
l The desktop computer is running Windows.
Procedure
To configure your ODBC driver software to access CMS data:
1. Navigate to one of the following paths:
l Control Panel > Administrative Tools > ODBC Data Sources (32-bit)
l Control Panel > Administrative Tools > ODBC Data Sources (64-bit)
The system displays the ODBC Data Source Administrator window.
2. Select one of the following tabs:
l System DSN
Choose the System DSN option if you want the data source to be available to all users.
You need administrative privileges to create a system DSN.
l User DSN
Choose the User DSN option if you want the data source to be available to the current
user. This setting is useful if you must provide access for a specific user. You must not
administer data sources on a per-user login ID basis.
Note:
Note: If you do not have administrative privileges to create and save a System DSN,
you can use a User DSN to set up the data source.
l File DSN
Choose the File DSN option if you want the data source to be stored in a file rather
than the registry. This file will have a DSN extension. Some applications like Avaya
Contact Center Express (CCE) make use of File DSNs.
3. Select Add.
4. The Create New Data Source window displays a list of data source drivers.
5. Select IBM INFORMIX ODBC DRIVER.
6. Do one of the following:
l If you selected File DSN:
a. Select Next.
b. Enter the file name.
c. Select Next.
d. Select Finish.
The system displays the IBM Informix ODBC Driver Setup.
l If you selected User DSN or System DSN:
a. Select Add.
b. Enter a representative name in the Data Source Name field for the server or
database to which you are connecting to. An example entry for this field is
cms_net or cms_<hostname> where <hostname> is the actual host name of the
CMS would replace the variable <hostname>. For example, if the CMS host name
is “cardinal”, you can enter cms_cardinal for the Data Source Name.
c. Enter a description of the data source to which you are connecting in the
Description field. An example entry for this field is CMS ODBC.
d. Select the Connection tab.
e. Enter the Server Name for the CMS server. The two default options are cms_net
or cms_<hostname> where <hostname> is the actual host name of the CMS
server. For example if your CMS server has a hostname of “cardinal”, then you can
enter cms_cardinal. If you do not know the hostname, you can use cms_net.
However, note that you will not be able to connect to multiple CMS systems at the
same time using cms_net since the Server Name field requires a unique value
across all DSNs. If you try to create another DSN using cms_net and provide a
different Host Name, it will change all DSNs with the same Server Name to use the
new Host Name.
f. Enter the Host Name or IP address.
g. Enter the port of your database host machine in the Service field. If you are using
cms_net enter port 50000 and if you are using cms_[hostname] enter port 50001.
h. In the Protocol field, select from the dropdown menu the option “olsoctcp” or
“olsocssl”. if ODBC TLS/SSL is configured on the CMS server, select “olsocssl”.
i. Leave the Options field blank.
j. Enter cms for the Database Name.
k. Enter the user ID that has permission to log on to the CMS server.
l. Enter the password for the User ID that has permission to log onto the CMS
server.
7. Select the Environment tab.
Click on the check box to the right of “Use Server Database Locale”.
Note:
Note: It may be necessary to change the Client Locale to en_US.UTF8 if Apply & Test
connection in step 10 fails.
8. Re-select the Connection tab.
9. Select Apply.
10. Select Apply & Test Connection.
If everything is configured correct, you will see the message “Test connection was
successful”.
11. Select OK, then OK again until all the ODBC Windows close.
ODBC driver software is installed on your computer.
Note:
Note: Once the driver is configured, the IBM Informix ODBC driver is accessible to
ODBC-enabled applications on your computer. Any queries that you send to the
CMS database from client Windows applications, such as Microsoft Access, will
use the ODBC feature to access data and copy it to your applications. You need
to format the data within your application.
Procedure
1. Navigate to one of the following paths:
l Control Panel > Administrative Tools > ODBC Data Sources (32-bit)
l Control Panel > Administrative Tools > ODBC Data Sources (64-bit)
The system displays the ODBC Data Source Administrator window.
2. Select the Tracing tab.
3. Choose one of the following options:
l Trace ODBC calls or observe ODBC activity by selecting the Start Tracing Now
button.
l Stop tracing ODBC function calls automatically by selecting the Stop Tracing Now
button. This will terminate the ODBC tracing upon completion of the ODBC session.
l Select or change the file to which the IBM Informix driver writes tracing information, by
performing one of the following steps:
- Enter a file name and path in the Log file Path field.
- Use the Browse... button to select the appropriate file from the Select ODBC Log
File window.
Note:
Note: The default log file is \SQL.LOG.
! CAUTION:
CAUTION: Do not change the default entry in the Custom Trace DLL field.
l Control Panel > Administrative Tools > ODBC Data Sources (64-bit)
The system displays the ODBC Data Source Administrator window.
2. Select the Drivers tab.
3. View detailed information about an installed driver by selecting the driver from the list, and
then selecting the About tab.
Note:
Note: If the appropriate IBM Informix data source driver is not displayed in the Drivers
window, return to Installing ODBC on Windows on page 20 and reinstall the
driver.
! Important:
Important: Using ODBC and JDBC with CMS is only supported on Windows 8 and Windows
10. No other Windows versions are supported. When referring to “Windows” in
this document, it only refers to Windows 8 and Windows 10.
Note:
Note: The Windows interface is completely customizable. You might notice some user
interface differences based on your system configuration.
Requirements
Before installing the IBM Informix JDBC driver software on your computer, verify that:
l The client network software is installed.
l Your computer is communicating with the CMS server over the network.
Use your desktop TCP/IP products Packet Internet Groper (PING) utility (for example, ping
hostname) to ensure that Communication between your computer and the CMS server is
functional. Do not proceed if basic communications between your computer and the server
cannot be established.
l The desktop computer is running Windows.
l Determine %CLASSPATH% for Java applications.
Procedure
1. Copy the JDBC zip file from the CMS server to your Windows system using the following
steps:
a. Use your choice of transfer application to connect to the CMS server, such as WinSCP.
b. Navigate to a Windows folder where you want to copy the file. You can choose any
folder.
c. Navigate to the following CMS server directory:
/storage/cms_dvd/CSDK
d. Copy one of the following zip files to your chosen Windows folder:
clientsdk.4.10.FC2DE.WIN.zip - Windows 64 bit system
clientsdk.4.10.TC2DE.WIN.zip - Windows 32 bit system
2. Open Windows Explorer.
3. Navigate to the folder where you copied the zip file.
4. Double-click the JDBC zip file.
5. Unzip the files to the folder of your choice.
6. In Windows Explorer, navigate to the folder where you unzipped the files.
7. Double-click the installclientsdk.exe file.
The installation program displays the Introduction screen.
8. Click Next.
The installation program displays the Software License Agreement screen.
9. Select I accept the terms of the license agreement and click Next.
The installation program displays the Installation Location screen.
10. Accept the default location and click Next.
The installation program displays the Choose Client SDK Features to Install screen.
For programmer and usage related information about this IBM Informix JDBC driver, refer to the
IBM website at:
https://www.ibm.com/support/knowledgecenter/en/SSGU8G_12.1.0/
com.ibm.jdbc_pg.doc/jdbc.htm
The CMS database has “open access” permissions as a standard feature. That is, any CMS
login connecting to the CMS server using ODBC/JDBC has permissions to view CMS data
tables.
Note:
Note: CMS does not allow you to control which tables the CMS login has access to, or
which ACD data the CMS login can view.
To limit the users that can access the CMS database using ODBC/JDBC follow the steps listed
in this section. The users for whom you set permissions must adhere to the following
requirements:
l All CMS login IDs to which you choose to provide CMS database access must be
members of the dbaccess group.
l You must execute the dbaccess option under the cmsadm menu, which makes the
proper Informix permission changes to the CMS database.
Your secure access permissions are preserved for you in the cmsadm backup and in the CMS
Maintenance backup. The permissions are migrated during a CMS upgrade and can be
restored in the event of a loss of your CMS server data.
This section includes the following topics:
l Preparing to set the secure database access on page 31
l Adding members to the dbaccess group on page 32
l Setting the secure access permissions in the CMS database on page 33
l Removing ODBC access permissions for a specific user ID on page 34
l Returning the CMS database to public permissions on page 35
2. Make a note of which CMS logins need to be placed in the dbaccess group. To determine
which logins are already in the dbaccess group, enter:
cat /etc/group | grep dbaccess
l If CMS logins are not in the group, your result looks like this:
dbaccess::1002:
l If CMS logins “odbcusr1” and “odbcusr2” are in the group, your result looks like this:
dbaccess::1002:odbcusr1,odbcusr2
! CAUTION:
CAUTION: Enter a capital G while typing the command. Entering a lower case g will change
the users default group, which can cause access issues to CMS.
An example:
usermod -G dbaccess odbcusr1
usermod -G dbaccess odbcusr2
Your CMS database currently has public access permissions to all resources.
Do you wish to revoke this access and only grant access to specific CMS
users? [y,n,?]
3. Press y.
The system displays:
4. You see one “grant connect to <cmslogin>” per CMS login ID which is in the dbaccess
group.
Note:
Note: You always see one “grant connect” message per CMS login ID, including login
IDs which are already in the dbaccess group and had connect permissions prior
to this.
5. After the changes are complete, you can use the CMS login ID to run ODBC/JDBC clients
and access the CMS database.
6. To preserve your changes, run a cmsadm backup followed by a Maintenance Backup
immediately.
! CAUTION:
CAUTION: Enter a capital G while typing the command. Entering a lower case g will change
the users default group, which can cause access issues to CMS.
2. Enter:
cmsadm
The system displays the Avaya Call Management System Administration menu.
3. Enter the number associated with the dbaccess option. The system reads the UNIX group
information and resets the access permissions for only those members still in the
dbaccess group.
For example, if you have removed odbcusr1 from the dbaccess group but left odbcusr2 in
the group, then:
Begin CMS DB Access Permissions changes
Please wait while connect permissions are granted for requested users
grant connect to “Odbcusr2”;
Changes to CMS DB Access Permissions finished.
Procedure
1. To get the list of all ODBC users, enter:
grep dbaccess /etc/group
2. You must first remove all users from the dbacess group. Run the usermod command for
each CMS login that is currently in the dbaccess group.
! CAUTION:
CAUTION: Enter a capital G while typing the command. Entering a lower case g will change
the users default group, which can cause access issues to CMS.
For example, if the users odbcusr1 and odbcusr2 are the entire set of CMS login IDs with
secure access permissions.
usermod -G "" odbcusr1
usermod -G "" odbcusr2
3. Enter:
cmsadm
The system displays the Avaya Call Management System Administration menu
4. Enter the number associated with the dbaccess option.
5. Enter: y
Please wait while CMS Informix Database permissions are set to public.
grant resource to public;
revoke connect from cms;
revoke connect from cmssvc;
Grant resource to public on CMS database.
Changes to CMS DB Access Permissions finished.
CMS supports an option to configure the CMS network ports 50000 and 50001 for Informix TLS
and SSL encryption. These CMS network ports can also be used for ODBC and JDBC
connections. The TLS/SSL encryption requires you to install a pkcs12 certificate. After Informix
encryption is enabled, the only operational impact is encrypted network connections for ports
50000 and 50001. All other CMS interfaces to Informix are not impacted.
Note:
Note: In this document, any reference to “TLS/SSL encryption” refers to both TLS and
SSL encryption for Informix.
The procedures in this chapter describe how to encrypt the ODBC and JDBC connections.
! CAUTION:
CAUTION: Note the following requirements for the CA certificate you provide:
- You are responsible for ensuring your certificate is valid. The certificate must be
valid for the CMS server, the network where CMS resides, and maintained within
the valid dates of the certificate.
- If the certificate is currently in pkcs12 format, you must add the alias
“cms_net_encrypt” to the certificate. Specific procedures for adding or converting
an alias are not provided due to variations in certificate and certificate chain
structures. Industry certificate management utilities (keytool, openssl) provide add/
convert of the alias value. Consult your company certificate technical resource to
update the alias.
- If you are converting a certificate to pkcs12 format you must add the alias
“cms_net_encrypt” to your certificate or certificate chain. Specific procedures for
adding or converting an alias are not provided due to variations in certificate and
certificate chain structures. Industry certificate management utilities (keytool,
openssl) provide add/convert of the alias value. Consult your company certificate
technical resource to update the alias.
- If you have the Java Key Store (JKS) certificate for the CMS Web Client certificate
(cmsweb.jks), a pkcs12 certificate can be exported from the cmsweb.jks
certificate as described in Exporting a pkcs12 certificate from the cmsweb.jks
certificate on page 39.
Note the full path and the password for the certificate. You will need the path and password to
enable Informix TLS/SSL encryption or to update the Informix TLS/SSL encryption certificate.
To verify that the alias is in the certificate, run the following command:
keytool -list -v -keystore <Example.p12> -storepass
<CertificatePassword> | grep Alias
Where <Example.p12> is the name of the pkcs12 format certificate and
<CertificatePassword> is the certificate password.
! CAUTION:
CAUTION: DO NOT PROCEED if the certificate does not have the alias “cms_net_encrypt”
in the certificate. Do this procedure again to get the alias in the certificate.
Procedure
1. Log on as a root user on the CMS server.
! Important:
Important: You cannot directly log on as root from a remote connection. You must log on
using an administered CMS user ID, then use su - root to log on with root
privileges.
2. Choose a location on your CMS server to store the certificate. For example:
/Example.home/my_ssl_cert
If the directory does not exist, create it and move to the directory.
3. Run the following command:
keytool -J-Dkeystore.pkcs12.legacy -importkeystore -srckeystore /
opt/cmsweb/cert/cmsweb.jks -destkeystore cmsweb.p12
-deststoretype PKCS12 -srcstoretype JKS -srcstorepass
<SOURCE_PASSWORD> -srcalias <SOURCE_ALIAS> -deststoretype PKCS12
-destkeypass <CERT_PASSWORD> -deststorepass <CERT_PASSWORD>
-destalias cms_net_encrypt
Where:
l <SOURCE_PASSWORD> is the password for the JKS truststore. If this is the default
Avaya-provided JKS, the default password is “cmsweb”.
l <SOURCE_ALIAS> is the alias for the JKS truststore. If this is the default
Avaya-provided JKS, the alias is “cmsweb1”. If the source alias is not known, it can be
found by executing the following command:
keytool -list -v -keystore /opt/cmsweb/cert/cmsweb.jks
-storepass <SOURCE_PASSWORD> | grep Alias
l <CERT_PASSWORD> is the password for the pkcs12 truststore or certificate you are
generating.
The full path for the created pkcs12 certificate using this example location would be:
/Example.home/my_ssl_cert/cmsweb.p12
Note the full path and the password for the certificate. You will need this path and password to
enable TLS/SSL encryption or to update the TLS/SSL encryption certificate.
Procedure
1. Log on as a root user on the CMS server.
! Important:
Important: You cannot directly log on as root from a remote connection. You must log on
using an administered CMS user ID, then use su - root to log on with root
privileges.
2. Enter:
cmsadm
The system displays the CMSADM menu.
3. Select the number associated with the run_cms command.
4. Select the number associated with the Turn off CMS but Leave IDS running
command.
5. To enable encryption:
If Informix network encryption is not enabled, the system displays the following:
b. Enter the path on the CMS server where you saved the customer-generated
certificate.
The system runs a certificate file access check. If the certificate file is not accessible,
the system displays the following:
c. Enter the password for the certificate keystore. If an invalid password is entered, the
password will be re-requested.
The system displays the following if the password is correct and the certificate is
validated:
Certificate validated.
Informix encryption(TLS/SSL) configuration completed. IDS is restarting.
Informix encryption(TLS/SSL) enable complete.
Informix network connections are now encrypted.
Note:
Note: If a certificate validation error is encountered, the error is reported and the enable
command exits. For information on how to correct the issue, see Managing
certificates for Informix TLS and SSL encryption on page 38. The following are
examples of certificate errors you might see:
The provided certificate does not include the required alias: cms_net_encrypt.
Certificate alias: ALIAS. Please make sure your
certificate meets the requirements in the CMS ODBC/JDBC document,
then re-execute ids_tls_configure.
d. Enter:
cmsadm
The system displays the CMSADM menu.
e. Select the number associated with the run_cms command.
f. Select the number associated with the Turn on CMS command.
Next steps
After Informix encryption is enabled, the certificate must be installed on the Windows ODBC and
JDBC systems for operational ODBC and JDBC interfaces. This installation can take place at
any time before ODBC or JDBC is used. See Installing the certificate on a Windows PC that
has the ODBC and JDBC client software on page 47.
Procedure
1. Log on as a root user on the CMS server.
! Important:
Important: You cannot directly log on as root from a remote connection. You must log on
using an administered CMS user ID, then use su - root to log on with root
privileges.
2. Enter:
cmsadm
The system displays the CMSADM menu.
b. Enter:
y
The system displays the following:
c. Enter the path on the CMS server where you saved the customer-generated
certificate.
The system runs a certificate file access check. If the certificate file is not accessible,
the system displays the following:
d. Enter the password for the certificate keystore. If an invalid password is entered, the
password will be re-requested.
The system displays the following if the password is correct and the certificate is
validated:
Note:
Note: If a certificate validation error is encountered, the error is reported and the enable
command exits. For information on how to correct the issue, see Managing
certificates for Informix TLS and SSL encryption on page 38. The following are
examples of certificate errors you might see:
The provided certificate does not include the required alias: cms_net_encrypt.
Certificate alias: ALIAS. Please make sure your
certificate meets the requirements in the CMS ODBC/JDBC document,
then re-execute ids_tls_configure.
e. Enter:
cmsadm
The system displays the CMSADM menu.
f. Select the number associated with the run_cms command.
g. Select the number associated with the Turn on CMS command.
Next steps
After the Informix encryption certificate is updated, the certificate must be installed on the
Windows ODBC and JDBC systems for operational ODBC and JDBC interfaces. This
installation can take place at any time before ODBC or JDBC is used. See Updating the
certificate on a Windows PC that has the ODBC and JDBC client software on page 51.
! CAUTION:
CAUTION: If you disable Informix network encryption, you cannot just turn it back on. You
must re-enable it using the procedures in Enabling Informix network
encryption on page 40.
Procedure
1. Log on as a root user on the CMS server.
! Important:
Important: You cannot directly log on as root from a remote connection. You must log on
using an administered CMS user ID, then use su - root to log on with root
privileges.
2. Enter:
cmsadm
The system displays the CMSADM menu.
3. Select the number associated with the run_cms command.
4. Select the number associated with the Turn off CMS but Leave IDS running
command.
5. Enter the following command:
/cms/install/bin/ids_tls_configure -d
If Informix network encryption is not enabled, the system displays the following:
6. Enter:
y
The system displays the following:
7. Enter:
cmsadm
The system displays the CMSADM menu.
8. Select the number associated with the run_cms command.
9. Select the number associated with the Turn on CMS command.
Procedure
1. Enter the following command:
/cms/install/bin/ids_tls_configure -v
If Informix network encryption is not enabled, the system displays the following:
If Informix network encryption is enabled, the system displays the certificate details. This
example shows the first few lines of a typical certificate:
Label : cms_net_encrypt
Key Size : 1024
Version : X509 V3
Serial : 5a77ca457eadd67f
. . .
. . .
2. To redirect the certificate into a file for easier viewing, for example, enter the following
commands:
/cms/install/bin/ids_tls_configure -v > /tmp/my_cert_details.out
more /tmp/my_cert_details.out
Procedure
1. Log on as an administrator to Windows.
2. Copy the SSL certificate file(s) from the CMS server to the Windows PC. Use WinSCP or
some other similar command. Note the full path to where you copied the certificate file(s).
The SSL certificate(s) are in the following directory on the CMS server:
/opt/informix/ssl
If additional root and intermediate certificates exist, the naming is as follows:
HOSTNAME_cert1.pem
HOSTNAME_cert2.pem
…
HOSTNAME_certX.pem
HOSTNAME_cms_net_encrypt.pem
3. Create a folder on the Windows PC for the Informix TLS/SSL keystore for JDBC access. If
you have administrator privileges on the Windows PC, the following path is a logical folder
location:
C:\Program Files\IBM Informix Client SDK\ssl
If you do not have administrator privileges, any folder which you have read, write, and
execute privileges will work. This folder will be referred to as <KeystorePath>.
4. Create the following file:
C:\Program Files\IBM Informix Client SDK\etc\conssl.cfg
5. Insert the following lines into the file:
SSL_KEYSTORE_FILE <KeystorePath>\cli_cms_ol.kdb
SSL_KEYSTORE_STH <KeystorePath>\cli_cms_ol.sth
Where <KeystorePath> is the folder you created in Step 3. Attributes in a path with
spaces must be replaced with a shortened path name. This approach is used in the
following example:
SSL_KEYSTORE_FILE C:\Progra~1\IBMINF~1\ssl\cli_cms_ol.kdb
SSL_KEYSTORE_STH C:\Progra~1\IBMINF~1\ssl\cli_cms_ol.sth
! Important:
Important: Spaces in the path are not permitted. You must use the shortened path as shown
in the example above. Do not use single or double quotes around the path.
6. Save and close the file.
7. Open a Windows command line window.
8. Move to the <KeystorePath> folder created in Step 3.
l Control Panel > Administrative Tools > ODBC Data Sources (64-bit)
b. Double-click the file if logged on as administrator, or right-click the file and select Run
as Administrator.
The system displays the ODBC Data Source Administrator window.
Note:
Note: The Windows interface is completely customizable. You might notice some user
interface differences based on your system configuration.
c. Select the System DSN tab.
d. Select the appropriate ODBC data source.
e. Click Configure.
f. Select the Connection tab.
g. Update the protocol filed to “onsocssl”.
h. Click Apply.
14. Configure a TLS/SSL connection to the database from your Java application by using the
following operations:
a. Set the javax.net.ssl.truststore system property to point to the keystore that
you created. For example:
javax.net.ssl.trustStore=<KeystorePath>/cli_cms_ol.ks
b. Set the javax.net.ssl.trustStorePassword system property to the password
that you used for the certificate. For example:
javax.net.ssl.trustStorePassword=<KS_PASSWORD>
c. Set a data source object.
d. Set the port number to the SSL port, 50000.
e. Set the data source property setIfxSSLCONNECTION to true.
Where <KeystorePath> is the folder you created in Step 3 and <KS_PASSWORD> is
a new password for the JKS keystore.
Procedure
1. Copy the SSL certificate file(s) from the CMS server to the Windows PC. Use WinSCP or
some other similar command. Note the full path to where you copied the certificate file(s).
The SSL certificates are in the following directory on the CMS server:
/opt/informix/ssl
If additional root and intermediate certificates exist, the naming is as follows:
HOSTNAME_cert1.pem
HOSTNAME_cert2.pem
…
HOSTNAME_certX.pem
HOSTNAME_cms_net_encrypt.pem
2. Open a Windows command window.
3. Move to the folder where the Informix TLS/SSL keystore is located.
4. Determine the configured certificates. Run the following command, to identify the alias for
configured certificates.
gsk8capicmd_64 -cert -list all -db cli_cms_ol.kdb -stashed
For example:
C:\Program Files\IBM Informix Client SDK\ssl>gsk8capicmd_64 -cert
-list all -db cli_cms_ol.kdb -stashed
Certificates found
* default, - personal, ! trusted, # secret key
! "CN=DigiCert SHA2 Secure Server CA,O=DigiCert Inc,C=US"
! "CN=DigiCert Global Root CA,OU=www.digicert.com,O=DigiCert Inc,C=US"
- cms_net_encrypt
b. From the output of this command, determine the alias for the certificate(s). The alias is
the first field for each certificate line indicated by a date value. For example:
7. Run the following commands for each certificate file copied from the CMS server (each
PEM file):
gsk8capicmd_64 -cert -add -db cli_cms_ol.kdb -stashed -label
cms_net_encrypt -file <SSL_CERT_FILE> -format ascii -trust enable
keytool -importcert -file <SSL_CERT_FILE> -alias <ALIAS> -keystore
cli_cms_ol.ks -storepass <KS_PASSWORD>
Where <SSL_CERT_FILE> is the SSL certificate file, <ALIAS> is the portion of the
<SSL_CERT_FILE> name after the first underscore (_), and <KS_PASSWORD> is the
password for the JKS keystore. If the certificate file name is
HOSTNAME_cms_net_encrypt.pem, then the ALIAS portion is cms_net_encrypt. You
must use the -label cms_net_encrypt option only when the <SSL_CERT_FILE> is
HOSTNAME_cms_net_encrypt.pem.
For example:
gsk8capicmd_64 -cert -add -db cli_cms_ol.kdb -stashed -label
cms_net_encrypt -file HOSTNAME_cert1.pem -format ascii -trust
enable
keytool -importcert -file HOSTNAME_cert1.pem -alias
cms_net_encrypt -keystore cli_cms_ol.ks -storepass passwd
Depending on certificate type, you may be prompted to trust the certificate. When
requested, enter yes to the prompt.
This section presents general troubleshooting procedures and error messages for ODBC and
JDBC. For more detailed information, see the IBM website for additional documentation at:
https://www.ibm.com/support/knowledgecenter/en/SSGU8G_12.1.0/com.ibm.odbc.doc/
odbc.htm
https://www.ibm.com/support/knowledgecenter/en/SSGU8G_12.1.0/
com.ibm.jdbc_pg.doc/jdbc.htm
! Important:
Important: If you choose to develop an application for the ODBC or JDBC driver, Avaya
cannot provide support for that application or for any other third-party software or
related mapping.
This section contains the following topics:
l ODBC and JDBC encryption and certificates on page 55
l Network support on page 58
l Server log files and monitoring on page 58
l Client trace on page 60
Failure
You get the following error message:
This exception might occur when executing the ODBC Data Sources program or the Informix
Client-SDK ConnectTest program. A permission issue exists for the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Informix\SqlHosts
Resolution
Start the ODBC Data Sources program or Informix Client-SDK ConnectTest program as “Run as
Administrator”.
When you run the programs as administrator, an unhandled JIT exception may occur after
resolution. This exception can be ignored and you can click Continue to finish running the
program.
Failure
You get the following error message:
This error occurs when executing an ODBC connection. This typically occurs when configuring
the System DSN in the ODBC Data Sources program (and executing Apply & Test) or executing
query in the ConnectTest program. An access issue exists to the file cli_cms_ol.kdb or
cli_cms_ol.sth, which are both referenced in the conssl.conf file.
Resolution
Verify the following:
l Double or single quotes are not used.
l The short path name is correct.
l There are no spaces in the path.
l The SSL_KEYSTORE_FILE and SSL_KEYSTORE_STH must have READ permissions or
greater.
Failure
You get the following error message:
This error occurs when executing the ODBC Data Sources program or the Informix Client-SDK
ConnectTest program and you attempt to access the database. An access issue exists to file
cli_cms_ol.sth, which is referenced in the conssl.conf file.
Resolution
Set the permissions to the cli_cms_ol.sth file, which is referenced in the conssl.conf file,
to READ permissions or higher.
Failure
You get the following error message:
This error occurs when executing an ODBC connection. This typically occurs when configuring
the System DSN in the ODBC Data Sources program (and executing Apply & Test) or executing
a query in the ConnectTest program. The configured client certificate in the file
cli_cms_ol.kdb, referenced in the conssl.conf file, is inconsistent with the CMS Server
database certificate.
Resolution
Re-execute the procedure Updating the certificate on a Windows PC that has the ODBC and
JDBC client software on page 51.
Failure
You get the following error message:
IBM Informix ODBC Error Message: INFORMIXSERVER does not match either INFORMIXSERVER
or DATABASESERVERALIASES.
This error occurs when executing the ConnectTest program trying to select a database or
executing a Query.
Resolution
The Server field must be cms_net or cms_<HOSTNAME>.
Failure
You get the following error message:
IBM Informix ODBC Error Message: Invalid message received during connection attempt
This error occurs when executing the ODBC Data Sources program or Informix Client-SDK
ConnectTest program and you are trying to access a database. A protocol mismatch issue
exists.
Resolution
If using an encrypted ODBC or JDBC connection, enter olsocssl in the protocol field.
If using a plain non-encrypted TCP ODBC or JDBC connection, enter olsoctcp in the protocol
field.
Failure
You get the following error message:
This error occurs when executing the ODBC Data Sources program or the Informix Client-SDK
ConnectTest program and you are trying to access a database.
Resolution
In the ODBC Data Sources program:
1. Select the Environment tab.
2. Click Use Database Locale.
3. Select Apply.
4. Run ConnectTest.
The database connection is verified. The error can be ignored.
In the Informix Client-SDK ConnectTest program:
The database connection has been verified. The error can be ignored.
Network support
Avaya does not control customer network configuration or ODBC-enabled client applications.
Installation and ongoing maintenance support is limited to determining if data is being
transferred correctly in the most basic client/server relationship. This is defined as a CMS
system running ODBC on the same network hub as the client PC.
Verify that the trouble occurs on the same network subnet. Then continue with troubleshooting
procedures. If the trouble does not occur on the same network subnet, contact the Avaya help
line.
l High-level logging (such as start, fail, or complete) is provided in the following log file:
/cms/install/logdir/admin.log
l Detailed logging for all primary activities and errors is provided in the following log file:
/cms/install/logdir/security/cms_sec.log
To obtain the current IBM Informix IDS software version, perform the following steps while
logged into the CMS server with an appropriately privileged user ID. For more information, see
Providing secure access to the CMS database on page 31.
1. Set the environment:
. /opt/informix/bin/setenv
2. View the current IBM Informix IDS version:
onstat -
To monitor the active database sessions, perform the following steps while logged into the CMS
server with an appropriately privileged user ID. For more information, see Providing secure
access to the CMS database on page 31.
1. Set the environment:
. /opt/informix/bin/setenv
2. View active database sessions:
onstat -g ses
3. View the active sql statements:
onstat -g sql
Client trace
The Windows ODBC Data Source Administrator configuration utility, located in the Windows
Control Panel under Administrative tools, allows you to enable or disable ODBC trace logging
under the Tracing tab.
Documentation
Overview
Avaya Call Management Describes tested product characteristics and Sales engineers,
System Overview and product capabilities including feature Administrators
Specification descriptions, interoperability, performance
specifications, security, and licensing
requirements.
Product Privacy Statement for Describes how personal data is stored and Administrators
Avaya Call Management processed by CMS.
System
Installation, upgrades, maintenance, and troubleshooting
Deploying Avaya Call Describes how to plan, deploy, and Avaya support
Management System configure CMS on new VMware-based personnel
installations.
Deploying Avaya CMS on an Describes how to plan, deploy, and Avaya support
Infrastructure as a Service configure CMS on new Amazon Web personnel
Environment Services and Google Cloud Platform
installations.
Port Matrix for Avaya Call Lists the ports and connections used by Avaya support
Management System CMS. personnel
Planning for Avaya Call Describes the procedures customers must Administrators
Management System Upgrades plan for before and after upgrading to a new
CMS release.
Upgrading Avaya Call Describes the procedures required to Avaya support
Management System upgrade to a new CMS release. personnel
User guides
Using Avaya Call Management Describes how to back up your CMS data Administrators
System LAN Backup using a LAN connection to a remote server.
Using Avaya Call Management Describes how to install and maintain your Avaya support
System High Availability CMS High Availability (HA) system. personnel,
Administrators
Using ODBC and JDBC with Describes how to use Open Database Administrators
Avaya Call Management Connectivity (ODBC) and Java Database
System Connectivity (JDBC) with CMS.
Administration
Administering Avaya Call Provides instructions on administering a Avaya support
Management System contact center using CMS Supervisor. personnel,
Administrators
Avaya Call Management Describes the format of the Call History data Administrators
System Call History Interface files and how to transfer these files to
another computer.
Avaya Call Management Describes each database item and Administrators,
System Database Items and calculation that CMS tracks and how CMS Report designers
Calculations calculates the values displayed on CMS
reports and CMS Supervisor reports.
! Important:
Important: For documents that are not available on the Avaya Documentation Center, click
More Sites > Support on the top menu to open https://support.avaya.com.
Using the Avaya Documentation Center, you can:
l Search for content in one of the following ways:
- Type a keyword in Search, and click Filters to search for content by product or
release.
- From Products & Solutions, select a solution and product and then select the
appropriate document from the list.
l Sort documents on the search results page by last updated and relevance.
l Publish a PDF of the current section in a document, the section and its subsections, or the
entire document.
l Add content to your collection by using My Docs.
Navigate to the Manage Content > My Docs menu, and do any of the following:
- Create, rename, and delete a collection.
- Add content from various documents to a collection.
- Save a PDF of selected content in a collection and download it to your computer.
- Share content in a collection with others through email.
- Receive content that others have shared with you.
l Add yourself as a watcher by using the Watch icon.
Navigate to the Manage Content > Watchlist menu, and do the following:
- Enable Include in email notification to receive alerts in email.
- Unwatch selected content, all content in a document, or all content on the Watch list
page.
As a watcher, you are notified when content is updated or deleted from a document, or the
document is removed from the portal.
l Share a section on social media platforms, such as Facebook, LinkedIn, and Twitter.
l Send feedback on a section and rate the content.
Note:
Note: Some functionality is only available when you log in to the portal. The available
functionality depends on the role with which you are logged in.
Procedure
l To find videos on the Avaya Support website, go to https://support.avaya.com and do one
of the following:
- In Search, type Avaya Mentor Videos, click Clear All, and select Video in the
Content Type.
- In Search, type the product name. On the Search Results page, click Clear All, and
select Video in the Content Type.
The Video content type is displayed only when videos are available for that product.
In the right pane, the page displays a list of available videos.
l To find the Avaya Mentor videos on YouTube, go to www.youtube.com/AvayaMentor and
do one of the following:
- Enter a key word or key words in the Search Channel to search for a specific product
or topic.
- Scroll down Playlists, and click the name of a topic to see the list of videos available for
the topic. For example, Contact Centers.
Note:
Note: Videos are not available for all products.
Support
Go to the Avaya Support website at https://support.avaya.com for the most up-to-date
documentation, product notices, and knowledge articles. You can also search for release notes,
downloads, and resolutions to issues. Use the online service request system to create a service
request. Chat with live agents to get answers to questions, or request an agent to connect you
to a support team if an issue requires additional expertise.
Related links
Using the Avaya InSite Knowledge Base on page 67
Abandoned call A call in which a caller hangs up before receiving an answer from an agent. The
call can be queued to a split/skill or in a vector/vector directory number (VDN)
or ringing at an agent before it is abandoned.
Access permissions Permissions assigned to a Call Management System (CMS) user so that the
user can access different subsystems in CMS or administer specific elements
(splits/skills, trunks, vectors, and so on) of the ACD. Access permissions are
specified as read or write permission. Read permission means the CMS user
can access and view data (for example, run reports or view the Dictionary
subsystem). Write permission means the CMS user can add, modify, or delete
data and execute processes.
ACD See Automatic Call Distribution (ACD).
ACD call A call that queued to a split/skill and was answered by an agent in that split/skill,
or a call that queued as a direct agent call and was answered by the agent for
whom it was queued.
ACW See After Call Work (ACW).
Adjunct/Switch An open application interface through which processors and switches can
Applications jointly provide services that require applications to initiate, receive, and control
Interface (ASAI) calls or make use of switch features. (See Open Application Interface.)
After Call Work An agent state generally representing work related to the preceding ACD call.
(ACW)
API See Application Programming Interface (API).
Application A set of related functions that a computer programmer uses to obtain some kind
Programming of service from another piece of software. Programmers of Windows based
Interface (API) applications use the Windows API to create windows, draw text on the screen,
access files, and perform all other services provided by Windows. Despite the
use of the word application in this term, applications might not be the only
software using an API; lower-level software components such as network
drivers also have APIs, but these components are not “applications” and are not
used directly by applications.
ASAI See Adjunct/Switch Applications Interface (ASAI).
Automatic Call A switch feature using software that channels high-volume incoming and
Distribution (ACD) outgoing call traffic to agent groups (splits or skills). Also an agent state where
the extension is engaged on an ACD call.
Backup The process of protecting data by writing the contents of the disk to an archive
(or tape) that can be removed from the computer environment and stored
safely.
Calculation The abbreviated name (calculation name) for the formula calculation that
generates the data for a field in a report.
Call Management A software product used by business customers that have Avaya
System (CMS) telecommunications switches and receive a large volume of telephone calls
that are processed through the Automatic Call Distribution (ACD) feature of the
switch. The CMS collects call-traffic data, formats management reports, and
provides an administrative interface to the ACD feature in the switch.
Call Management A tool that allows direct queries of the historical database. This tool is the
System Query interactive interface typically used to view the Informix database. For CMS
Language (CMSQL) purposes, CMSQL is used instead of Informix SQL.
Call Vectoring A switch feature that provides a highly flexible method for processing ACD
calls.
A call vector is a set of instructions that controls the routing of incoming and
outgoing calls based on current conditions. Examples of call vector conditions
include time of day and the number of calls in queue.
Call Work Code An ACD capability that allows the agent to enter a string of digits during or after
(CWC) the call and send them to CMS for management reporting.
Avaya Supervisor The Call Management System application for the Microsoft Windows operating
environment.
CMS See Call Management System (CMS).
Current interval Represents the current intrahour interval, which can be 15, 30, or 60 minutes.
The current interval is part of the real-time database. CMS starts collecting ACD
cumulative data at the beginning of the interval (on the hour, half-hour, or
quarter hour) and continues collecting ACD cumulative data until the end of the
interval. When the current interval changes, all cumulative data is cleared and
CMS begins counting cumulative data again starting from zero. The length of
the interval is set in the System Setup: Storage Intervals window and is called
the intrahour interval.
CWC See Call Work Code (CWC).
Daily data Interval data that has been converted to a 1-day summary.
CMS database A group of files that store ACD data according to a specific time frame: current
and previous intrahour real-time data and intrahour, daily, weekly, and monthly
historical data.
Database item A name for a specific type of data stored in one of the CMS databases. A
database item can store ACD identifiers (split numbers or names, login IDs,
VDNs, and so on) or statistical data on ACD performance (number of ACD
calls, wait time for calls in queue, current states of individual agents and so on).
Database The software that manages access to structured data. For example, the
Management Microsoft SQL Server is a database management system. Database
System (DBMS) management system can also be used generally to include PC database
products such as Microsoft Access, as well as any other software that can
provide data access services.
CMS database CMS uses these tables to collect, store, and retrieve ACD data. Standard CMS
tables items (database items) are names of columns in the CMS database tables.
DBMS See Database Management System (DBMS).
Dictionary A CMS subsystem that can be used to assign names to various call center
elements such as login IDs, splits/skills, trunk groups, VDNs and vectors. These
names are displayed on reports, making them easier to interpret. Dictionary
also allows customized calculations to be created for use in reports.
Driver manager A dynamic link library that loads drivers on behalf of an application.
Dynamic link library A dynamic link library is another name for a driver or a driver manager. A
dynamic link library is specific to the DBMS of the data being accessed. For
example, an Informix specific dynamic link library will be used to access data in
an Informix database, such as the CMS database.
Entity A generic term that refers to one of the following: Agent, Split/Skill, Trunk, Trunk
Group, VDN, or Vector.
Exception A type of activity in the ACD which falls outside the limits you have defined. An
exceptional condition is defined in the CMS Exceptions subsystem, and usually
indicates abnormal or unacceptable performance of the ACD (by agents, splits/
skills, VDNs, vectors, trunks, or trunk groups).
Historical database A database that contains intrahour records for up to 62 days, daily records for
up to 5 years, and weekly/monthly records for up to 10 years for each CMS
table.
Historical reports Reports that display past ACD data for various CMS tables.
Informix A relational database management system used to organize CMS historical
data.
Informix SQL A query language tool that is used to extract data from an Informix database.
Intrahour interval A 15-, 30-, or 60-minute segment of time starting on the hour. An intrahour
interval is the basic unit of CMS report time.
LAN See Local area network (LAN).
Local area network A private interactive communication network that allows computers to
(LAN) communicate over short distances, usually less than one mile, at high data
transfer rates from 1 Mbps to as high as 100 Mbps.
Monthly data Daily data that has been converted to a monthly summary.
ODBC See Open Database Connectivity (ODBC).
Open Database Open Database Connectivity is a standard application programming interface
Connectivity (API) for accessing data in both relational and non-relational databases.
(ODBC)
Previous interval Represents one intrahour interval and is part of the real-time database. At the
end of each intrahour interval, the contents of the current intrahour interval are
copied to the previous intrahour interval portion of the real-time database.
Read permission The CMS user with read permission can access and view data (for example,
run reports or view the Dictionary subsystem). Read permission is granted from
the User Permissions subsystem.
Real-time database Consists of the current and previous intrahour data on each CMS-measured
agent, split/skill, trunk, trunk group, vector, and VDN.
Single-user mode Only one person can log into CMS. Data continues to be collected if data
collection is “on.” This mode is required to change some CMS administration.
SQL See Structured query language (SQL).
Structured query A language used to interrogate and process data in a relational database (such
language (SQL) as Informix).
Switch A private switching system providing voice-only or voice and data
communications services (including access to public and private networks) for
a group of terminals within a customer's premises.
Trunk A telephone line that carries calls between two switches, between a Central
Office (CO) and a switch, or between a CO and a phone.
Trunk group A group of trunks that are assigned the same dialing digits - either a phone
number or a Direct Inward Dialed (DID) prefix.
VDN See Vector directory number (VDN).
Vector A list of steps that process calls in a user-defined manner. The steps in a vector
can send calls to splits/skills, play announcements and music, disconnect calls,
give calls a busy signal, or route calls to other destinations. Calls enter vector
processing via VDNs, which can have received calls from assigned trunk
groups, from other vectors, or from extensions connected to the switch.
Vector directory An extension number that enables calls to connect to a vector for processing. A
number (VDN) VDN is not assigned an equipment location. It is assigned to a vector. A VDN
can connect calls to a vector when the calls arrive over an assigned
automatic-in trunk group, dial-repeating (DID) trunk group, or ISDN trunk group.
The VDN by itself can be dialed to access the vector from any extension
connected to the switch.
Weekly data Daily data that has been converted to a weekly summary.
Write permission The CMS user can add, modify, or delete data and execute processes. Write
permission is granted from the User Permissions subsystem.
Index
C P
circular structure . . . . . . . . . . . . . . . . . . 17 performance impacts . . . . . . . . . . . . . . . . 14
client trace . . . . . . . . . . . . . . . . . . . . 60
CMS
feature interactions . . . . . . . . . . . . . . . 16 R
configuring relational database model . . . . . . . . . . . . . . 11
server data source . . . . . . . . . . . . . . . 21 removing
tracing . . . . . . . . . . . . . . . . . . . . . 24 data source . . . . . . . . . . . . . . . . . . . 23
D S
data source security, port allocation . . . . . . . . . . . . . . . 15
removing . . . . . . . . . . . . . . . . . . . . 23 server log file . . . . . . . . . . . . . . . . . . . . 58
database logic structure . . . . . . . . . . . . . . 16 structured query language . . . . . . . . . . . . . 11
supported languages . . . . . . . . . . . . . . . . 14
supported logins . . . . . . . . . . . . . . . . . . 14
F
feature interactions. . . . . . . . . . . . . . . . . 16
T
table permissions . . . . . . . . . . . . . . . . . . 15
G tables
Glossary . . . . . . . . . . . . . . . . . . . . . 69 agent . . . . . . . . . . . . . . . . . . . . . . 17
VDN . . . . . . . . . . . . . . . . . . . . . . 17
tracing
H configuring . . . . . . . . . . . . . . . . . . . 24
https troubleshooting . . . . . . . . . . . . . . . . . . . 55
//support.avaya.com/Copyright . . . . . . . . . . 3
V
N viewing drivers . . . . . . . . . . . . . . . . . . . 24
network support . . . . . . . . . . . . . . . . . . 58
O
ODBC
background and functionality . . . . . . . . . . . 9
data uses . . . . . . . . . . . . . . . . . . . 12
driver, about . . . . . . . . . . . . . . . . . . 13
feature interactions . . . . . . . . . . . . . . . 16
features . . . . . . . . . . . . . . . . . . . . 13
languages . . . . . . . . . . . . . . . . . . . 14
logins . . . . . . . . . . . . . . . . . . . . . 14
performance impact . . . . . . . . . . . . . . . 14
requesting data . . . . . . . . . . . . . . . . . 12
server data source . . . . . . . . . . . . . . . 21