From dbf40cf7292f2cb679c1e0c00dfb684866b0e414 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 27 Jul 2009 02:30:15 +0000 Subject: [PATCH] revert this cuz its WRONG. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14368 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/mod_sofia.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index af14b5da55..e3b7afe23b 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -2646,10 +2646,7 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session } 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); }