<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Hello,</div><div><br></div><div>This seems a big shortcut related to install FreeRadius and CDRTool.</div><div><br></div><div>Thank you,</div><div>Liviu</div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Adrian Georgescu &lt;ag@ag-projects.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> OpenSIPS users mailling list &lt;users@lists.opensips.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Thu, June 23, 2011 5:11:42 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [OpenSIPS-Users] ICE How-To<br></font><br>
<base>For testing ICE you can use on Mac, Linux or Windows this command line client:<div><br></div><div><span><a target="_blank" href="http://sipsimpleclient.com/wiki/sip_session">http://sipsimpleclient.com/wiki/sip_session</a></span></div><div><br></div><div>type /rtp and you can see the whole ICE negotiating results:</div><div><br></div><div><div><a rel="nofollow" ymailto="mailto:adi@umts.ro" target="_blank" href="mailto:adi@umts.ro">adi@umts.ro</a>&gt; /rtp</div><div>Output of RTP statistics and ICE negotiation results on console is now activated</div><div><a rel="nofollow" ymailto="mailto:adi@umts.ro" target="_blank" href="mailto:adi@umts.ro">adi@umts.ro</a>&gt; /audio <a rel="nofollow" ymailto="mailto:ag@sip2sip.info" target="_blank" href="mailto:ag@sip2sip.info">ag@sip2sip.info</a></div><div>Initiating SIP session from 'sip:adi@umts.ro' to 'sip:ag@sip2sip.info' via <a
 rel="nofollow">sip:81.23.228.150:5060;transport=udp</a>...</div><div>&nbsp;</div><div>ICE negotiation succeeded in 0s:644</div><div>&nbsp;</div><div>Local ICE candidates:</div><div>(RTP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 95.97.50.27:55656 &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type srflx</div><div>(RTP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 192.168.1.122:55656 &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type host</div><div>(RTP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 10.211.55.2:55656 &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type host</div><div>(RTP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 10.37.129.2:55656 &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type
 host</div><div>(RTCP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 95.97.50.27:55890 &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type srflx</div><div>(RTCP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 192.168.1.122:55890 &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type host</div><div>(RTCP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 10.211.55.2:55890 &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type host</div><div>(RTCP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 10.37.129.2:55890 &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type host</div><div>(RTP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 81.23.228.150:51782 &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">
        </span> type prflx</div><div>(RTCP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 81.23.228.150:51783 &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type prflx</div><div>&nbsp;</div><div>Remote ICE candidates:</div><div>(RTP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 81.23.228.150:51780 &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type relay</div><div>(RTCP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 81.23.228.150:51781 &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type relay</div><div>(RTP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 95.97.50.27:55876 &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type srflx</div><div>(RTP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 192.168.1.122:55876 &nbsp; &nbsp; &nbsp;<span
 class="Apple-tab-span" style="white-space:pre;">        </span> type host</div><div>(RTP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 10.211.55.2:55876 &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type host</div><div>(RTP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 10.37.129.2:55876 &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type host</div><div>(RTCP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 95.97.50.27:54037 &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type srflx</div><div>(RTCP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 192.168.1.122:54037 &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type host</div><div>(RTCP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 10.211.55.2:54037 &nbsp; &nbsp; &nbsp;
 &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type host</div><div>(RTCP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 10.37.129.2:54037 &nbsp; &nbsp; &nbsp; &nbsp;<span class="Apple-tab-span" style="white-space:pre;">        </span> type host</div><div>&nbsp;</div><div>ICE connectivity check results:</div><div>(RTP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 192.168.1.122:55656 &lt;--&gt; 192.168.1.122:55876 <span class="Apple-tab-span" style="white-space:pre;">        </span>Succeeded</div><div>(RTP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 10.211.55.2:55656 &lt;--&gt; 10.211.55.2:55876 <span class="Apple-tab-span" style="white-space:pre;">        </span>Succeeded</div><div>(RTP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 10.37.129.2:55656 &lt;--&gt; 10.37.129.2:55876 <span class="Apple-tab-span" style="white-space:pre;">        </span>Succeeded</div><div>(RTCP)<span
 class="Apple-tab-span" style="white-space:pre;">        </span> 192.168.1.122:55890 &lt;--&gt; 192.168.1.122:54037 <span class="Apple-tab-span" style="white-space:pre;">        </span>Succeeded</div><div>(RTCP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 10.211.55.2:55890 &lt;--&gt; 10.211.55.2:54037 <span class="Apple-tab-span" style="white-space:pre;">        </span>Succeeded</div><div>(RTCP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 10.37.129.2:55890 &lt;--&gt; 10.37.129.2:54037 <span class="Apple-tab-span" style="white-space:pre;">        </span>Succeeded</div><div>(RTP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 95.97.50.27:55656 &lt;--&gt; 95.97.50.27:55876 <span class="Apple-tab-span" style="white-space:pre;">        </span>Succeeded</div><div>(RTCP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 95.97.50.27:55890 &lt;--&gt; 95.97.50.27:54037 <span class="Apple-tab-span" style="white-space:pre;">
        </span>Succeeded</div><div>(RTP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 81.23.228.150:51782 &lt;--&gt; 81.23.228.150:51780 <span class="Apple-tab-span" style="white-space:pre;">        </span>Succeeded</div><div>(RTCP)<span class="Apple-tab-span" style="white-space:pre;">        </span> 81.23.228.150:51783 &lt;--&gt; 81.23.228.150:51781 <span class="Apple-tab-span" style="white-space:pre;">        </span>Succeeded</div><div>&nbsp;</div><div>Audio session established using "G722" codec at 16000Hz</div><div>Audio RTP endpoints 192.168.1.122:55656 (ICE type host) &lt;-&gt; 192.168.1.122:55876 (ICE type host)</div></div><div><br></div><div><div><div>On Jun 23, 2011, at 11:23 AM, Barsan Liviu wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:arial, helvetica, sans-serif;font-size:10pt;"><div
 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">Hi Saul,</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">I mean by 'the rest' that I don't have to write code in the opensips.cfg to have ICE ( e.g. see which kind of NAT it is etc.), just to set the parameters for the mediaproxy as written below.</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">I think I understood from your answer what I have to do.</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">In the same time I'm thinking how to test ICE, do you think a proper way is to make two tests:</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">1. Two clients
 behind a router that does not have symmetric nat (e.g. conic nat) and server with public IP, in this case the media stream should follow the STUN way (not via relay).</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">2. Two clients behind a router with symmetric nat, in this case media stream should go via relay (mediaproxy).</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">Obviously we should have clients with ICE support, we use Bria 3.2, 2.5.4 or Blink.</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">And to follow the media streams I have to install CDRTool and FreeRadius server.</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">Do you think this scenario is suitable to prove the ICE capability of the server?</div><div
 style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"><br></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">Thanks,</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;">Liviu</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:arial, helvetica, sans-serif;font-size:10pt;"><br><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:arial, helvetica, sans-serif;font-size:10pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight:bold;">From:</span></b><span class="Apple-converted-space">&nbsp;</span>Saúl Ibarra Corretgé &lt;<a rel="nofollow" ymailto="mailto:saul@ag-projects.com" target="_blank" href="mailto:saul@ag-projects.com">saul@ag-projects.com</a>&gt;<br><b><span style="font-weight:bold;">To:</span></b><span class="Apple-converted-space">&nbsp;</span>OpenSIPS users
 mailling list &lt;<a rel="nofollow" ymailto="mailto:users@lists.opensips.org" target="_blank" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>&gt;<br><b><span style="font-weight:bold;">Sent:</span></b><span class="Apple-converted-space">&nbsp;</span>Thu, June 23, 2011 10:20:47 AM<br><b><span style="font-weight:bold;">Subject:</span></b><span class="Apple-converted-space">&nbsp;</span>Re: [OpenSIPS-Users] ICE How-To<br></font><br>Hi,<br><br>On Jun 22, 2011, at 5:35 PM, Barsan Liviu wrote:<br><br>&gt; Hello,<br>&gt;<span class="Apple-converted-space">&nbsp;</span><br>&gt; We have built until now an OpenSIPs-MediaProxy server which knows far end NAT traversal, Messaging and Presence (basic), it works reliable.<br><span>&gt; Now we would like to add ICE capability to this solution and we are not sure on How-To. According to<span class="Apple-converted-space">&nbsp;</span><span><a target="_blank"
 href="http://mediaproxy-ng.org/wiki/ICE">http://mediaproxy-ng.org/wiki/ICE</a>, we understood that is enough to set the mediaproxy modules parameters as written in the site, something like:</span></span><br>&gt;<span class="Apple-converted-space">&nbsp;</span><br>&gt; ice_candidate="high-priority"<br>&gt; ice_candidate_avp="$avp(s:ice_priority)"<br>&gt;<span class="Apple-converted-space">&nbsp;</span><br><br>The AVP is meant to be used for fine grained control, the ice_candidate module parameter should be enough in most cases.<br><br>&gt; It is enough to have these settings?<br>&gt; The rest will be done by MediaProxy and OpenSIPs automatically?<br>&gt;<span class="Apple-converted-space">&nbsp;</span><br><br>What do you mean by 'the rest' ? If you client is offering ICE and OpenSIPS/MediaProxy are mangling the signaling, that setting will make MediaProxy modify the SDP in such a way that ICE is not broken.<br><br>If you want to really test ICE you'll
 want to set the ice_candidate parameter to low-priority, otherwise chances are MediaPRoxy will always be used.<br><br><br>Regards,<br><br>--<br>Saúl Ibarra Corretgé<br>AG Projects<br><br><br><br><br>_______________________________________________<br>Users mailing list<br><a rel="nofollow" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><span><span><a target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></span></span><br></div></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;"></div></div>_______________________________________________<br>Users mailing list<br><a rel="nofollow" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a rel="nofollow" target="_blank"
 href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></div></blockquote></div><br></div></div></div><div style="position:fixed"></div>


</div></body></html>