How to use ICE and Directmedia together in Asterisk?

I am using Asterisk 13 and Enabled ICE support configured STUN and TURN. That time I was able to make phone calls from all types of Networks including most restrictive NATs. The audio was transferring via Asterisk. Everything was working here.

But Now I need to enable directmedia in order to have direct RTP handover between extensions.
After enabling directmedia, the Asterisk server is not forwarding the ICE candidates from the dialing extension to the destination extension. So the call is only working in local network. And here ICE is not working in this situation.

So how to enable directmedia when using ICE?

Using direct media with ICE is not supported.

1 Like