--- freeswitch-trunk-jep/src/mod/endpoints/mod_sofia/sofia.c 2009-11-24 12:22:36.000000000 -0600 +++ freeswitch-trunk/src/mod/endpoints/mod_sofia/sofia.c 2009-11-24 10:15:59.000000000 -0600 @@ -1622,17 +1622,12 @@ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "ERROR: username param is REQUIRED!\n"); goto skip; } if (zstr(password)) { - if(switch_true(register_str)) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, - "ERROR: password param is REQUIRED if the register param is set to true!\n"); - goto skip; - } else if(password == NULL) { - password = ""; - } + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "ERROR: password param is REQUIRED!\n"); + goto skip; } if (zstr(from_user)) { from_user = username; }