amazon-connect / voicemail-express-amazon-connect

Apache License 2.0
23 stars 8 forks source link

Generated audio file is empty #33

Open issameddine opened 4 days ago

issameddine commented 4 days ago

I configured the voicemail project and I can found the audio file in the S3 bucket. The issue is that the audio file is empty. image

dougjaso commented 2 days ago

Multiple audio files or just one? Did you change anything about the deployment?

kgopelom commented 11 hours ago

The empty audio file issue can be caused if you are using a custom KMS key Encryption when configuring Connect Live Media streaming and the lambda function does not have KMS permissions. Can you confirm if using custom key and add KMS policies to the lambda role.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "Statement1",
            "Effect": "Allow",
            "Action": [
                "kms:Decrypt",
                "kms:GenerateDataKey"
            ],
            "Resource": "*"
        }
    ]
}