<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt">Hello saul:<br><br>I've now running the OpenSIPS server with the Mediaproxy.<br>Some natted UA are working and others no. Those that can't, thay can call but no audio/video.<br>I would like to enable the ICE (cause the UA also support it) but i'm really stuck on the wiki page you've recomended. Could you help me on how to enable ICE?<br>I think i've to add the following lines to the opensips.conf file:<br><pre class="programlisting">modparam("mediaproxy", "ice_candidate", "low-priority")<br>modparam("mediaproxy", "ice_candidate_avp", "$avp(ice_candidate)")<br><br>but i don't understand what should i do with the followings ones:<br><br>route {
    ...
    $avp(s:ice_candidate) := "low-priority";
    ...
}<br><br>and <br><br><code class="python syntaxhl"><span class="CodeRay"><span class="no">1</span> <span class="kw">if</span> ((ice_candidate != none <span class="kw">and</span> ice_candidate_avp != none) 
<span class="no">2</span>         <span class="kw">and</span> SDP offer contains a=ice-pwd 
<span class="no">3</span>         <span class="kw">and</span> a=ice-ufrag <span class="kw">and</span> a=candidate line(s) then: 
<span class="no">4</span>         append to the SDP the following line:
<span class="no">5</span>         a=candidate:R(random string) <span class="i">1</span> UDP PRIORITY MP_IP MP_PORT typ relay
<span class="no">6</span>         a=candidate:R(random string) <span class="i">2</span> UDP PRIORITY MP_IP MP_RTCP_PORT typ relay
</span></code><br></pre>Thanks for your help.<br>BR,<br><br>Leo.<div><br></div>  <div style="font-family: verdana, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">Da:</span></b> Saúl Ibarra Corretgé &lt;saul@ag-projects.com&gt;<br> <b><span style="font-weight: bold;">A:</span></b> OpenSIPS users mailling list &lt;users@lists.opensips.org&gt; <br> <b><span style="font-weight: bold;">Inviato:</span></b> Giovedì 28 Febbraio 2013 12:07<br> <b><span style="font-weight: bold;">Oggetto:</span></b> Re: [OpenSIPS-Users] NAT<br> </font> </div> <br><br>On Feb 28, 2013, at 11:47 AM, leo wrote:<br><br>&gt; Thanks Adrian.<br>&gt; <br>&gt; There was a sense in my question, having the RTP traffic P2P would be<br>&gt; translated in:<br>&gt; 1) better user experience, less jitter and
 latency.<br>&gt; 2) saving to install one or more mediaproxies. Considering that all RTP<br>&gt; traffic will pass on them, they will need to have high bandwidth (symmetric<br>&gt; up/down) and maybe CPU/RAM.<br>&gt; <br><br>Fixing the signaling is not enough because the media flows through different ports and with symmetric NATs you don't know what ports those will be. To (try to) use P2P media you need your endpoints to use ICE. MediaProxy is ICE aware, so if it detects that media is flowing P2P it will bail out. You can find more information about this here: <a href="http://mediaproxy.ag-projects.com/projects/mediaproxy/wiki/ICE" target="_blank">http://mediaproxy.ag-projects.com/projects/mediaproxy/wiki/ICE</a><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 ymailto="mailto:Users@lists.opensips.org"
 href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br><br><br> </div> </div>  </div></body></html>