<div dir="ltr"><div dir="ltr">On Thu, Dec 12, 2019 at 8:57 AM marek <<a href="mailto:cervajs64@gmail.com">cervajs64@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Asterisk is on public IP (as described in the first email)</p>
<p>i have 10 years experience in voip, 4 years webrtc in production.
i know about ICE/STUN/DTLS-SRTP. yes, not every detail but the
basic mechanism<br>
</p>
<p>but i confess. i dont understand WHY Asterisk SOMETIMES switches
destination IP in RTP. this is not only about ICE. its about RTP
engine too which is Asterisk specific<br>
</p>
<p>and Asterisk DEBUG is not helping<br></p></div></blockquote><div><br></div><div>RTP traffic is given to pjnath to send using ICE, if this fails then it uses the c= line. If you don't see (via ICE) then the fallback has occurred and pjnath didn't send it via ICE, which most likely means ICE negotiation failed for some reason. ICE and STUN is not encrypted in Wireshark, so it can be seen there easily. You can enable debug in logger.conf to go to console, and also increase the log_level in pjproject.conf to a high amount to see some pjnath messages.</div><div><br></div><div>The learning phase doesn't impact outgoing. It's for locking on to a source of media so other sources can be ignored, preventing hijacking.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Senior Software Developer</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div>