diff options
author | Joshua Colp <jcolp@digium.com> | 2015-02-14 18:31:15 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2015-02-14 18:31:15 +0000 |
commit | fae6bf8acef7f45fc168080c2d32bee79f0891f0 (patch) | |
tree | 8f1a25de1b783974df644f05840e8c23b22fa26b /res/res_pjsip_exten_state.c | |
parent | cc96e4a7ef9c8ac35929a184ebc3739421f1b18c (diff) |
res_pjsip_exten_state: Improve log message when a subscription is attempted to a non-existent extension.
ASTERISK-24716 #close
Reported by: Rusty Newton
........
Merged revisions 431754 from http://svn.asterisk.org/svn/asterisk/branches/13
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@431755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip_exten_state.c')
-rw-r--r-- | res/res_pjsip_exten_state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/res/res_pjsip_exten_state.c b/res/res_pjsip_exten_state.c index 7649c7c29..45bfff605 100644 --- a/res/res_pjsip_exten_state.c +++ b/res/res_pjsip_exten_state.c @@ -334,7 +334,8 @@ static int new_subscribe(struct ast_sip_endpoint *endpoint, const char *resource) { if (!ast_exists_extension(NULL, endpoint->context, resource, PRIORITY_HINT, NULL)) { - ast_log(LOG_NOTICE, "Extension %s does not exist or has no associated hint\n", resource); + ast_log(LOG_NOTICE, "Extension state subscription failed: Extension %s does not exist in context '%s' or has no associated hint\n", + endpoint->context, resource); return 404; } |