[asterisk-users] Delete voicemails after X days
Atlanticnynex
atlanticnynex at gmail.com
Mon May 21 12:17:44 MST 2007
You could schedule a cron job to run a shell script to delete any files in
the /..../voicemail/*/Old/ directory that are older than the amount of time
specified. You could craft something up by comparing the date modification
timestamp from `ls -l` or the access modification from `ls -lu`(?). I don't
know of any Asterisk features to delete the older voicemail.
-kn0x
On 5/21/07, David Florella <dflorella at legos.fr> wrote:
>
> Hello,
>
>
>
> I want to delete the voicemail messages that are in the *"Old"
> * voicemail directory, 7 days after the listening of the message by the
> user. Is someone as an idea how to do that???
>
>
>
> Thanks.
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070521/03fa2566/attachment.htm
More information about the asterisk-users
mailing list