service-cloud-voice / ServiceCloudVoiceLambdas

This application provides a set of Lambda functions, which are available within your Amazon Connect instance after provisioning the instance with your Service Cloud Voice contact center. You can use these Lambdas in Amazon Connect contact flows.
BSD 3-Clause "New" or "Revised" License
14 stars 18 forks source link

Missing vm_lang tag in attrTagContainer #45

Closed f-glawe closed 11 months ago

f-glawe commented 1 year ago

There seems to be a problem with the configuration of the VoiceMailAudioProcessing lambda. The vm_lang tag that is getting configured in the contact flow to set the transcription language is not parsed to the attrTagContainer and therefore not added as a tag to the s3 recording object created.

https://github.com/service-cloud-voice/ServiceCloudVoiceLambdas/blob/169a7180e329afeda947e4f61e1102bbe7f912b0/voiceMailAudioProcessing/handler.js#L177-L184

However, the VoiceMailTranscribe lambda checks for that here and defaults to the en-US if not found:

https://github.com/service-cloud-voice/ServiceCloudVoiceLambdas/blob/169a7180e329afeda947e4f61e1102bbe7f912b0/voiceMailTranscribe/handler.js#L41

I suggest the following improvement:

That issue affects all users trying to use the voicemail in other languages than en-US.

jinalkathiara commented 1 year ago

Yes this is one of the known issue. This is going to get fixed in the latest contact center version.

jinalkathiara commented 11 months ago

This should be fixed with the latest contact center release.