Creating Folder Hierarchy for Recording Storage

Contents

WebDAV performance degrades over time and the file system becomes inoperable if all your recording files are saved in a single directory. If you are using Apache HTTP Server for your WebDAV server, Genesys recommends using the following example procedures to create a folder hierarchy.

Important

Genesys recommends that you create the storage directories before your contact center goes into production. Keep in mind, that if you use the following procedure to create the directories, you will need to extend the directories at the end of 2021.

Prerequisites

Before you can create recording storage with folder hierarchy, you must have the following items in place:

The filename must be prefixed with $id$, to allow for additional parameters after this.

For screen recording, these instructions assume that the storage path has a base path of screens. If you use something else as the base path, change it accordingly in the rewrite rule.

Create and Use New Hierarchy

For Linux

Create a file and copy and paste the content below into the file (for example, "createfolders.sh"). This will create many directories in yyyy/mm/dd/hh format. The example provided creates directories to the end of 2021.

For Apache version 2.4 and higher, rewrite logs are not written to a separate file (as in Apache 2.2) but to error_log file. To get the mod_rewrite specific log messages, you can use the following command: