From 43e8fb6be41e7e562984241bd78756d91485678c Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 14 Mar 2013 11:06:02 -0500 Subject: [PATCH] FS-5176 --resolve --- src/mod/endpoints/mod_sofia/sofia_reg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index 952c9b5774..b845395994 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -2503,10 +2503,10 @@ auth_res_t sofia_reg_parse_auth(sofia_profile_t *profile, } if (switch_xml_locate_user_merged("id", zstr(username) ? "nobody" : username, domain_name, ip, &user, params) != SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't find user [%s@%s]\n" + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Can't find user [%s@%s] from %s\n" "You must define a domain called '%s' in your directory and add a user with the id=\"%s\" attribute\n" "and you must configure your device to use the proper domain in it's authentication credentials.\n", username, domain_name, - domain_name, username); + ip, domain_name, username); ret = AUTH_FORBIDDEN; goto end;