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 <[EMAIL PROTECTED]> 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 >
_______________________________________________ -- 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
