Skip to main content

Automatic remove older voicemails

Posted by diffen on Wed, 04/27/2011

Hello

Are there any built in feature that remove voicemails that are older then say one month? I have noticed in our system that people are not that good at deleting old voicemails or even listening to them.

So Im thinking about removing voicemails that are more then three months automatically that are stored in the users INBOX.

Br

Jörgen


Submitted by eeman on Wed, 04/27/2011 Permalink

yes, one sample script comes with the asterisk source code. It works for STE right out of the box. With some perl modifications you can pass an argument to the script that includes the context aka tenant directory to search underneath, necessary for MTE version. With a combination of this script and a simple bash scripted 'for' loop you can achieve exactly what your looking for.