Transfer Recordings to Another Server

Hi,

As we all know, the recordings are normally saved by default in /var/spool/asterisk/monitor directory. We have another backup FreePBX server and its a fresh install.

My question is: What do I need to modify on the configuration so that the recordings are saved not in the /var/spool/asterisk/monitor directory of our main server but rather in the /var/spool/asterisk/monitor directory of our backup PBX server.

Thanks,
Mike

Not sure if this is useful for you but I’m copying the recordings to another server (not Asterisk but a CentOS webserver). I use rsync to do this and made a cronjob to do it every hour.

59 * * * * rsync -zrltD --no-perms /var/spool/asterisk/monitor/ [email protected]:/var/www/html/media/

Nice! Thanks James! Let me give this a try.

~
Mike