mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
remove additional logs
This commit is contained in:
@@ -88,7 +88,6 @@ class TaskGather extends Task {
|
|||||||
const startListening = (cs, ep) => {
|
const startListening = (cs, ep) => {
|
||||||
this._startTimer();
|
this._startTimer();
|
||||||
if (this.input.includes('speech') && !this.listenDuringPrompt) {
|
if (this.input.includes('speech') && !this.listenDuringPrompt) {
|
||||||
this.logger.debug("started listeting1");
|
|
||||||
this._initSpeech(cs, ep)
|
this._initSpeech(cs, ep)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this._startTranscribing(ep);
|
this._startTranscribing(ep);
|
||||||
@@ -107,7 +106,6 @@ class TaskGather extends Task {
|
|||||||
this.logger.debug('Gather: say task completed');
|
this.logger.debug('Gather: say task completed');
|
||||||
if (!this.killed) {
|
if (!this.killed) {
|
||||||
if (this.listenAfterSpeech === true) {
|
if (this.listenAfterSpeech === true) {
|
||||||
this.logger.debug("started listeting2");
|
|
||||||
startListening(cs, ep);
|
startListening(cs, ep);
|
||||||
} else {
|
} else {
|
||||||
this.notifyTaskDone();
|
this.notifyTaskDone();
|
||||||
@@ -132,7 +130,6 @@ class TaskGather extends Task {
|
|||||||
else startListening(cs, ep);
|
else startListening(cs, ep);
|
||||||
|
|
||||||
if (this.input.includes('speech') && this.listenDuringPrompt) {
|
if (this.input.includes('speech') && this.listenDuringPrompt) {
|
||||||
this.logger.debug("started listeting3");
|
|
||||||
await this._initSpeech(cs, ep);
|
await this._initSpeech(cs, ep);
|
||||||
this._startTranscribing(ep);
|
this._startTranscribing(ep);
|
||||||
updateSpeechCredentialLastUsed(this.sttCredentials.speech_credential_sid)
|
updateSpeechCredentialLastUsed(this.sttCredentials.speech_credential_sid)
|
||||||
|
|||||||
Reference in New Issue
Block a user