From: Brian West Date: Tue, 21 Mar 2017 15:09:36 +0000 (-0500) Subject: FS-10149 [freeswitch-core] ZRTP encrypted calls drop on reinvite X-Git-Tag: v1.8.0~701 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dccd0a82f9b223cb9c63364ec1e3b7d9e5bf042;p=thirdparty%2Ffreeswitch.git FS-10149 [freeswitch-core] ZRTP encrypted calls drop on reinvite --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 951e7348d1..621129ac0e 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -9914,7 +9914,7 @@ void sofia_handle_sip_i_reinvite(switch_core_session_t *session, } } - if (switch_core_media_check_udptl_mode(session, SWITCH_MEDIA_TYPE_AUDIO)) { + if (switch_core_media_check_udptl_mode(session, SWITCH_MEDIA_TYPE_AUDIO) && !switch_channel_test_flag(channel, CF_ZRTP_PASSTHRU_REQ)) { /* Refuse all re-invites once we are doing T.38 */ nua_respond(nh, SIP_488_NOT_ACCEPTABLE, TAG_END()); switch_channel_hangup(channel, SWITCH_CAUSE_INCOMPATIBLE_DESTINATION);