[RESOLVED] Disable deleting of recorded calls

Asterisk 1.8.1.1
FreePBX 2.7.0.6
CentOS-5.5-x86_64

Hello,

I am looking for a method of DISABLING the ability for users to delete recorded calls (from the db and from the drive) without removing the ability to delete voice mails of course.

I would also like to remove the “Call Monitor Settings” section from the FreePBX User Portal (recordings tab). This part I thought might be easily accomplished by removing or commenting out some HTML/php/css.

Has anyone done either of these? Got any ideas to share?

Any feedback would be much appreciated.

Thanks.

I resolved this on my own, but had a hard time finding the answers in the forums, so I would like to leave this here for others to see.

All of the settings I needed were in the file:

/var/www/html/recordings/includes/main.conf.php

– Here is what I changed –

Added “settings” to this section:

###############################

modules settings

###############################

modules with admin only status (they will not be displayed for regular users)

option: Comma delimited list of module names (ie voicemail,callmonitor,help,settings)

$ARI_ADMIN_MODULES = “settings”;

AND

Changed this value to 0:

Allow call monitor users to delete monitored calls

option: 0 - do not show controls

1 - show controls

$CALLMONITOR_ALLOW_DELETE = 0;

Hah, well, sorry to be so quick to post. Looks like what I need for diableing the abiity to delete is readily available in this file: /var/www/html/recordings/includes/main.conf.php without having to “hack” anything.

Very happy for that!