mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
do not resolve gather on barge in
This commit is contained in:
@@ -348,7 +348,6 @@ class TaskGather extends Task {
|
|||||||
evt.alternatives[0].transcript.split(' ').length >= this.minBargeinWordCount) {
|
evt.alternatives[0].transcript.split(' ').length >= this.minBargeinWordCount) {
|
||||||
this.logger.debug('Gather:_onTranscription - killing audio due to speech bargein');
|
this.logger.debug('Gather:_onTranscription - killing audio due to speech bargein');
|
||||||
this._killAudio(cs);
|
this._killAudio(cs);
|
||||||
this._resolve('speech', evt);
|
|
||||||
}
|
}
|
||||||
if (this.partialResultHook) {
|
if (this.partialResultHook) {
|
||||||
this.cs.requestor.request(this.partialResultHook, Object.assign({speech: evt}, this.cs.callInfo))
|
this.cs.requestor.request(this.partialResultHook, Object.assign({speech: evt}, this.cs.callInfo))
|
||||||
|
|||||||
Reference in New Issue
Block a user