diff --git a/lib/tasks/say.js b/lib/tasks/say.js index 702a3d2d..11b55e9a 100644 --- a/lib/tasks/say.js +++ b/lib/tasks/say.js @@ -100,7 +100,7 @@ class TaskSay extends TtsTask { } ep.set({ - tts_engine: vendor, + tts_engine: vendor.startsWith('custom:') ? 'custom' : vendor, tts_voice: voice, cache_speech_handles: !cs.currentTtsVendor || cs.currentTtsVendor === vendor ? 1 : 0, }).catch((err) => this.logger.info({err}, 'Error setting tts_engine on endpoint'));