Play streaming URL (aac)

Hello,
I need your help with playing an AAC URL in the extension_custom.conf file.

If the media URL is in MP3 format, I can play it using the following method:

exten => _40491,1,NoOp(Radio Listening)
 same => n,Answer(10)  
 same => n,MP3Player(http://stream.openbroadcast.ch/320.mp3)

Since most streaming services now use AAC, I would like to find a way to play AAC streams.
Just for example http://stream.rcs.revma.com/488kt4sbv4uvv

P/S I don’t have any special purpose just want to provide some entertainment for my colleagues working the night time.

There is no support for AAC within Asterisk itself, it can not directly interact with AAC.

I found a 7 years old post https://www.reddit.com/r/VOIP/comments/6e8krg/streaming_aac_for_moh and the method GitHub - matthewmgamble/app_ffmpeg: Asterisk application to handle playback using ffmpeg instead of mpg123

Just don’t know if it still applies and how to achieve it.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.