FS-11110 #resolve resume detect on next detect

This commit is contained in:
Seven Du 2018-04-09 21:31:39 +08:00 committed by Muteesa Fred
parent e55212f5d8
commit d48db7c979
1 changed files with 2 additions and 0 deletions

View 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) {