<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Adrian.</p>
<p><br>
</p>
<p>Sorry any inconvenience from my poor interpretation. I'm completely new to such NAT subjects.</p>
<p><br>
</p>
<p>I will consider:</p>
<p><br>
</p>
<p><span class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">If I don’t use STUN and when using ICE<b>
</b><u><b>+ MediaProxy</b></u>, media will go directly between end-points behind the same NAT. The rest of the calls will go through media relay.</span></p>
<p><br>
<span class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)"></span></p>
<p><span class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">So, MediaProxy is not a substitute for a STUN server.</span></p>
<p><br>
<span class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)"></span></p>
<p><span class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">In this case, as I need direct media, I will give up of using MediaProxy and use just STUN technology.</span></p>
<p><br>
<span class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)"></span></p>
<p><span class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">Hopefully, now I got the point!</span></p>
<p><br>
<span class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)"></span></p>
<p><span class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">Regards.</span><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>De:</b> users-bounces@lists.opensips.org <users-bounces@lists.opensips.org> em nome de Adrian Georgescu <ag@ag-projects.com><br>
<b>Enviado:</b> terça-feira, 20 de outubro de 2015 10:47<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>Read again what I wrote:
<div class=""><span class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)"><br class="">
</span></div>
<div class=""><span class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; background-color:rgb(255,255,255)">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.</span>
<div class=""><br class="">
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 20 Oct 2015, at 07:48, Rodrigo Pimenta Carvalho <<a href="mailto:pimenta@inatel.br" class="">pimenta@inatel.br</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div id="divtagdefaultwrapper" class="" style="font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; font-size:12pt; background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<div class="" style="margin-top:0px; margin-bottom:0px">Ok Adrian.</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px">Thank you too!</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px">But I am still trying to find the answer for the following question, before deciding to install MediaProxy:</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px">Can MediaProxy, by itself, without a separated STUN server, provide all necessary functionalities to my system get direct media between UACs?</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px">Best regards.</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div id="Signature" class="">
<div name="divtagdefaultwrapper" class="" style="font-family:Calibri,Arial,Helvetica,sans-serif; margin:0px">
<div class="BodyFragment"><font class="" size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br class="">
Inatel Competence Center<br class="">
Software<br class="">
Ph: +55 35 3471 9200 RAMAL 979<br class="">
</div>
</font></div>
</div>
</div>
<br class="">
<br class="">
<div class="" style="">
<hr tabindex="-1" class="" style="display:inline-block; width:531.15625px">
<div id="divRplyFwdMsg" dir="ltr" class=""><font class="" style="font-size:11pt" face="Calibri, sans-serif"><b class="">De:</b><span class="Apple-converted-space"> </span><a href="mailto:users-bounces@lists.opensips.org" class="">users-bounces@lists.opensips.org</a><span class="Apple-converted-space"> </span><<a href="mailto:users-bounces@lists.opensips.org" class="">users-bounces@lists.opensips.org</a>>
em nome de Adrian Georgescu <<a href="mailto:ag@ag-projects.com" class="">ag@ag-projects.com</a>><br class="">
<b class="">Enviado:</b><span class="Apple-converted-space"> </span>segunda-feira, 19 de outubro de 2015 18:54<br class="">
<b class="">Para:</b><span class="Apple-converted-space"> </span>OpenSIPS users mailling list<br class="">
<b class="">Assunto:</b><span class="Apple-converted-space"> </span>Re: [OpenSIPS-Users] Does Media_Relay component implies in impossible direct media?</font>
<div class=""> </div>
</div>
<div 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 class="">
<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="">
<div class="" style="margin-top:0px; margin-bottom:0px">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.</div>
<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:0px 0px 0px 0.8ex; border-left-width:1px; border-left-color:rgb(204,204,204); border-left-style:solid; padding-left:1ex">
<div dir="ltr" class="">
<div class="" style="font-size:12pt; background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<div class="" style="margin-top:0px; margin-bottom:0px">Ok Nabeel.</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px">In my environment, I intend to have MediaProxy and all clients supporting ICE.</div>
<div class="" style="margin-top:0px; margin-bottom:0px">However, in my environment/network doesn't exist a STUN server.</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px">So, my last questions (before I start the MediaProxy installation procedures) about this subject are:</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px">1 - Does MediaProxy work as a STUN server, or just as a TURN server?</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px">2 - Is it always necessary to provide a STUN server separately, even using the MediaProxy, if direct media is desired?</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px">3 - Let's suppose I will not provide a separately STUN server, in this case will the media always pass through the media relay,?</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px">Thank you again!</div>
<div class="" style="margin-top:0px; margin-bottom:0px">Best regards.<br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="">
<div name="divtagdefaultwrapper" class="">
<div class=""><font class="" size="2">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="">
</font></div>
</div>
</div>
<br class="">
<br class="">
<div class="">
<hr class="" style="display:inline-block; width:505.75px">
<div dir="ltr" class=""><font class="" style="font-size:11pt" face="Calibri, sans-serif"><b class="">De:</b><span class="Apple-converted-space"> </span><a href="mailto:users-bounces@lists.opensips.org" target="_blank" class="">users-bounces@lists.opensips.org</a><span class="Apple-converted-space"> </span><<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><span class="Apple-converted-space"> </span>segunda-feira, 19 de outubro de 2015 10:40<br class="">
<b class="">Para:</b><span class="Apple-converted-space"> </span>OpenSIPS users mailling list<br class="">
<b class="">Assunto:</b><span class="Apple-converted-space"> </span>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 class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:pimenta@inatel.br" target="_blank" class="">pimenta@inatel.br</a>></span><span class="Apple-converted-space"> </span>wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-color:rgb(204,204,204); border-left-style:solid; padding-left:1ex">
<div dir="ltr" class="">
<div class="" style="font-size:12pt; background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<div class="" style="margin-top:0px; margin-bottom:0px">Hi Nabeel.</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px">Thank you very much for your answer.</div>
<div class="" style="margin-top:0px; margin-bottom:0px">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.</div>
<div class="" style="margin-top:0px; margin-bottom:0px">Tell me if I got it, please.</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px">Best regards.<br class="">
</div>
<span class="">
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="">
<div name="divtagdefaultwrapper" class="">
<div class=""><font class="" size="2">
<div class="">RODRIGO PIMENTA CARVALHO<br class="">
Inatel Competence Center<br class="">
Software<br class="">
Ph:<span class="Apple-converted-space"> </span><a href="tel:%2B55%2035%203471%209200" value="+553534719200" target="_blank" class="">+55 35 3471 9200</a><span class="Apple-converted-space"> </span>RAMAL 979<br class="">
</div>
</font></div>
</div>
</div>
<br class="">
<br class="">
</span>
<div class="">
<hr class="" style="display:inline-block; width:490.140625px">
<div dir="ltr" class=""><font class="" style="font-size:11pt" face="Calibri, sans-serif"><b class="">De:</b><span class="Apple-converted-space"> </span><a href="mailto:users-bounces@lists.opensips.org" target="_blank" class="">users-bounces@lists.opensips.org</a><span class="Apple-converted-space"> </span><<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><span class="Apple-converted-space"> </span>sábado, 17 de outubro de 2015 19:56<br class="">
<b class="">Para:</b><span class="Apple-converted-space"> </span>OpenSIPS users mailling list<br class="">
<b class="">Assunto:</b><span class="Apple-converted-space"> </span>Re: [OpenSIPS-Users] Does Media_Relay component implies in impossible direct media?</font>
<div class=""> </div>
</div>
<div class="">
<div class="">
<div class="">
<div class="" style="margin-top:0px; margin-bottom:0px">Rodrigo,</div>
<div class="" style="margin-top:0px; margin-bottom:0px">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.</div>
<div class="" style="margin-top:0px; margin-bottom:0px">We cannot manually decide which clients will connect directly and which will not.</div>
<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:0px 0px 0px 0.8ex; border-left-width:1px; border-left-color:rgb(204,204,204); border-left-style:solid; padding-left:1ex">
<div dir="ltr" class="">
<div class="" style="font-size:12pt; background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px">Hi.</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px">In my project, UACs should run direct media. RTP packets direct transmitted from each other.</div>
<div class="" style="margin-top:0px; margin-bottom:0px">However, due to NAT presence, I'm thinking about to use MediaProxy. </div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px">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?</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px">Any hint will be very helpful!</div>
<div class="" style="margin-top:0px; margin-bottom:0px">Thanks alot.<br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="" style="margin-top:0px; margin-bottom:0px"><br class="">
</div>
<div class="">
<div name="divtagdefaultwrapper" class="">
<div class=""><font class="" size="2">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="">
</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="">
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" class="">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</div>
</div>
<span class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; float:none; display:inline!important">_______________________________________________</span><br class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">
<span class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; float:none; display:inline!important">Users
mailing list</span><br class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">
<span class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; float:none; display:inline!important"><a href="mailto:Users@lists.opensips.org" class="">Users@lists.opensips.org</a></span><br class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">
<span class="" style="font-family:Helvetica; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; float:none; display:inline!important"><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" class="">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></span></div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</div>
</body>
</html>