sigh...
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c 2009-07-13 07:27:49 UTC (rev 14218)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c 2009-07-13 14:31:24 UTC (rev 14219)
@@ -1341,7 +1341,11 @@
}
if (switch_strlen_zero(realm)) {
- realm = name;
+ if (switch_strlen_zero(proxy)) {
+ realm = name;
+ } else {
+ realm = proxy;
+ }
}
if (switch_strlen_zero(username)) {