forked from Mirrors/freeswitch
MODENDP-300
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17098 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ea8b4f2f20
commit
2aa47c2ffd
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user