From: Anthony Minessale Date: Wed, 30 Mar 2011 16:35:19 +0000 (-0500) Subject: pass failure across in T.38 passthru mode X-Git-Tag: v1.2-rc1~120^2~5^2~46 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=31273b428d0c81fd61ee85e8c1c3834af659df0a;p=thirdparty%2Ffreeswitch.git pass failure across in T.38 passthru mode --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 5a3ad76680..9161f23eb5 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -4414,7 +4414,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status if (switch_channel_test_flag(channel, CF_PROXY_MODE) || switch_channel_test_flag(channel, CF_PROXY_MEDIA) || - (sofia_test_flag(tech_pvt, TFLAG_T38_PASSTHRU) && has_t38)) { + (sofia_test_flag(tech_pvt, TFLAG_T38_PASSTHRU) && (has_t38 || status > 299))) { if (sofia_test_flag(tech_pvt, TFLAG_SENT_UPDATE)) { sofia_clear_flag_locked(tech_pvt, TFLAG_SENT_UPDATE);