<p>Joshua Colp <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/5892">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Joshua Colp: Looks good to me, but someone else must approve; Approved for Submit
Richard Mudgett: Looks good to me, approved
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bridge: stuck channel(s) after failed attended transfer<br><br>If an attended transfer failed it was possible for some of the channels<br>involved to get "stuck" because Asterisk was not hanging up the transfer target.<br><br>This patch ensures Asterisk hangs up the transfer target when an attended<br>transfer failure occurs.<br><br>ASTERISK-27075 #close<br><br>Change-Id: I98a6ecd92d3461ab98c36f0d9451d23adaf3e5f9<br>---<br>M main/bridge.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/bridge.c b/main/bridge.c<br>index b2beb86..63d6e11 100644<br>--- a/main/bridge.c<br>+++ b/main/bridge.c<br>@@ -4787,7 +4787,7 @@<br> res = AST_BRIDGE_TRANSFER_SUCCESS;<br> <br> end:<br>- if (res == AST_BRIDGE_TRANSFER_SUCCESS && hangup_target) {<br>+ if ((res == AST_BRIDGE_TRANSFER_SUCCESS && hangup_target) || res == AST_BRIDGE_TRANSFER_FAIL) {<br> ast_softhangup(to_transfer_target, AST_SOFTHANGUP_DEV);<br> }<br> <br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/5892">change 5892</a>. To unsubscribe, 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/5892"/><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: I98a6ecd92d3461ab98c36f0d9451d23adaf3e5f9 </div>
<div style="display:none"> Gerrit-Change-Number: 5892 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>