<p>Corey Farrell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/7591">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_sip: Add security event for calls to invalid extension.<br><br>Log a message to security events when an INVITE is received to an<br>invalid extension.<br><br>ASTERISK-25869 #close<br><br>Change-Id: I0da40cd7c2206c825c2f0d4e172275df331fcc8f<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/91/7591/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/channels/chan_sip.c b/channels/chan_sip.c<br>index 4bae39d..b057300 100644<br>--- a/channels/chan_sip.c<br>+++ b/channels/chan_sip.c<br>@@ -26460,6 +26460,7 @@<br> ast_log(LOG_NOTICE, "Call from '%s' (%s) to extension"<br> " '%s' rejected because extension not found in context '%s'.\n",<br> S_OR(p->username, p->peername), ast_sockaddr_stringify(&p->recv), decoded_exten, p->context);<br>+ sip_report_failed_acl(p, "no_extension_match");<br> }<br> break;<br> case SIP_GET_DEST_REFUSED:<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7591">change 7591</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/7591"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I0da40cd7c2206c825c2f0d4e172275df331fcc8f </div>
<div style="display:none"> Gerrit-Change-Number: 7591 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>