Recordings Directory

All installation and configuration problems and questions

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

Recordings Directory

Postby puchichagacute » Thu May 23, 2019 6:37 am

Hello, I am not sure if this is supposed to be posted on general discussion or support but would just like to ask how recordings work on Asterisk/Vicidial.

I understand that there two directory and would just want to ask if the
/var/spool/asterisk/monitorDONE/ORIG can be deleted to free up space but this will not affect the mp3 folder as this is where the recordings on the export call report are being pointed into.

/var/spool/asterisk/monitorDONE/ORIG
/var/spool/asterisk/monitorDONE/MP3

Clarifications and suggestions would be much appreciated

Thank you
puchichagacute
 
Posts: 1
Joined: Fri Dec 14, 2018 2:05 am

Re: Recordings Directory

Postby williamconley » Thu May 23, 2019 4:34 pm

1) Welcome to the Party! 8-)

2) As you are obviously new here, I have some suggestions to help us all help you:

When you post, please post your entire configuration including (but not limited to) your installation method (7.X.X?) and vicidial version with build (VERSION: 2.X-XXXx ... BUILD: #####-####).

This IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)

You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "manual/from scratch" you must post your operating system with version (and the .iso version from which you installed your original operating system) plus a link to the installation instructions you used. If your installation is "Hosted" list the site name of the host.

If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.

Similar to This:

Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600

3) .....

Stages:

1: /var/spool/asterisk/monitor - During the call (representing "don't mess with this", usually a virtual drive for speed)
2: /var/spool/asterisk/monitorDONE - After the call (representing "ok, process this")
3: /var/spool/asterisk/monitorDONE/ORIG - After compression, this file contains the "now redundant" uncompressed file. Can be deleted immediately. but keep the folder, just delete the files inside.
4: /var/spool/asterisk/monitorDONE/MP3 - After compression, the MP3 is dropped here indicating "ready for permanent storage" (this is a TEMPORARY folder, files here will not stay long)
5: /var/spool/asterisk/monitorDONE/FTP - After the FTP process pushes the file to an FTP service, the MP3 file is moved from MP3 to FTP to indicate archiving has completed. If everything worked as planned, this file is now redundant.
6: /var/spool/asterisk/monitorDONE/FTP2 - If, however, you have a "redundant backup" configured and are pushing files to a 2nd FTP server, the ".mp3" that was in the FTP folder will get pushed to the 2nd FTP service, and then the file will be moved from FTP to FTP2 indicating that process has completed as well.

The recording scripts in the crontab manage the movement via FTP and FTP2. Each script has its own options (avilable by running the script with "--help" after it) and notes in the trunk /DOCS/ folder and manual.

I recommend this set of options for the ftp script:

Code: Select all
2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --MP3 --run-check --ftp-persistent --ftp-validate


PS: Moving to the Support Board where it belongs. Please read the stickies (posts stuck at the top) on all phpBB forums before posting. They are helpful and there for a reason. 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
SugarCRM integration - Customization and Add-ons - We Bring It All Together.
http://www.PoundTeam.com # 352-269-0000 # +44 (203) 769-2294 # +506 4001-8914
williamconley
 
Posts: 18828
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 22 guests