mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 16:15:04 +00:00
FS-11110 #resolve resume detect on next detect
This commit is contained in:
parent
e55212f5d8
commit
d48db7c979
@ -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))) {
|
if (!(sth = switch_channel_get_private(channel, SWITCH_SPEECH_KEY))) {
|
||||||
return SWITCH_STATUS_NOT_INITALIZED;
|
return SWITCH_STATUS_NOT_INITALIZED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
switch_ivr_resume_detect_speech(session);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (switch_core_asr_load_grammar(sth->ah, grammar, name) != SWITCH_STATUS_SUCCESS) {
|
if (switch_core_asr_load_grammar(sth->ah, grammar, name) != SWITCH_STATUS_SUCCESS) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user