<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">If you don’t use STUN and when using ICE, media will go directly between end-points behind the same NAT. The rest of the calls will go through media relay.<div class=""><br class=""><div class="">Adrian<br class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 19 Oct 2015, at 11:03, Nabeel <<a href="mailto:nabeelshikder@gmail.com" class="">nabeelshikder@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p dir="ltr" class="">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" class="">pimenta@inatel.br</a>> wrote:<br type="attribution" class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" class="">
<div style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><p class="">Ok Nabeel.</p><p class=""><br class="">
</p><p class="">In my environment, I intend to have MediaProxy and all clients supporting ICE.</p><p class="">However, in my environment/network doesn't exist a STUN server.</p><p class=""><br class="">
</p><p class="">So, my last questions (before I start the MediaProxy installation procedures) about this subject are:</p><p class=""><br class="">
</p><p class="">1 - Does MediaProxy work as a STUN server, or just as a TURN server?</p><p class=""><br class="">
</p><p class="">2 - Is it always necessary to provide a STUN server separately, even using the MediaProxy, if direct media is desired?</p><p class=""><br class="">
</p><p class="">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 class=""><br class="">
</p><p class="">Thank you again!</p><p class="">Best regards.<br class="">
</p><p class=""><br class="">
</p><p class=""><br class="">
</p>
<div class="">
<div name="divtagdefaultwrapper" class="">
<div class=""><font size="2" class="">
<div class="">RODRIGO PIMENTA CARVALHO<br class="">
Inatel Competence Center<br class="">
Software<br class="">
Ph: <a href="tel:%2B55%2035%203471%209200" value="+553534719200" target="_blank" class="">+55 35 3471 9200</a> RAMAL 979<br class="">
</div>
</font></div>
</div>
</div>
<br class="">
<br class="">
<div style="" class="">
<hr style="display:inline-block;width:98%" class="">
<div dir="ltr" class=""><font style="font-size:11pt" face="Calibri, sans-serif" class=""><b class="">De:</b> <a href="mailto:users-bounces@lists.opensips.org" target="_blank" class="">users-bounces@lists.opensips.org</a> <<a href="mailto:users-bounces@lists.opensips.org" target="_blank" class="">users-bounces@lists.opensips.org</a>> em nome de Nabeel <<a href="mailto:nabeelshikder@gmail.com" target="_blank" class="">nabeelshikder@gmail.com</a>><br class="">
<b class="">Enviado:</b> segunda-feira, 19 de outubro de 2015 10:40<br class="">
<b class="">Para:</b> OpenSIPS users mailling list<br class="">
<b class="">Assunto:</b> Re: [OpenSIPS-Users] Does Media_Relay component implies in impossible direct media?</font>
<div class=""> </div>
</div>
<div class="">
<div dir="ltr" class="">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 class="">
<div class="gmail_quote">On 19 October 2015 at 11:35, Rodrigo Pimenta Carvalho <span dir="ltr" class="">
<<a href="mailto:pimenta@inatel.br" target="_blank" class="">pimenta@inatel.br</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" class="">
<div style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><p class="">Hi Nabeel.</p><p class=""><br class="">
</p><p class="">Thank you very much for your answer.</p><p class="">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 class="">Tell me if I got it, please.</p><p class=""><br class="">
</p><p class="">Best regards.<br class="">
</p>
<span class=""><p class=""><br class="">
</p><p class=""><br class="">
</p><p class=""><br class="">
</p>
<div class="">
<div name="divtagdefaultwrapper" class="">
<div class=""><font size="2" class="">
<div class="">RODRIGO PIMENTA CARVALHO<br class="">
Inatel Competence Center<br class="">
Software<br class="">
Ph: <a href="tel:%2B55%2035%203471%209200" value="+553534719200" target="_blank" class="">
+55 35 3471 9200</a> RAMAL 979<br class="">
</div>
</font></div>
</div>
</div>
<br class="">
<br class="">
</span>
<div style="" class="">
<hr style="display:inline-block;width:98%" class="">
<div dir="ltr" class=""><font style="font-size:11pt" face="Calibri, sans-serif" class=""><b class="">De:</b>
<a href="mailto:users-bounces@lists.opensips.org" target="_blank" class="">users-bounces@lists.opensips.org</a> <<a href="mailto:users-bounces@lists.opensips.org" target="_blank" class="">users-bounces@lists.opensips.org</a>> em nome de Nabeel <<a href="mailto:nabeelshikder@gmail.com" target="_blank" class="">nabeelshikder@gmail.com</a>><br class="">
<b class="">Enviado:</b> sábado, 17 de outubro de 2015 19:56<br class="">
<b class="">Para:</b> OpenSIPS users mailling list<br class="">
<b class="">Assunto:</b> Re: [OpenSIPS-Users] Does Media_Relay component implies in impossible direct media?</font>
<div class=""> </div>
</div>
<div class="">
<div class="">
<div class=""><p dir="ltr" class="">Rodrigo,</p><p dir="ltr" class="">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" class="">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" class="">pimenta@inatel.br</a>> wrote:<br type="attribution" class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" class="">
<div style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><p class=""><br class="">
</p><p class="">Hi.</p><p class=""><br class="">
</p><p class="">In my project, UACs should run direct media. RTP packets direct transmitted from each other.</p><p class="">However, due to NAT presence, I'm thinking about to use MediaProxy. </p><p class=""><br class="">
</p><p class="">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 class=""><br class="">
</p><p class="">Any hint will be very helpful!</p><p class="">Thanks alot.<br class="">
</p><p class=""><br class="">
</p><p class=""><br class="">
</p><p class=""><br class="">
</p><p class=""><br class="">
</p>
<div class="">
<div name="divtagdefaultwrapper" class="">
<div class=""><font size="2" class="">
<div class="">RODRIGO PIMENTA CARVALHO<br class="">
Inatel Competence Center<br class="">
Software<br class="">
Ph: <a href="tel:%2B55%2035%203471%209200" value="+553534719200" target="_blank" class="">
+55 35 3471 9200</a> RAMAL 979<br class="">
</div>
</font></div>
</div>
</div>
</div>
</div>
<br class="">
_______________________________________________<br class="">
Users mailing list<br class="">
<a href="mailto:Users@lists.opensips.org" target="_blank" class="">Users@lists.opensips.org</a><br class="">
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank" class="">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br class="">
<br class="">
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
_______________________________________________<br class="">
Users mailing list<br class="">
<a href="mailto:Users@lists.opensips.org" target="_blank" class="">Users@lists.opensips.org</a><br class="">
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank" class="">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</div>
<br class="">_______________________________________________<br class="">
Users mailing list<br class="">
<a href="mailto:Users@lists.opensips.org" class="">Users@lists.opensips.org</a><br class="">
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank" class="">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br class="">
<br class=""></blockquote></div>
_______________________________________________<br class="">Users mailing list<br class=""><a href="mailto:Users@lists.opensips.org" class="">Users@lists.opensips.org</a><br class="">http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br class=""></div></blockquote></div><br class=""></div></div></div></body></html>