Thank you knox. Finally, I have chosen this solution : find /var/spool/asterisk/voicemail/default/*/Old/ -atime -7|xargs rm f, executed every night by the CRON. However, I would have preferred this feature was implemented in Astrisk.
_____ De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Atlanticnynex Envoyé : lundi 21 mai 2007 21:18 À : Asterisk Users Mailing List - Non-Commercial Discussion Objet : Re: [asterisk-users] Delete voicemails after X days 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 <[EMAIL PROTECTED]> 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 <http://lists.digium.com/mailman/listinfo/asterisk-users>
_______________________________________________ --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
