Skip to main content

Voicemail deletion

Posted by Lucas Stutesman on Wed, 02/24/2016

Is there a way to set voicemail to keep messages for X days and then delete.

Right now I know we can set each user to delete messages after delivery, but that doesn't allow for emails failing. We'd like to be able to delete after a week or a month without needing to monitor the actual mailbox.

Is this presently possible?


Submitted by thirdlane on Tue, 03/22/2016 Permalink

We left this to the administrators to control, the system is open so that administrators can set their own policy.

Could somebody share their policies and scripts?

Submitted by eeman on Wed, 07/13/2016 Permalink

its possible if your voicemail is stored on a filesystem and not in the database. There is a contribution script bundled with the asterisk software that does this. I modified this script to adapt to MTE and its tenants.