[asterisk-users] Using ControlPlayback with AWS S3
dovid at telecurve.com
Tue Jun 12 15:23:20 CDT 2018
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.
On Wed, Jun 6, 2018 at 11:55 AM, Antony Stone <
Antony.Stone at asterisk.open.source.it> wrote:
> On Wednesday 06 June 2018 at 16:30:08, Dovid Bender wrote:
> > On Wed, Jun 6, 2018 at 6:18 AM, Antony Stone wrote:
> > > On Wednesday 06 June 2018 at 12:02:38, Dovid Bender wrote:
> > > > Hi,
> > > >
> > > > I have tested ControlPlayback and grabbed files via an apache server
> > > > with no issue.
> > >
> > > ControlPlayback is an Asterisk dialplan function.
> > >
> > > How have you integrated this with Apache?
> > By apache I mean
> > ControlPlayBack(http://voice1.mydomain.net:8090/1.wav,30000,6,4,0,5,1)
> > > > I want to be able to grab files via aws S3 which would require me to
> > > > add some headers to authenticate.
> > >
> > > Presumably you mean you need to add some headers to an HTTP request?
> > Correct
> > > > Is there any way to have Asterisk add headers or would I need a http
> > > > proxy in the middle?
> > >
> > > Where and how is Asterisk making an HTTP request at all?
> > Asterisk is using URI Media Playback.
> Ah. So the problem (or challenge) is with URI Media Playback rather than
> ControlPlayback, I think.
> > Please see:
> > https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+
> > Playback
> 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.
> What do you call a dinosaur with only one eye? A Doyouthinkesaurus.
> Please reply to the
> please *don't* CC
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> Check out the new Asterisk community forum at: https://community.asterisk.
> New to Asterisk? Start here:
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users