<font color="#000066"><font><font face="tahoma,sans-serif">I use find on a cron schedule to remove old recordings everyday. Im sure you can do the same</font></font></font><div><font color="#000066"><font><font face="tahoma,sans-serif"><br>
</font></font></font></div><div><font color="#000066"><font><font face="tahoma,sans-serif">find -H /var/log/asterisk/asterisk_rec/* -mtime +90 -type f -exec rm -v {} \;</font></font></font></div><div><font color="#000066"><font><font face="tahoma,sans-serif"><br>
</font></font></font></div><div><font color="#000066"><font><font face="tahoma,sans-serif">anything older than 90 days<br></font></font></font><br><div class="gmail_quote">On 27 May 2012 09:20, Eric Wieling <span dir="ltr"><<a href="mailto:EWieling@nyigc.com" target="_blank">EWieling@nyigc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I believe one of the patches involved in fixing for The Great Voicemail Problem* about a year ago was to make voicemail automatically renumber the mailbox files if it saw a gap.<br>
<br>
* from memory: The Great Voicemail Problem is a bug where if you received a new voicemail while listening to a message, the mailbox was not renumbered correctly when you deleted a message.<br>
<div class="im"><br>
-----Original Message-----<br>
From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of Danny Dias<br>
Sent: Saturday, May 26, 2012 10:54 PM<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
Subject: Re: [asterisk-users] Deleting OLD Voicemails<br>
<br>
I did not understand. What do you mean with renumber all the messages?<br>
<br>
El 25/05/2012 02:27, "Edwin Lam" <<a href="mailto:edwin.lam@officegeneral.com">edwin.lam@officegeneral.com</a>> escribió:<br>
<br>
<br>
On 5/23/12 2:42 AM, Danny Dias wrote:<br>
<br>
<br>
Can i delete like this:<br>
<br>
rm -rf /var/spool/asterisk/voicemail/voicemailcontextcustomer/300/INBOX/*.*<br>
<br>
Is that ok? will this break something?<br>
<br>
<br>
<br>
that's ok<br>
no it shouldn't break anything.<br>
however if you're going to delete some of the messages. you have to<br>
renumber all the messages so that they are consecutive otherwise<br>
the voicemail application may give you grief.<br>
<br>
<br>
<br>
A little doubt here, once the user hears the voicemail using the phone, the<br>
message is automatically moved to Old folder, is that right?<br>
<br>
<br>
<br>
yes<br>
<br>
<br>
--<br>
Edwin Lam <<a href="mailto:edwin.lam@officegeneral.com">edwin.lam@officegeneral.com</a>><br>
Systems Engineer, OfficeWyze, Inc.<br>
</div> Ph: <a href="tel:%2B1%20415%20439%204988" value="+14154394988">+1 415 439 4988</a> <tel:%2B1%20415%20439%204988> Fax: <a href="tel:%2B1%20415%20283%203370" value="+14152833370">+1 415 283 3370</a> <tel:%2B1%20415%20283%203370><br>
<a href="http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20" target="_blank">http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20</a> <<a href="http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20" target="_blank">http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20</a>><br>
<div class="im"><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
</div> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a> <<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a>><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div>