<p>Joshua Colp <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/7251">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bridge_basic: Ignore answer from transfer target when they've timed out.<br><br>This is a fun one.<br><br>Given the following attended transfer scenario:<br><br>1. Transfer target is called<br>2. Transferer hangs up<br>3. Transfer target call attempt reaches timeout<br>4. Transfer target is told to hang up<br>5. Transfer target answers before channel is hung up<br>6. Transferer recall target is called<br><br>A crash would occur. This is because the transfer target call<br>attempt, despite being told to hang up, would raise a recall<br>target answer before the recall target had been answered. As it<br>had not answered there would be no recall target channel and it<br>would implode.<br><br>This change makes it so that if the transfer target has been<br>hung up we don't tell the attended transfer code that it has<br>answered. We also clear out the stimulus that the recall target<br>has been answered after telling the transfer target to hang up,<br>in case it was able to raise the information before we told it<br>to hangup.<br><br>ASTERISK-27361<br><br>Change-Id: Ifb8b255a9c4d2c5c1b8ad77bf54f659ed286df99<br>---<br>M main/bridge_basic.c<br>1 file changed, 23 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/51/7251/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/7251">change 7251</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/7251"/><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: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Ifb8b255a9c4d2c5c1b8ad77bf54f659ed286df99 </div>
<div style="display:none"> Gerrit-Change-Number: 7251 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>