mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-28 06:14:23 +00:00
always listen after say
This commit is contained in:
1 parent
b6d0d4cb0e
commit
8b982f20d6
1 file changed
-6
@@ -105,13 +105,7 @@ class TaskGather extends Task {
|
||||
if (err) return this.logger.error({err}, 'Gather:exec Error playing tts');
|
||||
this.logger.debug('Gather: say task completed');
|
||||
if (!this.killed) {
|
||||
if (this.listenAfterSpeech) {
|
||||
startListening(cs, ep);
|
||||
} else {
|
||||
setTimeout(()=> {
|
||||
// this.notifyTaskDone();
|
||||
}, 2000);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user