Skip to content
Snippets Groups Projects
Commit fae6bf8a authored by Joshua Colp's avatar Joshua Colp
Browse files

res_pjsip_exten_state: Improve log message when a subscription is attempted to...

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
parent cc96e4a7
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment