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.
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.
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:
vm_lang=${encodeURIComponent(vmrecord.Attributes.vm_lang)}
That issue affects all users trying to use the voicemail in other languages than en-US.