initial support for Rasa

This commit is contained in:
Dave Horton
2021-09-01 21:06:32 -04:00
committed by Dave Horton
parent ac8827c885
commit 19f3cbaa43
6 changed files with 134 additions and 5 deletions

View File

@@ -202,7 +202,6 @@ class CallSession extends Emitter {
*/
getSpeechCredentials(vendor, type) {
const {writeAlerts, AlertType} = this.srf.locals;
this.logger.debug({vendor, type, speech: this.accountInfo.speech}, `searching for speech for vendor ${vendor}`);
if (this.accountInfo.speech && this.accountInfo.speech.length > 0) {
const credential = this.accountInfo.speech.find((s) => s.vendor === vendor);
if (credential && (