Merge "app_voicemail: Fix Channel variable VM_MESSAGEFILE for "urgent" voicemail" into 16

This commit is contained in:
Joshua C. Colp 2019-01-14 06:19:57 -06:00 committed by Gerrit Code Review
commit 72fdba63a8
1 changed files with 1 additions and 0 deletions

View File

@ -7091,6 +7091,7 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, struct leave_vm_
RENAME(dir, msgnum, vmu->mailbox, vmu->context, urgdir, x, sfn, dfn);
/* Notification must happen for this new message in Urgent folder, not INBOX */
ast_copy_string(fn, dfn, sizeof(fn));
pbx_builtin_setvar_helper(chan, "VM_MESSAGEFILE", fn);
msgnum = x;
}
#endif