diff options
author | Jenkins2 <jenkins2@gerrit.asterisk.org> | 2017-12-18 09:06:10 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-12-18 09:06:10 -0600 |
commit | fe248859614b9163dc9966e5fd641d2703d3e175 (patch) | |
tree | 4271ae3a0733234605828253ed9e426d50cd7cf9 | |
parent | 6b395dd3ed161d5611f6d6c34756de53c98615ab (diff) | |
parent | fc43371c0eb01c340f8020767c48f8a1cf71752d (diff) |
Merge "chan_sip: Add security event for calls to invalid extension." into 15
-rw-r--r-- | CHANGES | 5 | ||||
-rw-r--r-- | channels/chan_sip.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -21,6 +21,11 @@ Core Asterisk is compiled with the LOW_MEMORY compile time option enabled because the cache code does not exist. +chan_sip +------------------ + * Calls to invalid extensions are now reported as an ACL failure security event + "no_extension_match". + res_rtp_asterisk ------------------ * The X.509 certificate used for DTLS negotation can now be automatically diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 4bae39da0..b0573002b 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -26460,6 +26460,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, str ast_log(LOG_NOTICE, "Call from '%s' (%s) to extension" " '%s' rejected because extension not found in context '%s'.\n", S_OR(p->username, p->peername), ast_sockaddr_stringify(&p->recv), decoded_exten, p->context); + sip_report_failed_acl(p, "no_extension_match"); } break; case SIP_GET_DEST_REFUSED: |