Channel Live Listening


Is it possible to listen the audio of a CHANNEL from an URL?
I can listen using RTP/UDP server using externalMedia, but I need an URL format.

let resp = await this.externalChannel.externalMedia({
app: this.ariAppname,
external_host: this.RTPServer,
format: this.opts.format

I would like to replace this.RTPServer by http://localhost:9999 for example.

Thank you very much!

The external media support doesn’t allow sending it to an HTTP server, no. You would need to modify Asterisk to add support for such a thing, or do it outside of Asterisk in an ARI application that proxies it.

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