<div dir="ltr"><div>Hello,<br>I have an Asterisk server with a public IP address and a bunch of
clients. Most of my clients are behind NATs (sometimes two clients are
behind the same NAT i.e in the same private network). I want to use ICE
so that the clients behind the same NAT can send RTP traffic directly to
each other and other clients use Asterisk or a TURN server.
I tested a specific scenario using two Linphone 3.7 as clients behind
the same NAT but finally traffic ended in Asterisk. I checked the
packets; the first client sends its host and server reflexive candidates
to Asterisk and Asterisk sends it's public address. Then Asterisk will
send it's own address to second client and second client in the final
200 OK SIP only sends it's local address normally without using ICE (ICE
is enabled on both clients).
<br>Using ICE for such a purpose is possible at all?<br><br></div>PS: in sip.conf I set directmedia=no and directrtpsetup=no.<br></div>