]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_voicemail: Fix missing email in msg_create_from_file.
authorNaveen Albert <asterisk@phreaknet.org>
Thu, 3 Nov 2022 20:28:23 +0000 (20:28 +0000)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Fri, 9 Dec 2022 03:30:41 +0000 (21:30 -0600)
commit5a78ce5a1fa0c2d85ac00a633cfa237f81c30a79
tree87b6cb51b97a0aa55c7f5c754550244762ff0766
parenta7cd9ce26f97762ddd4c9aa734004d77d458fb20
app_voicemail: Fix missing email in msg_create_from_file.

msg_create_from_file currently does not dispatch emails,
which means that applications using this function, such
as MixMonitor, will not trigger notifications to users
(only AMI events are sent our currently). This is inconsistent
with other ways users can receive voicemail.

This is fixed by adding an option that attempts to send
an email and falling back to just the notifications as
done now if that fails. The existing behavior remains
the default.

ASTERISK-30283 #close

Change-Id: I597cbb9cf971a18d8776172b26ab187dc096a5c7
apps/app_voicemail.c
configs/samples/voicemail.conf.sample
doc/CHANGES-staging/app_voicemail_attachext.txt [new file with mode: 0644]