mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
fix gather
This commit is contained in:
@@ -74,7 +74,7 @@ class Cognigy extends Task {
|
||||
rejector = reject;
|
||||
});
|
||||
this.taskQueue.push(async(cb) => {
|
||||
this.logger.debug('executing say task from queue');
|
||||
this.logger.debug('executing task from queue');
|
||||
try {
|
||||
const result = await boundTask();
|
||||
resolver(result);
|
||||
|
||||
@@ -66,6 +66,11 @@ class SpeechConfig extends Emitter {
|
||||
if (opts.recognizer) input.push('speech');
|
||||
if (hasKeys(opts.dtmf)) input.push('digits');
|
||||
|
||||
if(opts.synthesizer){
|
||||
// todo remove this once we add support for disabling tts cache
|
||||
delete opts.synthesizer.disableTtsCache;
|
||||
}
|
||||
|
||||
/* bargein settings */
|
||||
const bargein = opts.bargein || {};
|
||||
const speechBargein = Array.isArray(bargein.enable) && bargein.enable.includes('speech');
|
||||
|
||||
Reference in New Issue
Block a user