All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by fibres » Sat Jul 25, 2009 7:53 am
Hi
Can anyone tell me how to get the system to automatically delete the calls from /var/spool/asterisk/ORIG once they have been mixed down?
Regards
-
fibres
-
- Posts: 313
- Joined: Sun May 20, 2007 3:12 pm
- Location: UK
by mflorell » Sat Jul 25, 2009 5:18 pm
You can edit the auido mixing script to do that, or you could change the crontab entries that purge the recordings to do it more often.
-
mflorell
- Site Admin
-
- Posts: 18406
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by ruben23 » Mon Jul 27, 2009 8:35 am
mflorell---> how do we do that, what script should i run, and if on the crontab, can you make some hint no idea.

-
ruben23
-
- Posts: 1161
- Joined: Thu Jul 31, 2008 10:35 am
- Location: Davao City, Philippines
-
by mflorell » Mon Jul 27, 2009 3:54 pm
/usr/bin/find /var/spool/asterisk/monitorDONE -maxdepth 2 -type f -mtime +7 -print | xargs rm -f
just replace the 7 with the number of days old of recordings you want to delete.
-
mflorell
- Site Admin
-
- Posts: 18406
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by ruben23 » Mon Jul 27, 2009 7:33 pm
mflorell is this the script---i manula run this to delete recordings, can i add up this to my cronjobs...? so it will run automatically...

-
ruben23
-
- Posts: 1161
- Joined: Thu Jul 31, 2008 10:35 am
- Location: Davao City, Philippines
-
by mflorell » Mon Jul 27, 2009 11:43 pm
It should already be in your crontab if you did a recent installation or followed the install instructions.
-
mflorell
- Site Admin
-
- Posts: 18406
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by fibres » Wed Jul 29, 2009 4:19 am
Hi Matt
So this will delete all recordings from DONE or from ORIG?
Regards
-
fibres
-
- Posts: 313
- Joined: Sun May 20, 2007 3:12 pm
- Location: UK
by mflorell » Wed Jul 29, 2009 10:16 pm
Yes
-
mflorell
- Site Admin
-
- Posts: 18406
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
Return to Support
Who is online
Users browsing this forum: Bing [Bot] and 142 guests