From: Anthony Minessale Date: Mon, 12 Aug 2013 14:04:38 +0000 (+0500) Subject: FS-5682 --resolve there was one other change to allow them to copy over by setting... X-Git-Tag: v1.4.1~18^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4efeced0152c93b484ab983725a1bbe6bde68f7e;p=thirdparty%2Ffreeswitch.git 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. --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index bdee17669d..2f193c051a 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -4502,7 +4502,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)) { - switch_ivr_transfer_variable(session, nsession, SOFIA_MULTIPART_PREFIX_T); + switch_ivr_transfer_variable(session, nsession, "sip_multipart"); } switch_ivr_transfer_variable(session, nsession, "rtp_video_fmtp"); switch_ivr_transfer_variable(session, nsession, "sip-force-contact");