MODENDP-300

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17098 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2010-03-25 13:48:26 +00:00
parent ea8b4f2f20
commit 2aa47c2ffd

View File

@ -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;
}