From 9470c079dd7542f2f3ba8f2fa3949a76306e4199 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 12 Jun 2012 10:15:14 -0500 Subject: [PATCH] FS-4298 see if you can see the sip_reinvite_sdp variable with this patch --- src/mod/endpoints/mod_sofia/sofia.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 799e6ed21e..bcc1acbc73 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -7723,6 +7723,9 @@ void sofia_handle_sip_i_reinvite(switch_core_session_t *session, } if (channel) { + if (sip->sip_payload && sip->sip_payload->pl_data) { + switch_channel_set_variable(channel, "sip_reinvite_sdp", sip->sip_payload->pl_data); + } switch_channel_execute_on(channel, "execute_on_sip_reinvite"); }