mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-01 21:33:00 +00:00
fix segfault on reinvite on nomedia call when using uuid_media
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13894 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
95fd78f881
commit
f618475c67
@ -1667,6 +1667,7 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
|
||||
sofia_glue_tech_patch_sdp(tech_pvt);
|
||||
}
|
||||
|
||||
if (!switch_strlen_zero(tech_pvt->dest)) {
|
||||
dst = sofia_glue_get_destination(tech_pvt->dest);
|
||||
|
||||
if (dst->route_uri) {
|
||||
@ -1676,6 +1677,7 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
|
||||
if (dst->route) {
|
||||
route = dst->route;
|
||||
}
|
||||
}
|
||||
|
||||
if ((val = switch_channel_get_variable(channel, "sip_route_uri"))) {
|
||||
route_uri = switch_core_session_strdup(session, val);
|
||||
|
Loading…
x
Reference in New Issue
Block a user