Revision
14368
Author
brian
Date
2009-07-26 21:30:15 -0500 (Sun, 26 Jul 2009)

Log Message

 revert this cuz its WRONG.

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c (14367 => 14368)


--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	2009-07-26 23:45:27 UTC (rev 14367)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	2009-07-27 02:30:15 UTC (rev 14368)
@@ -2646,10 +2646,7 @@
 		}
 
 		if (!strchr(dest, '@')) {
-			tech_pvt->dest = switch_core_session_sprintf(nsession, "sip:%s@%s", dest, 
-														 gateway_ptr->outbound_sticky_proxy ? 
-														 sofia_glue_strip_proto(gateway_ptr->outbound_sticky_proxy) :
-														 sofia_glue_strip_proto(gateway_ptr->register_proxy));
+			tech_pvt->dest = switch_core_session_sprintf(nsession, "sip:%s@%s", dest, sofia_glue_strip_proto(gateway_ptr->register_proxy));
 		} else {
 			tech_pvt->dest = switch_core_session_sprintf(nsession, "sip:%s", dest);
 		}