Audio Resource Management
To use Audio Resource Management in Genesys Administrator Extension, you must do the following:
- Add the configuration option section and options for Linux or Windows Server.
- If you will be converting audio file formats, you must install SoX (Sound Exchange) before doing any conversions. For Linux, Genesys Administrator Extension supports SoX version 12 or higher. For Windows, GAX supports SoX version 14.3.1 or higher.
- Follow the procedure Installing SoX below.
- Set up the target storage for Audio Resource Management by following the procedure Setting up ARM Runtime Web Server below. This procedure sets up an Apache web server on a Red Hat Enterprise Linux host. On this host, it creates a shared directory from which audio files are retrieved by Audio Resource Management, and to which Genesys Administrator Extension writes audio resource files as they are uploaded by users. The shared directory is accessible from the Genesys Administrator Extension host and is referred to as "target storage".
Linux:
[+] Click here to reveal codeWindows Server:
[+] Click here to reveal codeSee Configuration Options for a detailed description of the configuration options.
Installing SoX
Purpose
- To install SoX to enable conversion of audio resources to ยต-law, a-law, and gsm formats. This procedure can be run at any time before or after Genesys Administrator Extension is installed.
Start
- Download SoX for your server operating system. For more information, visit: http://sox.sourceforge.net/Main/HomePage.
- To install SoX on Linux, enter the following command at the # prompt:
yum install sox
Or,
C:\Program Files\SoX\sox.exeTo install SoX on Windows Server, execute the installer application and install sox.exe into the following directory:
End
Setting up ARM Runtime Web Server
Purpose
- To set up the target storage for Audio Resource Management by setting up a shared directory on an Apache web server on a Red Hat Enterprise Linux host, from which audio files are retrieved by Audio Resource Management and to which Genesys Administrator Extension writes audio resource files as they are uploaded by users.
Prerequisites
- Genesys Administrator Extension Host is running.
- A dedicated host machine is available for the ARM Runtime Web Server.
- Media Server is available.
Start
- Set up your Network File System (NFS) to share data between Genesys Administrator Extension and the ARM Runtime Web Server.
- (Linux) On the ARM Runtime Web Server, create the required folders and subfolders by entering the following commands at the # prompt:
- On the Genesys Administrator Extension host, open the /etc/exports in an editor and add the folder /opt/genesys/arm as a shared directory. When added, the file should contain the following line:
/opt/genesys/arm * (rw,sync)
To limit access to only certain machines, change the asterisk (*) to the fully qualified domain name or address of the Genesys Administrator Extension host. If you have multiple Genesys Administrator Extension hosts in your environment, you can create one line per host.
- On the ARM Runtime Web Server, make sure that NFS and the supporting portmap processes have started by entering the following commands at the # prompt:
chkconfig portmap on
chkconfig nfs onIf necessary, you can manually start the processes by entering the following commands at the # prompt:
Solution nfs start
Solution portmap start - Mount the shared drive on the Genesys Administrator Extension host (or hosts) as follows:
- On the host, create a new directory by entering the following command at the # prompt:
mkdir -p /mnt/arm/target
- Open the file /etc/fstab in an editor and add the following line:
<address of the ARM Runtime Web Server>/opt/genesys/arm
/mnt/arm/target nfs rsize=8192,wsize=8192,timeo=14,intr - Mount the target manually by entering the following command at the # prompt:
mount /mnt/arm/target
The target is mounted automatically when the server restarts.
- On the host, create a new directory by entering the following command at the # prompt:
- Install Apache Web Server as follows:
- Install Apache by entering the following command at the # prompt:
yum install httpd
- Make sure that Apache starts when the host starts by entering the following command at the # prompt:
chkconfig httpd on
Alternately, you can start Apache manually by entering the following command at the # prompt:
Solution httpd start
- Start or restart Apache to test that it works.
- To have Apache serve the media files for the Media Server, open the file /etc/httpd/conf/httpd.conf in an editor and make the following changes:
- Update your Media Server configuration to use the ARM Runtime Web Server (address:http://<address of ARM Runtime Web Server>/) instead of the local file storage.
- When integrating the Media Server for ARM, the following Media Control Platform configuration options must be modified:
- To reduce the number of audio files searching attempts and promote efficiency at ARM Runtime Web Server, set msml/play.usedefaultsearchorder to false.
- To set the locations at the Services Site so that ARM Runtime Web Server can access announcement and music files, set the following options:
msml/play.basepath=http://<ARM Runtime Web Server>
msml/play.musicbasepath=http://<ARM Runtime Web Server>
- When integrating the Media Server for ARM, the following Media Control Platform configuration options must be modified:
mkdir /opt/genesys/arm
mkdir /opt/genesys/arm/music
mkdir /opt/genesys/arm/announcements
Change This Line ... |
... to this Line |
---|---|
DocumentRoot "/var/www/html" | DocumentRoot "/opt/genesys/arm" |
<Directory "/var/www/html"> | <Directory "/opt/genesys/arm"> |
End