From 52a17066eb1c8acae79c5b3f2eaae6506b4ef036 Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Fri, 28 Feb 2020 03:20:53 +0000 Subject: [PATCH] [mod_sofia] Quiet down error when registration credentials are missing --- src/mod/endpoints/mod_sofia/sofia_reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index f539844572..0ffa235875 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -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; }