[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

View File

@ -2637,7 +2637,7 @@ void sofia_reg_handle_sip_r_challenge(int status,
} else if (gateway) { } else if (gateway) {
switch_snprintf(authentication, sizeof(authentication), "%s:%s:%s:%s", scheme, realm, gateway->auth_username, gateway->register_password); switch_snprintf(authentication, sizeof(authentication), "%s:%s:%s:%s", scheme, realm, gateway->auth_username, gateway->register_password);
} else { } 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); "Cannot locate any authentication credentials to complete an authentication request for realm '%s'\n", realm);
goto cancel; goto cancel;
} }