mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-01 11:10:24 +00:00
FS-3842 --resolve I think these feilds were recently only made optional when register=true. This should take care of it.
This commit is contained in:
parent
cd3452d668
commit
3a71f86209
@ -2518,6 +2518,14 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "ERROR: password param is REQUIRED!\n");
|
||||
goto skip;
|
||||
}
|
||||
} else {
|
||||
if (zstr(username)) {
|
||||
username = "FreeSWITCH";
|
||||
}
|
||||
|
||||
if (zstr(password)) {
|
||||
password = "";
|
||||
}
|
||||
}
|
||||
|
||||
if (zstr(from_user)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user