Oh wow. I feel stupid, sorry about that. I think I have what you are looking for, this is the dbug log when refreshing the call log page
2014-Aug-06 16:20:57 /var/www/html/admin/modules/cxpanel/brand.php:3
[WARNING]: file_get_contents(/etc/schmooze/operator-panel-brand): failed to open stream: No such file or directory
There are too many vagaries as to how FreePBX treats legacy directory settings in itās various modules, I suspect the venerable ā/var/www/html/recordingsā
You could try the underlying non ācleverā linux method of :-
Create a monitor folder with owner:group asterisk:asterisk permission 777.
the Asterisk script will look for the folder monitor.
i.e: I want my recordings on: /recordings/monitor #cd /recordings #mkdir monitor
I donāt think there are many Elastix users out there anymore. An easier way is to just change the āastspooldirā as referenced in /etc/asterisk/asterisk.conf, I believe you can set it in āadvanced settingsā of the GUI if you override the readonly settings
edit:
I forgot to state , if you use a remote FileSystem then you really should add
If youāre changing the base file directory in which you want to store the call recordings and are fine with the YEAR/MONTH/DAY sub-directory format then just edit globals_custom.conf and add a single like that is:
This will now set the global var ${MIXMON_DIR} which all MixMonitor() commands in the dialplan use for the default path. If that is empty then it defaults to the /var/spool/asterisk/monitor/ location.
So your recordings would end up in /home/recordings/2018/08/25 for recordings on Aug 25th 2018 if you set the MIXMON_DIR to /home/recordings/
I use the backup and restore module to backup call recordings to my desktop each night. I use Filezilla server on my desktop then add my desktop as a server in PBX. I then use Allways Sync on my desktop to push those backups to Google Drive.
One challenge I have found with this is I canāt just backup new recordings. If I backup the directory __ASTSPOOLDIR__/monitor/2019 it will backup all recordings from 01/01/19 to 08/01/19 one night, then 01/01/19 to 08/02/19 the next night, etc. I have mitigated this slightly by using __ASTSPOOLDIR__/monitor/2019/08 for my backup directory. I just go in to my PBX on the first of the month to change the directory to __ASTSPOOLDIR__/monitor/2019/09"ā¦etc. Otherwise, the backup files can get pretty large.
Can you tell me the step for changing default directory /var/spool/asterisk/monitor to new mounted (2-TB USB) /media/monitoring.
and what are the permission command i have to give.