Monitoring

mattrh

Joined
Jul 15, 2008
Messages
175
Likes
0
Points
0
#1
how do u delete all the files in the Monitoring List? i have like 3 months of calls and over 1000 calls. any quick code or anything? thanks for all the help :)
 

Mirko87

Joined
Oct 20, 2008
Messages
128
Likes
0
Points
0
#2
It don't weigh a lot on your HD... if I were you I left the thinkgs like now...


Mirko
 

mattrh

Joined
Jul 15, 2008
Messages
175
Likes
0
Points
0
#3
it records every call, this is a call center and we have a small HDD in this server. so it is taking up a lot of space quickly
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#4
Matt:

From bash:
rm -rf /var/spool/asterisk/monitor/*.wav
from asterisk CLI:
!rm -rf /var/spool/asterisk/monitor/*.wav
from the GUI:
don't use the GUI!


just older than x days?

find /var/spool/asterisk/monitor/*.wav -mtime +x -exec rm {} \\;
 

mattrh

Joined
Jul 15, 2008
Messages
175
Likes
0
Points
0
#5
thanks dicko! ur then MAN!!!
 

ramoncio

Joined
May 12, 2010
Messages
1,663
Likes
0
Points
0
#6
Very nice dicko, as usual.

I didn't know you could run bash commands from the CLI, using a !
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,938
Messages
130,959
Members
17,631
Latest member
nabeel
Top