summaryrefslogtreecommitdiff
path: root/res/res_pjsip_endpoint_identifier_ip.c
diff options
context:
space:
mode:
authorJenkins2 <jenkins2@gerrit.asterisk.org>2018-01-11 13:36:02 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2018-01-11 13:36:02 -0600
commite4ee41da4da208fc1a3bd9261e6b91569ef148a7 (patch)
tree68926f54ec88ecba4c96429da103e683d69914d2 /res/res_pjsip_endpoint_identifier_ip.c
parent8a6febd9802d2545556fca90519d2d1a793a1357 (diff)
parent42a61d9db65e4e5a23f5cdda6ac7bee302ff3ea7 (diff)
Merge "res_pjsip_endpoint_identifier_ip.c: Remove unnecessary requirement."
Diffstat (limited to 'res/res_pjsip_endpoint_identifier_ip.c')
-rw-r--r--res/res_pjsip_endpoint_identifier_ip.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/res/res_pjsip_endpoint_identifier_ip.c b/res/res_pjsip_endpoint_identifier_ip.c
index d6e374bfb..a672b333a 100644
--- a/res/res_pjsip_endpoint_identifier_ip.c
+++ b/res/res_pjsip_endpoint_identifier_ip.c
@@ -238,14 +238,7 @@ static struct ast_sip_endpoint *ip_identify(pjsip_rx_data *rdata)
}
endpoint = ast_sorcery_retrieve_by_id(ast_sip_get_sorcery(), "endpoint", match->endpoint_name);
-
if (endpoint) {
- if (!(endpoint->ident_method & AST_SIP_ENDPOINT_IDENTIFY_BY_IP)) {
- ast_debug(3, "Endpoint '%s' found for '%s' but 'ip' method not supported'\n", match->endpoint_name,
- ast_sockaddr_stringify(&addr));
- ao2_cleanup(endpoint);
- return NULL;
- }
ast_debug(3, "Retrieved endpoint %s\n", ast_sorcery_object_get_id(endpoint));
} else {
ast_log(LOG_WARNING, "Identify section '%s' points to endpoint '%s' but endpoint could not be looked up\n",