Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Change the recording path in the following steps which should be /mnt/nfs/vrs-recording/cucmRecording or per your configuration.

  2. In the config.env

Code Block
DIRECTORY_PATH_TO_MONITOR= /mnt/nfs/vrs-recordings/cucmRecording/streams/
  1. 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/
  1. 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/"
  1. 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.

  1. run the install script. ./install-cisco.sh

  2. Do the same for the other VRS

...