diff --git a/lib/tasks/gather.js b/lib/tasks/gather.js index 7bc3c56d..4a3e42b0 100644 --- a/lib/tasks/gather.js +++ b/lib/tasks/gather.js @@ -314,7 +314,7 @@ class TaskGather extends Task { } if (evt.is_final) this._resolve('speech', evt); else { - if (this.bargein && evt.alternatives[0].transcript.split(' ').length >= this.minBargeinWordCount) { + if (evt.is_final && this.bargein && evt.alternatives[0].transcript.split(' ').length >= this.minBargeinWordCount) { this.logger.debug('Gather:_onTranscription - killing audio due to bargein'); this._killAudio(cs); this._resolve('speech', evt);