Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c (17097 => 17098)
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c 2010-03-25 03:51:04 UTC (rev 17097)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c 2010-03-25 13:48:26 UTC (rev 17098)
@@ -3315,6 +3315,7 @@
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 @@
}
}
-
if (!tech_pvt->dest_to) {
tech_pvt->dest_to = tech_pvt->dest;
}