From 87ef510deab5bd437dab8387e3a88fbee7f52086 Mon Sep 17 00:00:00 2001 From: akirilyuk Date: Sat, 26 Feb 2022 23:27:37 +0100 Subject: [PATCH] more logs --- lib/tasks/gather.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/tasks/gather.js b/lib/tasks/gather.js index 086464a7..7b836965 100644 --- a/lib/tasks/gather.js +++ b/lib/tasks/gather.js @@ -197,6 +197,7 @@ class TaskGather extends Task { } async _initSpeech(cs, ep) { + this.logger.info("started listening on speech events initSpeechEnter"); const opts = {}; if (this.vad.enable) { @@ -257,7 +258,7 @@ class TaskGather extends Task { ep.addCustomEventListener(AzureTranscriptionEvents.Transcription, this._onTranscription.bind(this, cs, ep)); ep.addCustomEventListener(AzureTranscriptionEvents.NoSpeechDetected, this._onNoSpeechDetected.bind(this, cs, ep)); } - this.logger.info("started listening on speech events"); + this.logger.info("started listening on speech events initSpeechDone"); await ep.set(opts) .catch((err) => this.logger.info(err, 'Error setting channel variables')); }