mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-02-15 02:39:35 +00:00
gather bugfix: dont start transcribing after call is gone
This commit is contained in:
@@ -385,7 +385,7 @@ class TaskGather extends Task {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (evt.is_final) {
|
if (evt.is_final) {
|
||||||
if (evt.alternatives[0].transcript === '') {
|
if (evt.alternatives[0].transcript === '' && !this.callSession.callGone) {
|
||||||
this.logger.info({evt}, 'TaskGather:_onTranscription - got empty transcript, listen again');
|
this.logger.info({evt}, 'TaskGather:_onTranscription - got empty transcript, listen again');
|
||||||
return this._startTranscribing(ep);
|
return this._startTranscribing(ep);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user