]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res_pjsip_exten_state: Change 'does not exist' warning to notice
authorGeorge Joseph <george.joseph@fairview5.com>
Wed, 7 Jan 2015 18:17:42 +0000 (18:17 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Wed, 7 Jan 2015 18:17:42 +0000 (18:17 +0000)
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/
........

Merged revisions 430319 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@430321 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_pjsip_exten_state.c

index 332f45b3acfde292a4d54a64c36331876cd2681a..a8740e51535cbd2876590a3e8c785d8fb74de6ba 100644 (file)
@@ -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;
        }