WebDAV Requirements
Interaction Recording Web Services relies on a Web Distributed Authoring and Versioning (WebDAV) server to store and manage the GIR recording files. WebDAV is an extension of the Hypertext Transfer Protocol (HTTP) that facilitates collaboration between users in editing and managing documents and files stored on World Wide Web servers. A working group of the Internet Engineering Task Force (IETF) defined WebDAV in RFC 4918.
Complete the steps in the procedure below to install and configure the WebDAV server.
Deploy the WebDAV Storage Server
Start
- Install WebDAV, run the following command: yum install httpd
- Edit the /etc/httpd/conf/httpd.conf file, and append the following to the end of the file:
Alias /recordings /mnt/recordings <Directory /mnt/recordings> Options Indexes MultiViews FollowSymLinks EnableSendfile off AllowOverride None Order allow,deny allow from all </Directory> <Location "/recordings"> DAV On AuthType Basic AuthName "user" AuthUserFile /var/www/htpasswd Require valid-user </Location>
- Open the firewall. Because WebDAV is an HTTP server, the incoming default HTTP and/or HTTPS ports (80 and/or 443) must be open to the server.
ImportantIt is possible to use custom ports by changing the permitted incoming ports in the firewall, the virtual host configuration file, and the URL used to reach the WebDAV server.
- Create the directory to keep the recording files, and set the permission to apache, using the following command: mkdir /mnt/recordings chown apache:apache /mnt/recordings
- Create a WebDAV user for httpd, and configure the password. The following example creates a user called "user":
htpasswd -c /var/www/htpasswd user
WarningIf the Recording Muxer is deployed for screen recording, make sure all webDAV storages of the same contact center region are using same username and password.
- Configure the httpd to start on boot up (and start it now) using the following command: chkconfig --levels 235 httpd on service httpd start
- Test the WebDAV installation:
- Upload a hello.world file to the WebDAV server using the following command: curl -T hello.world -u user:password http://myserver/recordings/hello.world
- Using a browser, open the the http://myserver/recordings/hello.world URL. The browser will request for user credentials.
- The WebDAV server is installed.
Important
Due to performance concerns, Genesys Interaction Recording does not recommend using a remote directory for WebDAV. If you still want to use a remote directory, execute the following two commands:
sesetbool -P httpd_use_cifs 1
chcon -R -t httpd_sys_script_rw_t <storage directory>
End
Comments or questions about this documentation? Contact us for support!
