Disabling automatic recording deletion

All installation and configuration problems and questions

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

Disabling automatic recording deletion

Postby Kristyan » Sun Oct 16, 2016 4:31 pm

Hello everyone and as a new member sorry for the errors on this thread.

What should i do here after issuing the command crontab e:
My problem is my server automatically removes recordings in my server. Pls seed help!!!

UPON ISSUING COMMAND
crontab -e
UW PICO 5.07 File: /tmp/crontab.t7nIF7 Modified

### remove old recordings more than 7 days old, and delete originals after 1 day
#24 0 * * * /usr/bin/find /var/spool/asterisk/monitorDONE -maxdepth 2 -type f -mtime +7 -print | xargs rm -f
24 1 * * * /usr/bin/find /var/spool/asterisk/monitorDONE/ORIG -maxdepth 2 -type f -mtime +1 -print | xargs rm -f

### kill Hangup script for Asterisk updaters
* * * * * /usr/share/astguiclient/AST_manager_kill_hung_congested.pl

### updater for voicemail
* * * * * /usr/share/astguiclient/AST_vm_update.pl

### updater for conference validator
* * * * * /usr/share/astguiclient/AST_conf_update.pl

### reset several temporary-info tables in the database
2 1 * * * /usr/share/astguiclient/AST_reset_mysql_vars.pl

### Reboot nightly to manage asterisk issues and memory leaks - uncomment if issues arise
#30 6 * * * /sbin/reboot

### remove text to speech file more than 4 days old
#20 0 * * * /usr/bin/find /var/lib/asterisk/sounds/tts/ -maxdepth 2 -type f -mtime +4 -print | xargs rm -f

## uncomment below if you want to log agent phone_ip
#*/5 * * * * /usr/share/astguiclient/AST_phone_update.pl --agent-lookup

Version:
VERSION: 2.12-552a
BUILD: 160429-0835
© 2016 ViciDial Group

Vicibox Mode
Vicibox Express
Kristyan
 
Posts: 20
Joined: Mon Apr 18, 2016 3:07 pm

Re: Disabling automatic recording deletion

Postby hansg » Sun Oct 16, 2016 7:29 pm

Is the server deleting the original recording or a converted MP3 version?

It looks as if you don't have any recording conversions in place and you also have a line asking the server to delete any recordings older than a day (24 1 * * * /usr/bin/find /var/spool/asterisk/monitorDONE/ORIG -maxdepth 2 -type f -mtime +1 -print | xargs rm -f)

Comment out that line by placing a "#" before it. That will stop the recordings from being deleted.
Dual Core - 4GB DDR3 - 80GB SSD
Vicibox 9
VERSION: 2.14-751a
BUILD: 200425-0949
SSL Installed
hansg
 
Posts: 129
Joined: Wed May 11, 2016 8:56 pm

Re: Disabling automatic recording deletion

Postby Kristyan » Thu Oct 20, 2016 2:45 pm

thank you it works!
Kristyan
 
Posts: 20
Joined: Mon Apr 18, 2016 3:07 pm


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 98 guests