git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14219 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2009-07-13 14:31:24 +00:00
parent b121b33ec3
commit 1cd02d9054
1 changed files with 5 additions and 1 deletions

View File

@ -1341,7 +1341,11 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)
}
if (switch_strlen_zero(realm)) {
realm = name;
if (switch_strlen_zero(proxy)) {
realm = name;
} else {
realm = proxy;
}
}
if (switch_strlen_zero(username)) {