On Thu, Dec 12, 2019 at 8:57 AM marek <cervaj...@gmail.com> wrote: > Asterisk is on public IP (as described in the first email) > > 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 > > 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 > > and Asterisk DEBUG is not helping >
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. 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. -- Joshua C. Colp Senior Software Developer Sangoma Technologies Check us out at www.sangoma.com and www.asterisk.org
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users