There is a dialplan "user_record" which will handle most cases of call recordings, you can do your modifications there.
To purge call recordings after 90 days, look at /etc/cron.daily/fusionpbx-backup, or there is https://github.com/fusionpbx/fusionpbx-app-maintenance.