]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_sofia] Quiet down error when registration credentials are missing
authorChris Rienzo <chris@signalwire.com>
Fri, 28 Feb 2020 03:20:53 +0000 (03:20 +0000)
committerAndrey Volk <andywolk@gmail.com>
Wed, 6 May 2020 22:42:01 +0000 (02:42 +0400)
src/mod/endpoints/mod_sofia/sofia_reg.c

index f539844572cc685a4f2e7ce7f2d34239126d2214..0ffa2358758dbd6ccad712b2f95f5a1e6be37dfa 100644 (file)
@@ -2637,7 +2637,7 @@ void sofia_reg_handle_sip_r_challenge(int status,
        } else if (gateway) {
                switch_snprintf(authentication, sizeof(authentication), "%s:%s:%s:%s", scheme, realm, gateway->auth_username, gateway->register_password);
        } else {
-               switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR,
+               switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING,
                                                  "Cannot locate any authentication credentials to complete an authentication request for realm '%s'\n", realm);
                goto cancel;
        }