]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7432 regression from 251c4ab439eea53772aaf5636eb60bb7689f0fc9 don't count recoveri...
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 18 Jun 2015 18:33:50 +0000 (13:33 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 18 Jun 2015 18:34:12 +0000 (13:34 -0500)
src/switch_core_media.c

index 6150519e183cba20d6bd142db63723ab63d83eea..a1c32d532c68e6a38fe3987f76c2c4eeeb817c8c 100644 (file)
@@ -5889,7 +5889,7 @@ static const char *get_media_profile_name(switch_core_session_t *session, int se
 
 static char *get_setup(switch_core_session_t *session, switch_sdp_type_t sdp_type)
 {
-       if (sdp_type == SDP_TYPE_RESPONSE) {
+       if (sdp_type == SDP_TYPE_RESPONSE && !switch_channel_test_flag(session->channel, CF_RECOVERING)) {
                return "active";
        }