<div dir="ltr">Jonathan,<br><div><br></div><div>How do you get around the authentication part? In my case I am using GSM files so there are no issues there.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 6, 2021 at 4:11 AM Jonathan H <<a href="mailto:lardconcepts@gmail.com">lardconcepts@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">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).<div><br></div><div><div>At the moment, my workaround is to just grab the file and strip all id3 tags and bumps up the outgoing volume to +7.</div><div><br></div><div>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?<br></div><div><br></div><div>Good luck!</div><div><br></div><div><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">Jonathan H</strong> <span dir="auto"><<a href="mailto:lardconcepts@gmail.com" target="_blank">lardconcepts@gmail.com</a>></span><br>Date: Wed, 23 Dec 2020 at 09:33<br>Subject: Re: [asterisk-users] Playing MP3's in Asterisk<br>To: Asterisk Users Mailing List - Non-Commercial Discussion <<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a>><br></div><br><br><div dir="ltr"><div>Hi all,</div><div><br></div><div>Returning to the issue of mp3 support in Asterisk, it seems it is using a build from 1997?!</div><div><a href="http://svn.digium.com/svn/thirdparty/mp3/trunk/layer3.c" target="_blank">http://svn.digium.com/svn/thirdparty/mp3/trunk/layer3.c</a><br></div><div><br></div><div>I have the same problems as everyone with the mp3 add-on, but now a new one:</div><div><ul><li>"mp3/interface.c: Junk at the beginning of frame 49443304" for ALL mp3 files, even when debug/verbose is off.</li><li>Very quiet playback compared to slin, so I have to control the outgoing volume by +7 for mp3 playback.</li><li>Now I find it chokes on mp3s which 

have a png cover art - this is perfectly valid in mp3 id3</li></ul></div><div>But I still need to use ControlPlayback from dialplan and f-agi.</div><div><br></div><div>I started going down a rabbit-hole of ARI media and Audiosocket etc, for example:</div><div><br></div><div><a href="https://www.youtube.com/watch?v=tjduXbZZEgI" target="_blank">https://www.youtube.com/watch?v=tjduXbZZEgI</a><br><a href="https://github.com/CyCoreSystems/audiosocket" target="_blank">https://github.com/CyCoreSystems/audiosocket</a><br></div><div><br></div><div>These all seem to add a fair amount of complexity for controlling playback - for example:</div><div><a href="https://wiki.asterisk.org/wiki/display/AST/ARI+and+Media%3A+Part+2+-+Playbacks#ARIandMedia:Part2-Playbacks-Controllingplaybacks" target="_blank">https://wiki.asterisk.org/wiki/display/AST/ARI+and+Media%3A+Part+2+-+Playbacks#ARIandMedia:Part2-Playbacks-Controllingplaybacks</a><br></div><div>And I need to know the current cplaybackoffset at any given time.</div><div><br></div><div></div><div>I was thinking: to keep it simple, is there a way to tell Asterisk to use a different mpg123 (the system one - my currently installed version from 2020!) instead of the Asterisk build?</div><div><br></div><div>I can live with the "junk" warnings and the quiet playback, but it cannot be crashing on valid id3 content (and I have no control over the remotely hosting files).<br></div><div><br></div><div>Thanks for any pointers in the right direction!</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 5 May 2021 at 22:11, <<a href="mailto:asterisk@phreaknet.org" target="_blank">asterisk@phreaknet.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 5/5/2021 4:01 PM, Dovid Bender wrote:<br>
> Hi,<br>
><br>
> Is anyone aware of any way of getting ControlPlayBack to work with an <br>
> amazon S3 bucket? I know I can put nginx in the middle but I am trying <br>
> to avoid that.<br>
I had some similar issues where ControlPlayback() wouldn't stream mp3 <br>
files from certain sites.<br>
I ended up downloading the file to /tmp using wget and then playing the <br>
local file, which worked perfectly as a workaround.<br>
> TIA.<br>
><br>
> Dovid<br>
<br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Getting+Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div>