<p>Friendly Automation <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14028">View Change</a></p><div style="white-space:pre-wrap">Approvals:
George Joseph: Looks good to me, approved; Verified
Friendly Automation: Approved for Submit
Kevin Harwell: Looks good to me, but someone else must approve
</div><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;"><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-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>