mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-03 06:06:09 +00:00
Update mod_sofia.c
This commit is contained in:
parent
9abb9bb3a0
commit
536feccfa0
@ -5027,7 +5027,7 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
|
||||
sofia_glue_attach_private(nsession, profile, tech_pvt, dest);
|
||||
|
||||
// specify rtp ip by variable
|
||||
if (!zstr(switch_event_get_header(var_event, "rtp_ip_v4"))) {
|
||||
if (!zstr(tech_pvt->mparams) && !zstr(switch_event_get_header(var_event, "rtp_ip_v4"))) {
|
||||
tech_pvt->mparams.rtpip4 = switch_core_strdup(profile->pool, switch_event_get_header(var_event, "rtp_ip_v4"));
|
||||
tech_pvt->mparams.rtpip = tech_pvt->mparams.rtpip4;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user