If you need to delete old recordings on your system:
Please note, pro
Login to the system shell as a root user and execute command below:
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.
Procedure on MT system is the same if you would like to delete all recordings older than specific number of days, across all tenants.
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.