How to make FreePBX recordings available in Asternic CDR Reports PRO

Asternic CDR Reports can be configured to listen/download to recordings if they are stored in the CDR tables already.

Different backends might use different ways to store that meta data. In this article we will describe the needed settings to make recordings availabe with FreePBX version 12 and up.

Log as an administrator into Asternic CDR Reports PRO by pointing your browser to http://your.server/cdrstats and select Setup / Preferences from the menu.

Once there be sure to add the following setting:

keyword: recording_field
parameter:
value: recordingfile

The above settings indicates that the filename for the recording is to be found on the recordingfile field on the CDR table.

Now add another setting:

keyword: recordings_path
parameter:
value: /var/spool/asterisk/monitor/%Y/%m/%d

The above setting will instruct CDR Reports to find the actual recording file over the directory /var/spool/asterisk/monitor and the YEAR / MONTH / DAY subdirectories.

Now add this final setting:

keyword: recordings_basedir
parameter:
value: /var/spool/asterisk/monitor

This one is there for security reasons, to not let downloads *outside* from /var/spool/asterisk/monitor to happen.

With those settings in place, you will see icons to play/download recordings if they are available on your system.

 


Did you find this article useful?