mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
wip
This commit is contained in:
@@ -258,7 +258,8 @@ class TaskGather extends SttTask {
|
||||
startDtmfListener();
|
||||
}
|
||||
this._stopVad();
|
||||
if (!this.killed && !this.resolved && !this.listenDuringPrompt) {
|
||||
if (!this.killed && !this.resolved) {
|
||||
if (!this.listenDuringPrompt) {
|
||||
startListening(cs, ep);
|
||||
}
|
||||
if (this.input.includes('speech') && this.vendor === 'nuance' && this.listenDuringPrompt) {
|
||||
@@ -267,6 +268,8 @@ class TaskGather extends SttTask {
|
||||
if (err) this.logger.error({err}, 'Gather:exec - error starting transcription timers');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
this.sayTask.span = span;
|
||||
this.sayTask.ctx = ctx;
|
||||
@@ -296,7 +299,8 @@ class TaskGather extends SttTask {
|
||||
startDtmfListener();
|
||||
}
|
||||
this._stopVad();
|
||||
if (!this.killed && !this.resolved && !this.listenDuringPrompt) {
|
||||
if (!this.killed && !this.resolved) {
|
||||
if (!this.listenDuringPrompt) {
|
||||
startListening(cs, ep);
|
||||
}
|
||||
if (this.input.includes('speech') && this.vendor === 'nuance' && this.listenDuringPrompt) {
|
||||
@@ -305,6 +309,8 @@ class TaskGather extends SttTask {
|
||||
if (err) this.logger.error({err}, 'Gather:exec - error starting transcription timers');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
this.playTask.span = span;
|
||||
this.playTask.ctx = ctx;
|
||||
|
||||
Reference in New Issue
Block a user