Help Needed With ARI RTP ExternalMedia Bridging Please

Home » Asterisk Users » Help Needed With ARI RTP ExternalMedia Bridging Please
Asterisk Users 2 Comments

Very simply, I want to pipe some external audio into a channel (bridge)
using the externalMedia channel option. Running Asterisk 18 on ubuntu, here’s what I did to try and test things out:

open a console tab vlc -vvv https://media-ssl.musicradio.com/LBCUK –sout
‘#transcode{vcodec=none,acodec=ulaw,channels=1,samplerate

2 thoughts on - Help Needed With ARI RTP ExternalMedia Bridging Please

  • You’re sending media from Asterisk to VLC, not the other way around, currently. You need to examine the result from the call to channels/externalMedia, this will include the RTP port that Asterisk is listening for media on. You then need to pass this to vlc somehow (I’m not familar with the VLC options) and have it send RTP to that port.

  • You’re a genius, sir! I don’t know how I missed the part about ports, but anyway…

    Looks for “channelvars”: {
    “UNICASTRTP_LOCAL_PORT”: “*14880*”,

    and then

    vlc -vvv https://media-ssl.musicradio.com/LBCUK –sout
    ‘#transcode{vcodec=none,acodec=*a*
    law,channels=1,samplerate