<p>Friendly Automation <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/10845">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Joshua C. Colp: Looks good to me, but someone else must approve
  Kevin Harwell: Looks good to me, approved
  Friendly Automation: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_voicemail: Fix Channel variable VM_MESSAGEFILE for "urgent" voicemail<br><br>If a voicemail is marked "urgent" then the VM_MESSAGEFILE channel variable is<br>not updated correctly since urgent messages are in a different directory. The<br>fix is to update the channel variable when the path to the urgent message is<br>created.<br><br>ASTERISK-28225<br><br>Change-Id: I8efbace06e6122ea0793f7bdb073d4378e8274ca<br>---<br>M apps/app_voicemail.c<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c</span><br><span>index 1dd7aa0..06b2720 100644</span><br><span>--- a/apps/app_voicemail.c</span><br><span>+++ b/apps/app_voicemail.c</span><br><span>@@ -7056,6 +7056,7 @@</span><br><span>                                           RENAME(dir, msgnum, vmu->mailbox, vmu->context, urgdir, x, sfn, dfn);</span><br><span>                                          /* Notification must happen for this new message in Urgent folder, not INBOX */</span><br><span>                                              ast_copy_string(fn, dfn, sizeof(fn));</span><br><span style="color: hsl(120, 100%, 40%);">+                                         pbx_builtin_setvar_helper(chan, "VM_MESSAGEFILE", fn);</span><br><span>                                             msgnum = x;</span><br><span>                                  }</span><br><span> #endif</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/10845">change 10845</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/10845"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I8efbace06e6122ea0793f7bdb073d4378e8274ca </div>
<div style="display:none"> Gerrit-Change-Number: 10845 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Bryan Boatright <ast-bugs@omega71.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Joshua C. Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>