<div dir="ltr"><div>Hi Denys,</div><div><br></div><div>It is nothing unusual to see private ip address in the ICE candidate list. </div><div>rfc5245 : "Naturally, one viable candidate is a transport address obtained directly from a local  interface."</div><div><br></div><div>Here you can find more info:</div><div><a href="https://tools.ietf.org/html/rfc5245#section-2.1">https://tools.ietf.org/html/rfc5245#section-2.1</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 21, 2017 at 11:46 AM, Denys Pozniak <span dir="ltr"><<a href="mailto:denys.pozniak@crazycall.com" target="_blank">denys.pozniak@crazycall.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello!<div><br></div><div>I have next topology: ISP->Kamailio + Rtpengine->WebRTC</div><div>Sometimes I receive from Browser side SDP like below with private IPs in ICE candidates.<br></div><div><ul><li>Please explain why it happens?<br></li><li>How ICE finds a pair? I think Rtpengine obtains packet from Browser and somehow matches with peer (as it can't reach Browser via private IP)<br></li></ul></div><div><br></div><div><br></div><div><div>U KAMAILIO_IP:34150 -> RTPENGINE_IP:22222</div><div>0_16586_545 d3:sdp962:v=0.</div><div>o=- 3981552194926701250 2 IN IP4 127.0.0.1.</div><div>s=-.</div><div>t=0 0.</div><div>a=msid-semantic: WMS 5efe361e-087d-47de-98f6-9b5142<wbr>7d3764.</div><div>m=audio 50589 RTP/SAVPF 8 0.</div><div>c=IN IP4 192.168.2.205.</div><div>a=rtcp:9 IN IP4 0.0.0.0.</div><div>a=candidate:710145796 1 udp <a href="tel:(212)%20225-5103" value="+12122255103" target="_blank">2122255103</a> 2001::9d38:6abd:3c21:28f:3f57:<wbr>fd32 50588 typ host generation 0 network-id 1 network-cost 50.</div><div>a=candidate:2355154215 1 udp <a href="tel:(212)%20219-4687" value="+12122194687" target="_blank">2122194687</a> 192.168.2.205 50589 typ host generation 0 network-id 2.</div><div>a=ice-ufrag:sPAh.</div><div>a=ice-pwd:RjXqOz8rpwjhKPU3BzXk<wbr>Jd1d.</div><div>a=fingerprint:sha-256 04:AF:D4:6C:07:C2:DD:18:48:E0:<wbr>BC:46:15:15:00:5F:C9:AD:CF:8D:<wbr>F3:94:55:5A:54:0C:37:B3:E6:44:<wbr>63:EC.</div><div>a=setup:active.</div><div>a=mid:audio.</div><div>a=sendrecv.</div><div>a=rtcp-mux.</div><div>a=rtpmap:8 PCMA/8000.</div><div>a=rtpmap:0 PCMU/8000.</div><div>a=ssrc:<a href="tel:(305)%20559-9516" value="+13055599516" target="_blank">3055599516</a> cname:n0Cdw7SNbYDIba8s.</div><div>a=ssrc:<a href="tel:(305)%20559-9516" value="+13055599516" target="_blank">3055599516</a> msid:5efe361e-087d-47de-98f6-9<wbr>b51427d3764 41750b25-d640-4bad-8953-55f4e2<wbr>684c49.</div><div>a=ssrc:<a href="tel:(305)%20559-9516" value="+13055599516" target="_blank">3055599516</a> mslabel:5efe361e-087d-47de-98f<wbr>6-9b51427d3764.</div><div>a=ssrc:<a href="tel:(305)%20559-9516" value="+13055599516" target="_blank">3055599516</a> label:41750b25-d640-4bad-8953-<wbr>55f4e2684c49.</div><div>3:ICE6:remove5:flagsl13:trust-<wbr>address14:media-handover8:SDES<wbr>-offe7:replacel6:origin18:sess<wbr>ion-connectione18:transport-<wbr>protocol7:RTP/AVP8:rtcp-muxl5:<wbr>offer6:accepte7:call-id37:<wbr>domain.com_29465313:received-<wbr>froml3:IP412:10.23.255.93e8:<wbr>from-tag13:QQcg5eFv08S9K6:to-<wbr>tag10:nsebpmf7ia7:command6:<wbr>answere</div><div><br></div></div><div><br></div></div>
<br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:12.8px">Regards,</span><br></div><div><br></div><div>Arsen Semionov</div><div>Eurolan.info</div><div>cell: +442035198881</div></div></div>
</div>