Recording ARchive

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Recording ARchive

Postby jamesm1470 » Tue May 15, 2012 12:40 pm

I am using the recording archive process and it seems to be working. All recordings are on my FTP server however there are copies of all of the files on the vici server as well. I thought that the Archive process would delete them off of the server once they were transfered? If this is not the case what recordings are safe to delete off the server.





ViciBox Redux 3.1.12 from .iso | Vicidial 2.4-342a Build 111018-1535 | Asterisk 1.4.38-vici | Single Server | Amfeltec timing card | No Extra Software After Installation |
jamesm1470
 
Posts: 9
Joined: Thu Sep 15, 2011 12:23 pm

Re: Recording ARchive

Postby spacejanitor » Tue May 15, 2012 12:53 pm

Ahh, if you wish to delete them also, you will need to run a separate perl script :) Here's the topline comment from that script to give you an idea of what you're looking at...

#!/usr/bin/perl
#
# AST_CRON_purge_recordings.pl version 2.0.5
#
# IMPORTANT!!! used to delete recordings!!!
#
# runs every day, goes through recordings older than a certain number of days
# and deletes those recordings that are not of a certain status
# default is 30 days old to remove non-sales
#
# put an entry into the cron of of your asterisk machine to run this script
# every day or however often you desire
#
# This program assumes that recordings are saved as .wav
# should be easy to change this code if you use .gsm instead
#
# Copyright (C) 2008 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
#
#
# 70917-1339 - first build
#


As far as what's safe to delete - the biggest culprit will be your /var/spool/asterisk/monitorDONE/ORIG directory. These are all the uncompressed WAV files after they have been processed (not necessarily FTPed yet). Assuming you have your archive script set to FTP all your MP3s only, you can safely delete the contents of this directory after each night if you so desire.
http://www.MarketResearchTechnology.com
We are the leading users of ViciDial, LimeSurvey and Drupal in the market research industry. We're also a lead provider- contact us.

Cluster Installation, ViciBox Server
VERSION: 2.6-372a
BUILD: 120713-2123
spacejanitor
 
Posts: 178
Joined: Tue Feb 08, 2011 3:31 pm

Re: Recording ARchive

Postby jamesm1470 » Wed May 23, 2012 4:49 pm

Thank you for your help
jamesm1470
 
Posts: 9
Joined: Thu Sep 15, 2011 12:23 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 56 guests