FS-5682 --resolve there was one other change to allow them to copy over by setting them on the A leg. Exporting the sip_multipart variable or setting it in {} on the dial string should already work. This patch should make it work with setting it too.

This commit is contained in:
Anthony Minessale 2013-08-12 19:04:38 +05:00
parent c5cc61517e
commit 2a2cccca8d

View File

@ -5252,7 +5252,7 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
} }
if (!(vval = switch_channel_get_variable(o_channel, "sip_copy_multipart")) || switch_true(vval)) { if (!(vval = switch_channel_get_variable(o_channel, "sip_copy_multipart")) || switch_true(vval)) {
switch_ivr_transfer_variable(session, nsession, SOFIA_MULTIPART_PREFIX_T); switch_ivr_transfer_variable(session, nsession, "sip_multipart");
} }
switch_ivr_transfer_variable(session, nsession, "sip_video_fmtp"); switch_ivr_transfer_variable(session, nsession, "sip_video_fmtp");
switch_ivr_transfer_variable(session, nsession, "sip-force-contact"); switch_ivr_transfer_variable(session, nsession, "sip-force-contact");