<p>Joshua Colp has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14028">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_sip: Send 403 when ACL fails.<br><br>Change-Id: I0910c79196f2b7c7e5ad6f1db95e83800ac737a2<br>---<br>M channels/chan_sip.c<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/28/14028/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/channels/chan_sip.c b/channels/chan_sip.c</span><br><span>index 3522cd9..d25b139 100644</span><br><span>--- a/channels/chan_sip.c</span><br><span>+++ b/channels/chan_sip.c</span><br><span>@@ -19494,6 +19494,7 @@</span><br><span> case AUTH_UNKNOWN_DOMAIN:</span><br><span> case AUTH_PEER_NOT_DYNAMIC:</span><br><span> case AUTH_BAD_TRANSPORT:</span><br><span style="color: hsl(120, 100%, 40%);">+ case AUTH_ACL_FAILED:</span><br><span> ast_log(LOG_NOTICE, "Failed to authenticate device %s for %s, code = %d\n",</span><br><span> sip_get_header(req, "From"), sip_methods[p->method].text, res);</span><br><span> response = "403 Forbidden";</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14028">change 14028</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/+/14028"/><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-Change-Id: I0910c79196f2b7c7e5ad6f1db95e83800ac737a2 </div>
<div style="display:none"> Gerrit-Change-Number: 14028 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>