Freepbx 14 clear call recording

configuration
Tags: #<Tag:0x00007f702421a318>

(Alexkg1 Alexkg1) #1

Installed FreePBX 14.0.11 is licensed under the GPL. Recording conversations and call logs filled the disc. Is there a module that will clear old entries. Is it possible to configure this automatically. Please give information on this subject.


(Mohit Mishra) #2

Please check this one.I hope It will help you.
https://wiki.freepbx.org/display/FPG/Call+Recording+Reports


(Alexkg1 Alexkg1) #3

Thanks, I’m considering free options, maybe just delete the record files from the directory
/var/spool/asterisk/monitor ?


#4

A cron tab entry of

30 1 * * * /usr/bin/find /var/spool/asterisk/monitor/* -mtime +30 -delete >/dev/null

would quietly delete all files in /var/spool/asterisk/monitor/ over 30 days old every morning at 1:30


(Aaron) #5

Yup. If you want to schedule that cron job from within freepbx I normally just create a dummy backup with nothing actually backed up and put the script inside the pre backup script line. Works well.


#6

Still cron though,

crontab -l -u asterisk


(system) closed #7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.