fix MODENDP-121

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9305 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-08-15 19:30:34 +00:00
parent 5c63629f0d
commit 5572f25a0f
3 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -1094,7 +1094,7 @@ void sofia_reg_handle_sip_r_challenge(int status,
goto cancel;
}
switch_snprintf(authentication, sizeof(authentication), "%s:%s:%s:%s", scheme, realm, gateway->register_username, gateway->register_password);
switch_snprintf(authentication, sizeof(authentication), "%s:%s:%s:%s", scheme, realm, gateway->auth_username, gateway->register_password);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Authenticating '%s' with '%s'.\n", profile->username, authentication);