1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-13 12:40:17 +00:00

Merge b039837a6d7ffe868f6d69f301812ece2aedf187 into 675bd8f27d7ef201673f21c4ae6dd6fef73383b4

This commit is contained in:
Howell Yan 2025-03-10 20:42:24 +00:00 committed by GitHub
commit 6108025013
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -5039,6 +5039,12 @@ 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 (switch_true(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;
}
if (tech_pvt->local_url) {
switch_channel_set_variable(nchannel, "sip_local_url", tech_pvt->local_url);
if (profile->pres_type) {