expire voicemail after x days?

FirebornX

Joined
Jun 29, 2010
Messages
5
Likes
0
Points
0
#1
Is there a way to have voicemail messages for an extension expire and be deleted after a certain amount of time?
 

ramoncio

Joined
May 12, 2010
Messages
1,663
Likes
0
Points
0
#2
Hi FirebornX, wellcome to the forums!
Con este comando eliminas voicemails de más de 60 días. Si lo pones en crontab lo puedes automatizar.

Code:
find /var/spool/asterisk/voicemail/* -mtime +60 | xargs rm -rf
 

FirebornX

Joined
Jun 29, 2010
Messages
5
Likes
0
Points
0
#3
Well that's a good start, gracias senor
(pardon me if that's spelt wrong, I'm terrible at spanish)

Is there any way to get more specific, say expiring voicemail from an individual extension?
 

ramoncio

Joined
May 12, 2010
Messages
1,663
Likes
0
Points
0
#4
Exactly the same, but:


/var/spool/asterisk/voicemail/default/hereyourextensionnumber/*
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top