I'm trying to setup a Twilio number to receive calls and play MP3 files that are on my public S3 bucket. I want to use a HoldMusic Twimlet for that and set this as the WebHook for my number.
Unfortunately I struggle with the proper format of the S3 bucket name. I can get the examples to work (eg com.twilio.music.ambient) that are given here.
However, if I switch to my bucket name in the Twimlet Generator the system yields this error:
Failed to fetch the hold music.
Let's say my bucket name is my-bucket
. The ARN is arn:aws:s3:::my-bucket
and the full URL is https://s3-eu-west-1.amazonaws.com/my-bucket
What is the format I have to use?
Thanks in advance for your help.