[mod_sofia] Quiet down error when registration credentials are missing

This commit is contained in:
Chris Rienzo 2020-02-28 03:20:53 +00:00 committed by Andrey Volk
parent a198e765fe
commit 52a17066eb
1 changed files with 1 additions and 1 deletions

View 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;
}