<p> Attention is currently required from: Michael Bradeen, George Joseph. </p>
<p>Michael Bradeen <strong>uploaded patch set #4</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/19413">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip: prevent crash on websocket disconnect<br><br>When a websocket (or potentially any stateful connection) is quickly<br>created then destroyed, it is possible that the qualify thread will<br>destroy the transaction before the initialzing thread is finished<br>with it.<br><br>Depending on the timing, this can cause an assertion within pjsip.<br><br>To prevent this, ast_send_stateful_response will now create the group<br>lock and add a reference to it before creating the transaction.<br><br>While this should resolve the crash, there is still the potential that<br>the contact will not be cleaned up properly, see:ASTERISK~29286. As a<br>result, the contact has to 'time out' before it will be removed.<br><br>ASTERISK-28689<br><br>Change-Id: Id050fded2247a04d8f0fc5b8a2cf3e5482cb8cee<br>---<br>M res/res_pjsip.c<br>1 file changed, 64 insertions(+), 8 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/13/19413/4</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/19413">change 19413</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/+/19413"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 18 </div>
<div style="display:none"> Gerrit-Change-Id: Id050fded2247a04d8f0fc5b8a2cf3e5482cb8cee </div>
<div style="display:none"> Gerrit-Change-Number: 19413 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: Michael Bradeen <mbradeen@sangoma.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: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Attention: Michael Bradeen <mbradeen@sangoma.com> </div>
<div style="display:none"> Gerrit-Attention: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>