From: Anthony Minessale Date: Mon, 21 Nov 2011 14:25:27 +0000 (-0600) Subject: FS-3664 please produce same trace with this patch or later X-Git-Tag: v1.2-rc1~27^2~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=139bd072e2763c52c14215a34d752e9acef67e1d;p=thirdparty%2Ffreeswitch.git FS-3664 please produce same trace with this patch or later --- diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 52096dd02b..15eb3a1976 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -4460,14 +4460,11 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, const char *r_s } } - - if (pass == 2 && sofia_test_flag(tech_pvt, TFLAG_T38_PASSTHRU)) { - pass = 0; - } - - - if (switch_channel_test_flag(tech_pvt->channel, CF_PROXY_MODE) || - switch_channel_test_flag(tech_pvt->channel, CF_PROXY_MEDIA) || !switch_rtp_ready(tech_pvt->rtp_session)) { + if ((pass == 2 && sofia_test_flag(tech_pvt, TFLAG_T38_PASSTHRU)) || + !sofia_test_flag(tech_pvt, TFLAG_REINVITE) || + switch_channel_test_flag(tech_pvt->channel, CF_PROXY_MODE) || + switch_channel_test_flag(tech_pvt->channel, CF_PROXY_MEDIA) || + !switch_rtp_ready(tech_pvt->rtp_session)) { pass = 0; }