From: Anthony Minessale Date: Thu, 3 Mar 2011 01:09:10 +0000 (-0600) Subject: add sip_jitter_buffer_during_bridge which you can set to true to keep a jitter buffer... X-Git-Tag: v1.2-rc1~181^2~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01073a796e9dd53dfd996eb8c45eca1576167297;p=thirdparty%2Ffreeswitch.git add sip_jitter_buffer_during_bridge which you can set to true to keep a jitter buffer on both ends of the call when you are NormT --- diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index e8e78e51f5..5c05efff98 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -1444,10 +1444,11 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi case SWITCH_MESSAGE_INDICATE_BRIDGE: { + const char *var = switch_channel_get_variable(tech_pvt->channel, "sip_jitter_buffer_during_bridge"); sofia_glue_tech_simplify(tech_pvt); - if (switch_rtp_ready(tech_pvt->rtp_session)) { + if (switch_false(var) && switch_rtp_ready(tech_pvt->rtp_session)) { const char *val; int ok = 0;