summaryrefslogtreecommitdiff
path: root/res/res_pjsip_endpoint_identifier_user.c
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2013-10-25 17:41:38 +0000
committerJonathan Rose <jrose@digium.com>2013-10-25 17:41:38 +0000
commitbb1568caa12dd10cbbe7ec84fcbdcfd0f3a2156c (patch)
tree3e0ee4b296545345335009165b49373d48014e11 /res/res_pjsip_endpoint_identifier_user.c
parente920fc0669ecbfccce2d4ea3fac0425be00d7b75 (diff)
PJSIP: Add log messages when requests are received for non-existent endpoints
(closes issue ASTERISK-22552) Reported by: Rusty Newton Review: https://reviewboard.asterisk.org/r/2934/ ........ Merged revisions 401938 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@401939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip_endpoint_identifier_user.c')
-rw-r--r--res/res_pjsip_endpoint_identifier_user.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_pjsip_endpoint_identifier_user.c b/res/res_pjsip_endpoint_identifier_user.c
index 29266febf..4b10bd388 100644
--- a/res/res_pjsip_endpoint_identifier_user.c
+++ b/res/res_pjsip_endpoint_identifier_user.c
@@ -102,6 +102,8 @@ done:
return NULL;
}
ast_debug(3, "Retrieved endpoint %s\n", ast_sorcery_object_get_id(endpoint));
+ } else {
+ ast_debug(3, "Could not identify endpoint by username '%s'\n", endpoint_name);
}
return endpoint;
}