This commit is contained in:
Dave Horton
2024-04-03 08:22:06 -04:00
parent 31efaeb43c
commit 8fbbd2deb4

View File

@@ -304,7 +304,7 @@ class TaskTranscribe extends SttTask {
// make sure this is not a transcript from answering machine detection
const bugname = fsEvent.getHeader('media-bugname');
const finished = fsEvent.getHeader('transcription-session-finished');
let bufferedTranscripts = this._bufferedTranscripts[channel - 1];
const bufferedTranscripts = this._bufferedTranscripts[channel - 1];
if (bugname && this.bugname !== bugname) return;
if (this.paused) {
this.logger.debug({evt}, 'TaskTranscribe:_onTranscription - paused, ignoring transcript');