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.
<br><br>-kn0x<br><br><div><span class="gmail_quote">On 5/21/07, <b class="gmail_sendername">David Florella</b> <<a href="mailto:dflorella@legos.fr">dflorella@legos.fr</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="FR">
<div>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Hello, </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">I want to delete the voicemail
messages that are in the <i><span style="font-style: italic;">"Old"</span></i>
voicemail directory, 7 days after the listening of the message by the user. Is
someone as an idea how to do that???</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Thanks.</span></font></p>
</div>
</div>
<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com</a> --<br><br>
asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br></blockquote></div><br>