How can we help you?

How to make available FreePBX recordings in Asternic CDR Reports PRO
Posted by: Nicolás Gudiño Posted on: May-15th, 2016 19:39

How to make available FreePBX recordings 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 settings:

keyword: recording_field
parameter:
value: recordingfile

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

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

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

Finally:

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.


Leave a comment