sigh...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14219 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b121b33ec3
commit
1cd02d9054
|
@ -1341,7 +1341,11 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (switch_strlen_zero(realm)) {
|
if (switch_strlen_zero(realm)) {
|
||||||
realm = name;
|
if (switch_strlen_zero(proxy)) {
|
||||||
|
realm = name;
|
||||||
|
} else {
|
||||||
|
realm = proxy;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (switch_strlen_zero(username)) {
|
if (switch_strlen_zero(username)) {
|
||||||
|
|
Loading…
Reference in New Issue