]> 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, 6 Sep 2023 16:46:45 +0000 (16:46 +0000)
commitb05e0fd05ce1ad9f6ac22ea00f62563b6292ff92
tree03267eb32c2e8fe9fc22e8280711468302c6533f
parentd6718db02043738730fe0b08a838dc0f6223e936
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 6aff1c106564a2653cdfd4e669fe1f7cedf85a76)
apps/app_voicemail.c