From 2aa47c2ffd47929bc930e7d52bac525ae73214a6 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 25 Mar 2010 13:48:26 +0000 Subject: [PATCH] MODENDP-300 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17098 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/mod_sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index f07c8862a3..cf8b365f29 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -3315,6 +3315,7 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session goto error; } } else { + host++; tech_pvt->dest = switch_core_session_alloc(nsession, strlen(dest) + 5); switch_snprintf(tech_pvt->dest, strlen(dest) + 5, "sip:%s", dest); } @@ -3333,7 +3334,6 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session } } - if (!tech_pvt->dest_to) { tech_pvt->dest_to = tech_pvt->dest; }