Using ControlPlayback With AWS S3

Home » Asterisk Users » Using ControlPlayback With AWS S3
Asterisk Users 4 Comments

Hi,

I have tested ControlPlayback and grabbed files via an apache server with no issue. I want to be able to grab files via aws S3 which would require me to add some headers to authenticate. Is there any way to have Asterisk add headers or would I need a http proxy in the middle?

TIA.

Dovid

4 thoughts on - Using ControlPlayback With AWS S3

  • ControlPlayback is an Asterisk dialplan function.

    How have you integrated this with Apache?

    Presumably you mean you need to add some headers to an HTTP reuqest?

    Where and how is Asterisk making an HTTP request at all?

    I don’t really understand the connection between Apache/HTTP and ControlPlayback. They’re two quite separate things to me.

    Antony.


    Archaeologists have found a previously-unknown dinosaur which seems to have had a very large vocabulary. They’ve named it Thesaurus.

    Please reply to the list;
    please *don’t* CC me.

  • Aha.

    Ah. So the problem (or challenge) is with URI Media Playback rather than ControlPlayback, I think.

    ControlPlayback will play anything you give it; the challenge here seems to be fetching the media with URI Media Playback, and that’s somethign I have no familiatiry with, so I’ll let someone else step in with any ideas.

    Regards,

    Antony.


    What do you call a dinosaur with only one eye? A Doyouthinkesaurus.

    Please reply to the list;
    please *don’t* CC me.

  • Just as a follow up I put in nginx as as “prox” locally. Asterisk sends it its request it then adds the headers and goes out to S3.