From 25567a78421a326edb3683f92aa4cc4f85f76eeb Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Thu, 27 Jan 2022 10:34:30 -0500 Subject: [PATCH] add support for retrieving wellsaid speech credential --- lib/session/call-session.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/session/call-session.js b/lib/session/call-session.js index 8fe8aba2..4bf151f9 100644 --- a/lib/session/call-session.js +++ b/lib/session/call-session.js @@ -264,6 +264,12 @@ class CallSession extends Emitter { region: credential.region }; } + else if ('wellsaid' === vendor) { + return { + speech_credential_sid: credential.speech_credential_sid, + api_key: credential.api_key + }; + } } else { writeAlerts({