ARI ExternalMedia stream into Asterisk

I’m attempting to stream audio into Asterisk using ARI ExternalMedia.

The documentation says it can stream both in and out.

Channels - Asterisk Documentation

Streaming out via RTP works but streaming in via RTP does not.

Is it correct to assume that the RTP port to stream out is the same port to use to stream back in?

Is it possible to stream in via RTP?

Alternately which combinations of encapsulation, transport and connection_type support streaming audio in?

Asterisk V22

Thanks

Yes it supports streaming in via RTP, and you’re going to need to be more specific about the ports. You actually have two in use - one in Asterisk, and one in your application. You send to the one for Asterisk, which comes back in the ARI external media creation or it is also the source port for media coming from Asterisk.

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