mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
feat override synthesizer options from config
This commit is contained in:
@@ -68,6 +68,12 @@ class TaskSay extends Task {
|
||||
const salt = cs.callSid;
|
||||
|
||||
let credentials = cs.getSpeechCredentials(vendor, 'tts', label);
|
||||
|
||||
// override Synthesizer options from config verb
|
||||
if (cs.synthesizer && cs.synthesizer.options) {
|
||||
this.options = cs.synthesizer.options;
|
||||
}
|
||||
|
||||
/* parse Nuance voices into name and model */
|
||||
let model;
|
||||
if (vendor === 'nuance' && voice) {
|
||||
|
||||
Reference in New Issue
Block a user