From c6c599ab99a568c59315497812d516950db56826 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Mon, 6 Nov 2023 15:05:17 -0500 Subject: [PATCH] fix dialogflow tts bug (tts not working due to 'default' being assigned to label) and update to drachtio-srf with fix for parsing sip:1234@feature-server (#518) --- lib/tasks/dialogflow/index.js | 4 ++-- package-lock.json | 14 +++++++------- package.json | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/tasks/dialogflow/index.js b/lib/tasks/dialogflow/index.js index 539c55c9..8240a069 100644 --- a/lib/tasks/dialogflow/index.js +++ b/lib/tasks/dialogflow/index.js @@ -58,13 +58,13 @@ class Dialogflow extends Task { this.vendor = this.data.tts.vendor || 'default'; this.language = this.data.tts.language || 'default'; this.voice = this.data.tts.voice || 'default'; - this.speechSynthesisLabel = this.data.tts.label || 'default'; + this.speechSynthesisLabel = this.data.tts.label; // fallback tts this.fallbackVendor = this.data.tts.fallbackVendor || 'default'; this.fallbackLanguage = this.data.tts.fallbackLanguage || 'default'; this.fallbackVoice = this.data.tts.fallbackLanguage || 'default'; - this.fallbackLabel = this.data.tts.fallbackLabel || 'default'; + this.fallbackLabel = this.data.tts.fallbackLabel; } this.bargein = this.data.bargein; } diff --git a/package-lock.json b/package-lock.json index 592910b3..5d002c47 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,7 @@ "debug": "^4.3.4", "deepcopy": "^2.1.0", "drachtio-fsmrf": "^3.0.27", - "drachtio-srf": "^4.5.29", + "drachtio-srf": "^4.5.31", "express": "^4.18.2", "express-validator": "^7.0.1", "ip": "^1.1.8", @@ -5360,9 +5360,9 @@ } }, "node_modules/drachtio-srf": { - "version": "4.5.29", - "resolved": "https://registry.npmjs.org/drachtio-srf/-/drachtio-srf-4.5.29.tgz", - "integrity": "sha512-Hj2OW+SyQxAyLpyHngJwW26FX9V4fDYZGX0mlU4YOF4ml7I7b7XITcRPxKhroYDOrLgKqhNeh5BcPoKqPhEK7A==", + "version": "4.5.31", + "resolved": "https://registry.npmjs.org/drachtio-srf/-/drachtio-srf-4.5.31.tgz", + "integrity": "sha512-/M4J8h2aqHtMXWr8/UHngKQsY9sQQxjdd23jDTSpNVpCwgZ2/xZFhbg/B/UCjrarSRzbyDCvuluOAtaPRSw7Hw==", "dependencies": { "debug": "^3.2.7", "delegates": "^0.1.0", @@ -14944,9 +14944,9 @@ } }, "drachtio-srf": { - "version": "4.5.29", - "resolved": "https://registry.npmjs.org/drachtio-srf/-/drachtio-srf-4.5.29.tgz", - "integrity": "sha512-Hj2OW+SyQxAyLpyHngJwW26FX9V4fDYZGX0mlU4YOF4ml7I7b7XITcRPxKhroYDOrLgKqhNeh5BcPoKqPhEK7A==", + "version": "4.5.31", + "resolved": "https://registry.npmjs.org/drachtio-srf/-/drachtio-srf-4.5.31.tgz", + "integrity": "sha512-/M4J8h2aqHtMXWr8/UHngKQsY9sQQxjdd23jDTSpNVpCwgZ2/xZFhbg/B/UCjrarSRzbyDCvuluOAtaPRSw7Hw==", "requires": { "debug": "^3.2.7", "delegates": "^0.1.0", diff --git a/package.json b/package.json index 527bb2ac..70802a2e 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "debug": "^4.3.4", "deepcopy": "^2.1.0", "drachtio-fsmrf": "^3.0.27", - "drachtio-srf": "^4.5.29", + "drachtio-srf": "^4.5.31", "express": "^4.18.2", "express-validator": "^7.0.1", "ip": "^1.1.8",