...
Change the recording path in the following steps which should be
/mnt/nfs/vrs-recording/cucmRecording
or per your configuration.In the config.env
Code Block |
---|
DIRECTORY_PATH_TO_MONITOR= /mnt/nfs/vrs-recordings/cucmRecording/streams/ |
Change the following in the docker-compose-cisco
Archival Container add the volumes
Code Block |
---|
volumes: - /mnt/nfs/vrs-recordings/cucmRecording/streams/:/mnt/nfs/vrs-recordings/cucmRecording/streams/ - /mnt/nfs/vrs-recordings/cucmRecording/sessions/:/mnt/nfs/vrs-recordings/cucmRecording/sessions/ |
Apis/Backend ContianerContainer add the following volume
Code Block |
---|
volumes: - /mnt/nfs/vrs-recordings/cucmRecording/sessions/:/mnt/nfs/vrs-recordings/cucmRecording/sessions/ |
Mixer Container add the following volumes
Code Block |
---|
volumes: - /mnt/nfs/vrs-recordings/cucmRecording/streams/:/mnt/nfs/vrs-recordings/cucmRecording/streams/ - /mnt/nfs/vrs-recordings/cucmRecording/sessions/:/mnt/nfs/vrs-recordings/cucmRecording/sessions/ |
Open the freeswitch script record.lua located in the
/usr/share/freeswitch/scripts
and make the following changes
Code Block |
---|
recording_dir = '/mnt/nfs/vrs-recordings/cucmRecording/streams/' mixedRecordingDir = "/mnt/nfs/vrs-recordings/cucmRecording/sessions/" |
Give required permission to the nfs directory
Since our VRS interacts with local storage, it reads and writes files on the local storage. Pemission to read and write is thus necessary for the VRS to work.
Assign full permission to the mounted directory for all group, users and others to read, write and execute the mounted directory. It can be done with umask.
run the install script. ./install-cisco.sh
Do the same for the other VRS
...