[Freeswitch-svn] [commit] r9131 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Freeswitch SVN
anthm at freeswitch.org
Tue Jul 22 11:07:16 EDT 2008
Author: anthm
Date: Tue Jul 22 11:07:16 2008
New Revision: 9131
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c
Log:
add clarification to warning message
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c Tue Jul 22 11:07:16 2008
@@ -1244,7 +1244,11 @@
if (switch_xml_locate_user("id", switch_strlen_zero(username) ? "nobody" : username,
domain_name, ip, &xml, &domain, &user, params) != SWITCH_STATUS_SUCCESS) {
- switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "can't find user [%s@%s]\n", username, domain_name);
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "can't find user [%s@%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);
+
ret = AUTH_FORBIDDEN;
goto end;
}
More information about the Freeswitch-svn
mailing list