[asterisk-users] Deleting OLD Voicemails

Johann Steinwendtner steinwendtner at gmx.net
Wed May 23 05:25:56 CDT 2012


Please check out the scripts located in contrib/scripts

Regards

Hans

On 2012-05-23 11:42, Danny Dias wrote:
> Hi, thanks for your answers...
>
> Can i delete like this:
>
> rm -rf /var/spool/asterisk/voicemail/voicemailcontextcustomer/300/INBOX/*.*
>
> Is that ok? will this break something?
>
> A little doubt here, once the user hears the voicemail using the phone, the message is automatically moved to Old folder, is that right?
>
> Many thanks!
>
>
>
> 2012/5/23 Mehmet Avcioglu <mehmet at activecom.net <mailto:mehmet at activecom.net>>
>
>
>     You can delete old files, it won't break anything. Also to prevent saving files in multiple formats, edit voicemail.conf and change format parameter under general.
>
>     --
>     Mehmet Avcioglu
>     mehmet at activecom.net <mailto:mehmet at activecom.net>
>
>     On May 23, 2012, at 1:03 AM, Danny Dias wrote:
>
>>     Thanks Jason,
>>
>>     But how to delete them? there are a lot of old voicemails, but i don't want to break the app_voicemail.
>>
>>
>>
>>     2012/5/22 Jason Parker <jparker at digium.com <mailto:jparker at digium.com>>
>>
>>         On 05/22/2012 04:54 PM, Danny Dias wrote:
>>         > There are 4 files for each voicemail:
>>         >
>>         > msg0000.gsm
>>         > msg0000.txt
>>         > msg0000.wav
>>         > msg0000.WAV
>>         >
>>
>>         That is perfectly normal.  The .txt file is metadata that contains things like
>>         caller ID and duration.  Asterisk will also save voicemails into every format
>>         you have specified in voicemail.conf.
>>




More information about the asterisk-users mailing list