From a10d2966b67a2e52811a7e4fa636b630f1fef741 Mon Sep 17 00:00:00 2001 From: George Joseph Date: Wed, 7 Jan 2015 18:17:05 +0000 Subject: [PATCH] res_pjsip_exten_state: Change 'does not exist' warning to notice The 'new_subscribe: Extension <> does not exist or has no associated hint' is a config issue and doesn't need to clutter up logs with warnings. Changed to notice. Tested-by: George Joseph Review: https://reviewboard.asterisk.org/r/4307/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@430319 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_pjsip_exten_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/res_pjsip_exten_state.c b/res/res_pjsip_exten_state.c index 332f45b3ac..a8740e5153 100644 --- a/res/res_pjsip_exten_state.c +++ b/res/res_pjsip_exten_state.c @@ -334,7 +334,7 @@ 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_WARNING, "Extension %s does not exist or has no associated hint\n", resource); + ast_log(LOG_NOTICE, "Extension %s does not exist or has no associated hint\n", resource); return 404; } -- 2.47.2