Feature #173
closed
Added by Tanmay Baid over 13 years ago.
Updated about 12 years ago.
Assignee:
Januarius Manipol
Description
the folder /var/spool/monitorDONE/GSM and /var/spool/monitorDONE/ORIG becomes very bulky after few days
what we can do is, we can create folders day-wise to keep recordings along with root folder as month, viz..
month folders under /var/spool/monitorDONE/GSM as 012011 (for jan 2011) then under this days folders as 01012011 (1st jan 2011) and then the recordings under this folder...
similarly for /var/spool/monitorDONE/ORIG
it would really be nice...
Its advisable to enable the below script to refrain bulky issue into your server.
- remove old recordings more than 14 days old
24 0 * * * /usr/bin/find /var/spool/asterisk/monitorDONE/ORIG/ -maxdepth 2 -type f -mtime +14 -print | xargs rm -f
The best place to post for issues like feature/bug is the issue tracker and I recommend to post in the forum for support issues.
Thanks for your response manansala@
I suggested the feature because there can be cases one dont want to remove recordings. but need to parse them regularly.
In such cases after few days the recording folders becomes so bulky that they cant be loaded over browser and it becomes hard for user to parse them.
In my local machine i have modified the script so as to make datewise folders for recordings :)
i am sure you guys can do the same more efficiently.
Thanks !
-
Tanmay
- Status changed from New to Closed
Also available in: Atom
PDF
Go to top