diff --git a/lib/tasks/gather.js b/lib/tasks/gather.js index 9061741e..2e8de2cb 100644 --- a/lib/tasks/gather.js +++ b/lib/tasks/gather.js @@ -882,13 +882,15 @@ class TaskGather extends SttTask { this.cs.callInfo, httpHeaders)); } if (this.vendor === 'soniox') { - this._clearTimer(); if (evt.vendor.finalWords.length) { this.logger.debug({evt}, 'TaskGather:_onTranscription - buffering soniox transcript'); this._sonioxTranscripts.push(evt.vendor.finalWords); } } - + // If transcription received, reset timeout timer. + if (this._timeoutTimer) { + this._startTimer(); + } /* restart asr timer if we get a partial transcript */ if (this.isContinuousAsr) this._startAsrTimer(); }