]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_voicemail: add CLI commands for message manipulation
authorMike Bradeen <mbradeen@sangoma.com>
Tue, 20 Jun 2023 16:32:14 +0000 (10:32 -0600)
committerAsterisk Development Team <asteriskteam@digium.com>
Wed, 21 Feb 2024 13:35:03 +0000 (13:35 +0000)
commitc0ed7b023bb1b2518dfe72a02e1f831ca4b52a57
tree464ff90020f1132ad06b12051f85579687f8b9b4
parent673d3ef9455e000ecd6d4bf575be1207c9fadb23
app_voicemail: add CLI commands for message manipulation

Adds CLI commands to allow move/remove/forward individual messages
from a particular mailbox folder. The forward command can be used
to copy a message within a mailbox or to another mailbox. Also adds
a show mailbox, required to retrieve message ID's.

Resolves: #170

UserNote: The following CLI commands have been added to app_voicemail

voicemail show mailbox <mailbox> <context>
Show contents of mailbox <mailbox>@<context>

voicemail remove <mailbox> <context> <from_folder> <messageid>
Remove message <messageid> from <from_folder> in mailbox <mailbox>@<context>

voicemail move <mailbox> <context> <from_folder> <messageid> <to_folder>
Move message <messageid> in mailbox <mailbox>&<context> from <from_folder> to <to_folder>

voicemail forward <from_mailbox> <from_context> <from_folder> <messageid> <to_mailbox> <to_context> <to_folder>
Forward message <messageid> in mailbox <mailbox>@<context> <from_folder> to
mailbox <mailbox>@<context> <to_folder>

(cherry picked from commit 8f8413b494ef13b06b2cceb4285406c74fd6bb7c)
apps/app_voicemail.c