If you need to delete old recordings on your system, please login to the system shell as a root user and execute command below:
Call Center/Business Edition:
find /opt/pbxware/pw/var/spool/asterisk/monitor -ctime +DAYS > -exec rm {};
Replace +DAYS with the number of days.
For example:
find /opt/pbxware/pw/var/spool/asterisk/monitor -ctime +180 > -exec rm {};
This command will delete all recordings older than 180 days.
Multi-Tenant Edition:
The procedure on MT system is the same if you would like to delete all recordings older than specific number of days, across all tenants.the
However, if you would like to delete recordings on specific tenant only, you will need to add tenant number to the path.
find /opt/pbxware/pw/var/spool/asterisk/monitor/XXX -ctime +DAYS > -exec rm {};
Replace DAYS with the number of days and XXX with Tenant number.
For example:
find /opt/pbxware/pw/var/spool/asterisk/monitor/500 -ctime +180 > -exec rm {};
This command will delete all recordings older than 180 days on tenant 500.