<p>George Joseph <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/13209">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Kevin Harwell: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved; Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">parking: Fix case where we can't get the parker.<br><br>ASTERISK-28616<br><br>Change-Id: Iabe31ae38d01604284fcc5c2438d44e29a32ea4d<br>---<br>M res/parking/parking_bridge.c<br>1 file changed, 4 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/res/parking/parking_bridge.c b/res/parking/parking_bridge.c</span><br><span>index bfbe55f..981ef81 100644</span><br><span>--- a/res/parking/parking_bridge.c</span><br><span>+++ b/res/parking/parking_bridge.c</span><br><span>@@ -273,8 +273,10 @@</span><br><span>    blind_transfer = pbx_builtin_getvar_helper(bridge_channel->chan, "BLINDTRANSFER");</span><br><span>      blind_transfer = ast_strdupa(S_OR(blind_transfer, ""));</span><br><span>    ast_channel_unlock(bridge_channel->chan);</span><br><span style="color: hsl(0, 100%, 40%);">-    if ((!parker || !strcmp(parker->name, ast_channel_name(bridge_channel->chan)))</span><br><span style="color: hsl(0, 100%, 40%);">-            && !ast_strlen_zero(blind_transfer)) {</span><br><span style="color: hsl(120, 100%, 40%);">+        if (!parker || !strcmp(parker->name, ast_channel_name(bridge_channel->chan))) {</span><br><span style="color: hsl(120, 100%, 40%);">+         /* Even if there is no BLINDTRANSFER dialplan variable then blind_transfer will</span><br><span style="color: hsl(120, 100%, 40%);">+                * be an empty string.</span><br><span style="color: hsl(120, 100%, 40%);">+                 */</span><br><span>          parker_channel_name = blind_transfer;</span><br><span>        } else {</span><br><span>             parker_channel_name = parker->name;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/13209">change 13209</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/c/asterisk/+/13209"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: certified/13.21 </div>
<div style="display:none"> Gerrit-Change-Id: Iabe31ae38d01604284fcc5c2438d44e29a32ea4d </div>
<div style="display:none"> Gerrit-Change-Number: 13209 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>