]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11110 fix for resume detect on next detect
authorMariah Yang <galm@163.com>
Mon, 14 May 2018 05:54:31 +0000 (13:54 +0800)
committerMike Jerris <mike@jerris.com>
Mon, 13 Aug 2018 18:58:47 +0000 (18:58 +0000)
src/switch_ivr_async.c

index 2e9cd6e29a3520691d0627dbb4335fa3c2fe0e99..9f1facbaaeb63c35dc92acf23cbf27bfc97ac57a 100644 (file)
@@ -4960,7 +4960,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_detect_speech(switch_core_session_t *
                if (!(sth = switch_channel_get_private(channel, SWITCH_SPEECH_KEY))) {
                        return SWITCH_STATUS_NOT_INITALIZED;
                }
-
+       } else {
                switch_ivr_resume_detect_speech(session);
        }