]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11110 #resolve resume detect on next detect
authorSeven Du <dujinfang@x-y-t.cn>
Mon, 9 Apr 2018 13:31:39 +0000 (21:31 +0800)
committerMuteesa Fred <muteesafred@hotmail.com>
Tue, 24 Jul 2018 07:21:50 +0000 (07:21 +0000)
src/switch_ivr_async.c

index 866601b35689ebb62d6def70f1299a0033b35eaf..bb574ee8285c3172416a48a44d5f78fa247b4c7c 100644 (file)
@@ -4901,6 +4901,8 @@ 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;
                }
+
+               switch_ivr_resume_detect_speech(session);
        }
 
        if (switch_core_asr_load_grammar(sth->ah, grammar, name) != SWITCH_STATUS_SUCCESS) {