[asterisk-users] Removing voicemail messages

Justin Case nogoodnameswereavailable at gmail.com
Fri Jul 4 07:32:55 CDT 2008


You don't want to remove the INBOX folder. Also just rm will want you to hit
y to confirm. Try doing rm -rf
/var/spool/asterisk/voicemail/default/100/INBOX/*.*

On Fri, Jul 4, 2008 at 2:57 PM, voip crazy <voipcrazy at gmail.com> wrote:

> Hello,
>
> I want to create an script which remove all the old voicemail messages.
> I make a simple Bash script to delete all the new messages for the
> extension 100. Something like,
>
> rm /var/spool/asterisk/voicemail/defaul/100/INBOX
>
> Should I update any index file or something after reemove them?
>
> Thanks in advance
>
> VoipCrazy
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> 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/20080704/4db22254/attachment.htm 


More information about the asterisk-users mailing list