I have a Customer that is going to get FreePBX installed. They would like to record all call on the system but would like to store the calls on an external drive. The System will be running on CentOS.
The recorded calls are stored by default at /var/spool/asterisk/monitor/"year"/"month"/"day"
the filename is stored as .wav files
It would be nice to compress to .mp3 before moving but is not required.
The remote drive will be a NAS on the same LAN and will be located at [url removed, login to view]
Once the files are successfully moved, they will need to be deleted from the host server.
I would like to schedule this as a task that runs every day at 11PM