From b31a8db9deaab258d144a378fb8e7fea09674421 Mon Sep 17 00:00:00 2001 From: akirilyuk Date: Sun, 27 Feb 2022 00:01:38 +0100 Subject: [PATCH] do not resolve gather on barge in --- lib/tasks/gather.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/tasks/gather.js b/lib/tasks/gather.js index c487401a..ad126bb4 100644 --- a/lib/tasks/gather.js +++ b/lib/tasks/gather.js @@ -348,7 +348,6 @@ class TaskGather extends Task { evt.alternatives[0].transcript.split(' ').length >= this.minBargeinWordCount) { this.logger.debug('Gather:_onTranscription - killing audio due to speech bargein'); this._killAudio(cs); - this._resolve('speech', evt); } if (this.partialResultHook) { this.cs.requestor.request(this.partialResultHook, Object.assign({speech: evt}, this.cs.callInfo))