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:
@@ -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