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 <[email protected]> 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: [email protected] [mailto:
> [email protected]] 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" <[email protected]> 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 <[email protected]>
> 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
>
--
_____________________________________________________________________
-- 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