]> 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>
Thu, 8 Dec 2022 18:18:14 +0000 (12:18 -0600)
commit9e14523ca36fcd3bc7e3604015e99a8dee11fb9b
treec4e5e7f3529845f28e8a9938fcb01f66ec044aed
parent52ed64e38a88e8ecb2f986ef4106fb566f03d895
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]