Custom recordings path


How can you define a custom path where  to store the call recordings.

 

Step-by-step guide

If you need to keep the recordings available also in the web interface recording panel, in order to listen and download them:

  1.  rename the directory /var/spool/asterisk/monitor 

    mv /var/spool/asterisk/monitor /var/spool/asterisk/monitor_backup
  2. place a symbolic link in /var/www/html. For example, if you you want to move recordings to /usr/src/myrecordings:

    cd /var/spool/asterisk
    ln -s /usr/src/myrecordings monitor
  3. If you want to copy the already existing recordings, execute:

    mv -f /var/spool/asterisk/monitor_backup/* /usr/src/myrecordings
  4. If the new directory is on var/www/html, you just have to set the path from the xCALLY WEB GUI. Otherwise, If you you want to move recordings e.g. to /usr/src/myrecordings you have to insert a link:

    cd /var/www/html
    ln -s /usr/src/myrecordings myrecordings
  5. In Settings->General->Recordings Custom Path put the link name myrecordings: