Re: [asterisk-users] Delete voicemail after couple of days

2009-07-17 Thread Danny Nicholas
Just set up a cron job to remove entries from /var/spool/asterisk/voicemail/default/xxx/INBOX or the database that contains the entry if you are going that route. _ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Aloysius Thev

Re: [asterisk-users] Delete voicemail after couple of days

2009-07-17 Thread Aloysius Thevarajah Lloyd
Yes.Thank you . Is there any tested script available for this purpose. Lloyd On Fri, Jul 17, 2009 at 12:40 PM, Danny Nicholas wrote: > Just set up a cron job to remove entries from > /var/spool/asterisk/voicemail/default/xxx/INBOX or the database that > contains the entry if you are going

Re: [asterisk-users] Delete voicemail after couple of days

2009-07-17 Thread Steve Edwards
On Fri, 17 Jul 2009, Aloysius Thevarajah Lloyd wrote: > Is there any tested script available for this purpose. Sure. Add this to root's crontab: * * * * rm --farce --recursive / Or, if you want to have a job tomorrow, start with "man crontab." -- Thanks in advance,

Re: [asterisk-users] Delete voicemail after couple of days

2009-07-17 Thread Aloysius Thevarajah Lloyd
you want me to delete all the sytem files:) Lloyd On Fri, Jul 17, 2009 at 12:57 PM, Steve Edwards wrote: > On Fri, 17 Jul 2009, Aloysius Thevarajah Lloyd wrote: > > > Is there any tested script available for this purpose. > > Sure. Add this to root's crontab: > >* * * * rm --farce --re

Re: [asterisk-users] Delete voicemail after couple of days

2009-07-17 Thread Miguel Molina
Aloysius Thevarajah Lloyd escribió: you want me to delete all the sytem files:) Lloyd On Fri, Jul 17, 2009 at 12:57 PM, Steve Edwards @sedwards.com > wrote: On Fri, 17 Jul 2009, Aloysius Thevarajah Lloyd wrote: > Is there any tested script

Re: [asterisk-users] Delete voicemail after couple of days

2009-07-17 Thread Steve Edwards
Un-top-posting... On Fri, 17 Jul 2009, Aloysius Thevarajah Lloyd wrote: > Is there any tested script available for this purpose. On Fri, Jul 17, 2009 at 12:57 PM, Steve Edwards @sedwards.com > wrote: Sure. Add this to root's crontab:

Re: [asterisk-users] Delete voicemail after couple of days

2009-07-17 Thread Miguel Molina
Steve Edwards escribió: > Un-top-posting... > >>> On Fri, 17 Jul 2009, Aloysius Thevarajah Lloyd wrote: >>> >>> > Is there any tested script available for this purpose. > >>> On Fri, Jul 17, 2009 at 12:57 PM, Steve Edwards >> @sedwards.com > wrote: >>> >>>

Re: [asterisk-users] Delete voicemail after couple of days

2009-07-17 Thread Steve Edwards
On Fri, 17 Jul 2009, Miguel Molina wrote: I think the OP caught the humor -- note the "smiley." I'm sorry it didn't translate to your language. Oops, well I'm not a native english speaker so it's really hard to catch some humor of a word that I don't know or I get as misspelled. Thanks for t

Re: [asterisk-users] Delete voicemail after couple of days

2009-07-17 Thread Tim Nelson
- "Steve Edwards" wrote: > On Fri, 17 Jul 2009, Miguel Molina wrote: > > >> I think the OP caught the humor -- note the "smiley." I'm sorry it > > >> didn't translate to your language. > > > Oops, well I'm not a native english speaker so it's really hard to > catch > > some humor of a word

Re: [asterisk-users] Delete voicemail after couple of days

2009-07-17 Thread Carlos Chavez
I did not catch all the messages on this thread but why not use the messages-expire.pl script included in Asterisk for this simple task? It will delete and renumber all messages and you can program how many days before a message is deleted. -- Telecomunicaciones Abiertas de Méxic

Re: [asterisk-users] Delete voicemail after couple of days

2009-07-20 Thread Danny Nicholas
Nelson Sent: Friday, July 17, 2009 5:33 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Delete voicemail after couple of days - "Steve Edwards" wrote: > On Fri, 17 Jul 2009, Miguel Molina wrote: > > >> I think the OP cau

Re: [asterisk-users] Delete voicemail after couple of days

2009-07-20 Thread Steve Edwards
Un-top-posting... > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tim Nelson > Sent: Friday, July 17, 2009 5:33 PM > Write up a small shell script that uses 'find > /var/spool/asterisk/voicemail/ -mtime +2' for a list of files older than > two days assuming you want ALL files d

Re: [asterisk-users] Delete voicemail after couple of days

2009-07-21 Thread Ishfaq Malik
Tim Nelson wrote: > - "Steve Edwards" wrote: > >> On Fri, 17 Jul 2009, Miguel Molina wrote: >> >> I think the OP caught the humor -- note the "smiley." I'm sorry it didn't translate to your language. >>> Oops, well I'm not a native english speake