<p>Chris Savinovich <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/10595">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip: Send a 503 response when overload state if reliable transport.<br><br>When Asterisk's taskprocessors get overloaded we need to reduce the work<br>load. res_pjsip currently ignores new SIP requests and relies on SIP<br>retransmissions in the hope that the overload condition will clear soon<br>enough to handle the retransmitted SIP request.<br>This change adds the following code after ast_taskprocessor_alert_get()<br>has returned TRUE:<br>1- identifies transport type. If non-udp then send a 503 response<br>2- if transport type is udp/udp6 then ignore, as before.<br><br>Change-Id: I1c230b40d43a254ea0f226b7acf9ee480a5d3836<br>---<br>M res/res_pjsip/pjsip_distributor.c<br>1 file changed, 15 insertions(+), 5 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/95/10595/3</pre><p>To view, visit <a href="https://gerrit.asterisk.org/10595">change 10595</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/10595"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I1c230b40d43a254ea0f226b7acf9ee480a5d3836 </div>
<div style="display:none"> Gerrit-Change-Number: 10595 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Chris Savinovich <csavinovich@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </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>