[asterisk-users] Deleting voicemail by program

Michael Bradeen mbradeen at sangoma.com
Mon Oct 9 14:15:45 CDT 2023


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20231009/851f25b4/attachment.html>


More information about the asterisk-users mailing list