add support for retrieving wellsaid speech credential

This commit is contained in:
Dave Horton
2022-01-27 10:34:30 -05:00
parent 40bd3c9c88
commit 25567a7842

View File

@@ -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({