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')); }