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

@@ -236,7 +236,6 @@ class CallSession extends Emitter {
async enableBotMode(gather, autoEnable) {
try {
gather.timeout = 0; // background gathers should not timeout
const t = normalizeJambones(this.logger, [gather]);
this.backgroundGatherTask = makeTask(this.logger, t[0]);
this.backgroundGatherTask