[asterisk-dev] Symmetric RTP
Mark Michelson
mmichelson at digium.com
Thu Feb 23 09:45:18 CST 2017
On 02/23/2017 08:28 AM, Andreas Krüger wrote:
> Hi,
>
> I was wondering with the following setup, if you would use Symmetric NAT.
>
> +--------------+
> +--------------+ | 89.192.76.11 |
> +--------------+
> | Client 1 | LAN | Router | Internet |
> 72.87.123.32 |
> | 172.32.11.17 + ---------> | 172.32.11.1 + --------------> |
> Asterisk |
> +--------------+ +--------------+ +--------------+
>
>
> I'm using PJSIP, and have set
> the external_media_address, external_signaling_address and local_net
> for the transport.
>
> The client is connecting with WSS and also using ICE.
>
> force_rport is set to yes in ps_endpoints section for the client. Also
> direct_media is no.
>
> Regards,
>
> Andreas Krüger
I think that all depends on ICE is configured. If the client is not
connecting to a STUN server, then ICE will only advertise the client's
host candidate(s). Since Asterisk cannot reach the client directly, you
would want to enable symmetric RTP so that Asterisk directs its media to
the router instead.
If the client is using a STUN server, it should advertise the router's
public IP address as a server reflexive candidate. The ICE connectivity
checks should result in Asterisk sending to that address. Therefore you
would not need to enable symmetric RTP in that case.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20170223/51540533/attachment.html>
More information about the asterisk-dev
mailing list