S3 Bucket Support For Playing Sound Files

Home » Asterisk Users » S3 Bucket Support For Playing Sound Files
Asterisk Users 4 Comments

Hi,

Is anyone aware of any way of getting ControlPlayBack to work with an amazon S3 bucket? I know I can put nginx in the middle but I am trying to avoid that.

TIA.

Dovid

4 thoughts on - S3 Bucket Support For Playing Sound Files

  • I had some similar issues where ControlPlayback() wouldn’t stream mp3
    files from certain sites. I ended up downloading the file to /tmp using wget and then playing the local file, which worked perfectly as a workaround.

  • I stream mp3s from s3 buckets all the time – but it’s not Asterisk and s3
    that have the issue, it’s the incredibly outdated mp3 player baked into Asterisk, which is from 1997 (see my original whinge about this below from last year) and gives all those annoying “junk” warnings, plays very quietly, and chokes on mp3 files with certain id3 tags (like embedded album art).

    At the moment, my workaround is to just grab the file and strip all id3
    tags and bumps up the outgoing volume to +7.

    I don’t know why it’s not been possible to update the mp3 library, but hopefully one way round it might be if Asterisk were to offer a way of using ControlPlayback etc with an external library?

    Good luck!

    ———- Forwarded message ——-

  • Jonathan,

    How do you get around the authentication part? In my case I am using GSM
    files so there are no issues there.