[asterisk-users] Deleting OLD Voicemails
Tiago Geada
tiago.geada at gmail.com
Sun May 27 05:06:18 CDT 2012
I use find on a cron schedule to remove old recordings everyday. Im sure
you can do the same
find -H /var/log/asterisk/asterisk_rec/* -mtime +90 -type f -exec rm -v {}
\;
anything older than 90 days
On 27 May 2012 09:20, Eric Wieling <EWieling at nyigc.com> wrote:
>
> 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.
>
> * 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.
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:
> asterisk-users-bounces at lists.digium.com] On Behalf Of Danny Dias
> Sent: Saturday, May 26, 2012 10:54 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Deleting OLD Voicemails
>
> I did not understand. What do you mean with renumber all the messages?
>
> El 25/05/2012 02:27, "Edwin Lam" <edwin.lam at officegeneral.com> escribió:
>
>
> On 5/23/12 2:42 AM, Danny Dias wrote:
>
>
> Can i delete like this:
>
> rm -rf
> /var/spool/asterisk/voicemail/voicemailcontextcustomer/300/INBOX/*.*
>
> Is that ok? will this break something?
>
>
>
> that's ok
> no it shouldn't break anything.
> however if you're going to delete some of the messages. you have to
> renumber all the messages so that they are consecutive otherwise
> the voicemail application may give you grief.
>
>
>
> A little doubt here, once the user hears the voicemail
> using the phone, the
> message is automatically moved to Old folder, is that right?
>
>
>
> yes
>
>
> --
> Edwin Lam <edwin.lam at officegeneral.com>
> Systems Engineer, OfficeWyze, Inc.
> Ph: +1 415 439 4988 <tel:%2B1%20415%20439%204988> Fax: +1 415
> 283 3370 <tel:%2B1%20415%20283%203370>
> http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20 <
> http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20>
>
>
> --
>
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com--
> New to Asterisk? Join us for a live introductory webinar every
> Thurs:
> http://www.asterisk.org/hello
>
> 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 http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> 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/20120527/f86ce525/attachment.htm>
More information about the asterisk-users
mailing list