<p dir="ltr">ICE in general uses STUN (RFC 5245), however I do not use Mediaproxy myself so cannot comment on how it handles STUN. Someone with Mediaproxy may be able to answer. </p>
<div class="gmail_quote">On 19 Oct 2015 14:41, "Rodrigo Pimenta Carvalho" <<a href="mailto:pimenta@inatel.br">pimenta@inatel.br</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Ok Nabeel.</p>
<p><br>
</p>
<p>In my environment, I intend to have MediaProxy and all clients supporting ICE.</p>
<p>However, in my environment/network doesn't exist a STUN server.</p>
<p><br>
</p>
<p>So, my last questions (before I start the MediaProxy installation procedures) about this subject are:</p>
<p><br>
</p>
<p>1 - Does MediaProxy work as a STUN server, or just as a TURN server?</p>
<p><br>
</p>
<p>2 - Is it always necessary to provide a STUN server separately, even using the MediaProxy, if direct media is desired?</p>
<p><br>
</p>
<p>3 - Let's suppose I will not provide a separately STUN server, in this case will the media always pass through the media relay,?</p>
<p><br>
</p>
<p>Thank you again!</p>
<p>Best regards.<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper">
<div><font size="2">
<div>RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: <a href="tel:%2B55%2035%203471%209200" value="+553534719200" target="_blank">+55 35 3471 9200</a> RAMAL 979<br>
</div>
</font></div>
</div>
</div>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>De:</b> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> <<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>> em nome de Nabeel <<a href="mailto:nabeelshikder@gmail.com" target="_blank">nabeelshikder@gmail.com</a>><br>
<b>Enviado:</b> segunda-feira, 19 de outubro de 2015 10:40<br>
<b>Para:</b> OpenSIPS users mailling list<br>
<b>Assunto:</b> Re: [OpenSIPS-Users] Does Media_Relay component implies in impossible direct media?</font>
<div> </div>
</div>
<div>
<div dir="ltr">Yes, that is how it should work. ICE tries to connect directly first before trying other methods. If direct connection fails, then it tries STUN, then media relay. The clients have to support ICE too.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 19 October 2015 at 11:35, Rodrigo Pimenta Carvalho <span dir="ltr">
<<a href="mailto:pimenta@inatel.br" target="_blank">pimenta@inatel.br</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">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Nabeel.</p>
<p><br>
</p>
<p>Thank you very much for your answer.</p>
<p>If I understood it well, while using MediaProxy, the clients may connect directly, but they may not too. ICE will decide it for me and I don't need to worry about it.</p>
<p>Tell me if I got it, please.</p>
<p><br>
</p>
<p>Best regards.<br>
</p>
<span>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper">
<div><font size="2">
<div>RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: <a href="tel:%2B55%2035%203471%209200" value="+553534719200" target="_blank">
+55 35 3471 9200</a> RAMAL 979<br>
</div>
</font></div>
</div>
</div>
<br>
<br>
</span>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>De:</b>
<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> <<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>> em nome de Nabeel <<a href="mailto:nabeelshikder@gmail.com" target="_blank">nabeelshikder@gmail.com</a>><br>
<b>Enviado:</b> sábado, 17 de outubro de 2015 19:56<br>
<b>Para:</b> OpenSIPS users mailling list<br>
<b>Assunto:</b> Re: [OpenSIPS-Users] Does Media_Relay component implies in impossible direct media?</font>
<div> </div>
</div>
<div>
<div>
<div>
<p dir="ltr">Rodrigo,</p>
<p dir="ltr">It is the responsibility of ICE to determine in which situation it is best to establish a direct connection, versus use of STUN, versus use of a media relay.
</p>
<p dir="ltr">We cannot manually decide which clients will connect directly and which will not.
</p>
<div class="gmail_quote">On 17 Oct 2015 22:07, "Rodrigo Pimenta Carvalho" <<a href="mailto:pimenta@inatel.br" target="_blank">pimenta@inatel.br</a>> wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p><br>
</p>
<p>Hi.</p>
<p><br>
</p>
<p>In my project, UACs should run direct media. RTP packets direct transmitted from each other.</p>
<p>However, due to NAT presence, I'm thinking about to use MediaProxy. </p>
<p><br>
</p>
<p>In this case, is it possible to get direct media after some UAC negotiations passing through the Media_Relay component, or is it impossible? That is, does the media will always pass through the Media_Relay host too?</p>
<p><br>
</p>
<p>Any hint will be very helpful!</p>
<p>Thanks alot.<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper">
<div><font size="2">
<div>RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: <a href="tel:%2B55%2035%203471%209200" value="+553534719200" target="_blank">
+55 35 3471 9200</a> RAMAL 979<br>
</div>
</font></div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>