feat/836: capturing callSid for STT and TTS alerts (#838)

* feat/836: capturing callSid for STT and TTS alerts

* feat/836: corrected assignment of callSid and added target_sid at few more alerts

* update github action

---------

Co-authored-by: Quan HL <quan.luuhoang8@gmail.com>
This commit is contained in:
rammohan-kore
2024-08-05 21:44:08 +05:30
committed by GitHub
parent b7a3c2970a
commit e4e37d5697
8 changed files with 28 additions and 10 deletions

View File

@@ -210,7 +210,8 @@ module.exports = (logger) => {
account_sid: cs.accountSid,
alert_type: AlertType.STT_FAILURE,
vendor: vendor,
detail: err.message
detail: err.message,
target_sid: cs.callSid
});
}).catch((err) => logger.info({err}, 'Error generating alert for tts failure'));