]> 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)
committerMike Bradeen <mbradeen@sangoma.com>
Wed, 12 Jul 2023 17:36:50 +0000 (17:36 +0000)
commit6aff1c106564a2653cdfd4e669fe1f7cedf85a76
tree301db23b79aa5a890044f99d3ae2bbe6a4e9a93f
parentfe478ddc1455df8b5534186e544aed48127624c6
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>
apps/app_voicemail.c