# Genesys Quality Management Suite 8.1.520 : Configuring Avaya Driver for Recording

This section describes how to configure the Avaya Driver in Call Recording and AES Management Console.

## Setting up Avaya Driver

Navigate to Settings > Configuration > Protocol Drivers > Avaya Driver.

Many of these settings are configured during Call Recording setup. View and if necessary modify these settings in the Avaya Driver Configuration.

## Viewing and Configuring AES Server Settings

Navigate to Settings > Configuration > Protocol Drivers > Avaya Driver and scroll down.

1. View the preconfigured Hostname or IP Address for the AES server. This is the IP address or hostname of the Application Enablement Services API connector server. This field must not be empty.
2. Type the Server Name. This may be any string.
3. View the preconfigured Switch Connection switch alias.This may be any non empty string.
4. Set the Cleanup timeout timer value in seconds. This timer defaults to 0 for backwards compatibility purposes, but should be set to a higher value, such as 60. After the loss of the connection to the client machine is detected, the session is not terminated until this timer expires. It is possible to resume the session with the `reconnect()` command if the session has not terminated.
5. Set the Duration timeout timer value in seconds. This is a timer to maintain an active heartbeat between the client application and the server. If the heart beat is not received within this timer value, then the server assumes the client application is terminated. This timer defaults to 60 seconds and the allowed range is between 30 seconds and two hours. However, if this value is set to a big number, then the server takes a long time to detect that the client application is terminated.
6. Click Save configuration and restart Call Recording at the end of the process to activate the new settings.

## Configuring the TSAPI Interface

Navigate to Settings > Configuration > Protocol Drivers > Avaya Driver and scroll down.

1. View the preconfigured Provider Tlink. The Service name or 'provider string' obtained from the Avaya administrator. This may be any non empty string separated using '#', for example, `AVAYA#CM#CSTA#AVAYA1AES.`
2. View the preconfigured TSAPI User Name. This may be any non empty string.
3. View the preconfigured TSAPI Password. This may be any non empty string.
4. View the preconfigured TSAPI Port.
5. Click Save configuration to activate the new settings. You do not need to restart Call Recording.

## Configuring the DMCC Interface

Recorder settings contains Avaya virtual recording device settings and Call Recording recorders and ports settings.
Navigate to Settings > Protocol Drivers > Avaya Driver and scroll down.

1. View the preconfigured DMCC User Name for the Communication Manager API connector server, obtained from the Avaya administrator. The field must not be empty.
2. View the preconfigured Password obtained from Avaya administrator. This can be any non empty string.
3. View the preconfigured Port number of the connector server (obtained from the Avaya administrator). This must be between 1025 and 65535. The default port for DMCC is 4721.
4. Click Save configuration and restart Call Recording at the end of the process to activate the new settings.

## Configuring the Recorder Settings

Navigate to Settings > Configuration > Protocol Drivers > Avaya Driver.

1. View the preconfigured Recording Device Range. This is the range of terminal extensions used as an Avaya virtual recording device (this must be configured on the Avaya server). The range consists of two numbers joined by -.This can be any number.
2. View the preconfigured RTP Port Range. This is the port range used by Call Recording recorders.The range consists of two numbers joined by -. The default is 9000-9099. If the expected number of concurrent calls is above 50 this range must be extended. Each call consumes 2 RTP ports, one for RTCP and one for the RTP audio stream. So extending the range to 9000-9199 will give 100 concurrent calls, 9000-9299 gives 150 concurrent calls, and so on.
3. View the preconfigured IP Station Security Code.

## Settings for Multi Server Installations

For cluster installations of RS servers the packet pool settings must be increased form the default of 400 to 600. Administrators must check and setup parameter `-s 600` manually on all recording servers.
To increase the packet pool settings:

1. Locate and open the file `/opt/callrec/etc/callrec.derived`
2. Locate the `RS_PARAMS` variable and add the `-s 600` parameter there

    #
    # Record server
    #
    RS_IORFILE="$TMP/rs"
    RS_PARAMS="-s 600 -t 120 -m 40 -A 0 -A 8 -A 9 -A 18 -A 13 -A 19"

### Configuring Terminal Activity Detection

Navigate to Settings > Configuration > Protocol Drivers > Avaya Driver and scroll down.

Genesys Quality Management Suite supports extensions, DNs, and terminals that include alphanumeric characters. The following characters are supported:

Character Type | Valid Characters
--- | ---
Letters | A-Z, a-z
Numbers | 0-9
Symbols | @ & + $ % ' . , : ; ! ~ ( ) [ ] # - _

Ranges can only use numeric characters, for example: `1234-5678`, or a regular expression. Multiple ranges must be separated by commas (,) with no additional spaces, for example: `1000-1900,2000-2700,3200-3500.`

1. Specify a range or list of terminals to monitor in the Include Terminal Range field. Only monitored terminals can be recorded.
2. Specify a range or list of terminals to exclude from monitoring in the Exclude Terminal Range field. These terminals are not monitored and not recorded.
3. Click New to create a new field for an extra range.
4. Click Remove to remove an unwanted range.
5. Click Save configuration and restart Call Recording before these settings take effect.

Remember every terminal monitored requires an extra TSAPI license so it is expensive to monitor terminals unnecessarily.

## Preparing for Avaya Communication Manager

The Network Administration must:

- Assign the AES server address
- Assign the CM server address
- Create a CTI user and provide a TSAPI user name and password
- Create a DMCC user and provide a DMCC user name and password
- Provide a DMCC port number
- Provide the IP Station security code

Configure the recording device range on the Avaya server or choose unrestricted mode for the user.

The user must have sufficient Medpro, DMCC and TSAPI licenses.