bugfix: vad was not enabled on config verb, restart STT on empty transcript in gather

This commit is contained in:
Dave Horton
2022-03-31 14:18:09 -04:00
parent 43564502f7
commit a8646548cd
3 changed files with 9 additions and 2 deletions

View File

@@ -75,6 +75,7 @@ class TaskConfig extends Task {
cs.speechRecognizerLanguage = this.recognizer.language !== 'default'
? this.recognizer.language
: cs.speechRecognizerLanguage;
this.gatherOpts.recognizer = this.recognizer;
this.logger.info({recognizer: this.recognizer}, 'Config: updated recognizer');
}
if (this.hasBargeIn) {