[asterisk-users] Deleting voicemail by program

Mike Diehl mdiehl at diehlnet.com
Mon Oct 9 14:24:59 CDT 2023


Unfortunately, I'm using a version of asterisk that is old enough to not 
benefit from this... <grin>

Mike.

On Monday, October 9, 2023 3:15:45 PM EDT Michael Bradeen wrote:
> Hi Mike,
> 
> New AMI actions were recently added to app_voicemail to let you remotely
> manipulate a mailbox:
> https://github.com/asterisk/asterisk/issues/181
> 
> Hope this helps.
> 
> BR,
> -Mike
> 
> On Mon, Oct 9, 2023 at 1:06 PM Mike Diehl <mdiehl at diehlnet.com> wrote:
> > Hi all,
> > 
> > I need to be able to delete a voicemail message using a program.
> > 
> > Is is sufficient to simply delete the .wav and .txt files in the spool
> > directory?
> > Or do I need to also renumber the remaining files?
> > 
> > For example, let say a given mailbox has 20 messages in it and I want to
> > delete message number 5.  Can I just delete the 2 files and expect that
> > asterisk will renumber them?  Or do I need to?
> > 
> > Also, is the answer the same when I migrate to storing voicemails in a
> > database?
> > 
> > Thanks in advance.
> > 
> > Mike
> > 
> > 
> > 
> > --
> > _____________________________________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> > 
> > Check out the new Asterisk community forum at:
> > https://community.asterisk.org/
> > 
> > New to Asterisk? Start here:
> >       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
> > 
> > asterisk-users mailing list
> > 
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users







More information about the asterisk-users mailing list