Call recording location

Commercial and business-oriented Asterisk discussion.

Moderator: Moderator

Call recording location

Postby peter_l44 » Mon Jul 21, 2014 11:24 pm

Hi ,

Call recording is working fine in my asterisk.The recorded calls will save in var/spool/asterisk/monitor.If i want to record the file in some other location what should i do.for eg) I want to record the calls in some other external device which was attached to the system.please reply
Posts: 66
Joined: Thu Feb 06, 2014 10:35 pm

Re: Call recording location

Postby constantinp » Tue Jul 22, 2014 12:48 pm

MixMonitor() accepts a full path to the destination.
Posts: 47
Joined: Fri Aug 10, 2012 8:00 am

Re: Call recording location

Postby danifr » Wed Dec 10, 2014 8:13 am


you can move the /var/spool/asterisk/monitor/ to a backup directory.
Code: Select all
mv /var/spool/asterisk/monitor /var/spool/asterisk/monitor-bak

create a symbolic link to your external device (usb, nfs etc.). I assume that you have mounted it already.
Code: Select all
ln -s /mnt/usb/recordings /var/spool/asterisk/monitor

after a successful symbolic link creation give it the appropriate permissions (asterisk user generally).
Code: Select all
chown -Rf asterisk. /var/spool/asterisk/monitor

do not forget to issue the chown command on the real location of the external device.
Code: Select all
chown -Rf asterisk. /mnt/usb/recordings

copy/move the old recordings files from your backup to the new location.
Code: Select all
cp /var/spool/asterisk/monitor-bak/* /mnt/usb/recordings

please contact me if you would need more assistance.

Best regards,

Mr. Daniel Friedman
Trixton LTD.

Tel: 972.72.2557000
Mobile: 972.50.6655579
Posts: 2
Joined: Thu Nov 30, 2006 3:28 am
Location: Israel

Return to Asterisk Biz & Jobs

Who is online

Users browsing this forum: No registered users and 1 guest