<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Read again what I wrote:<div class=""><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);" 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.</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" 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; -webkit-text-stroke-width: 0px; font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><div style="margin-top: 0px; margin-bottom: 0px;" class="">Ok Adrian.</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Thank you too!</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">But I am still trying to find the answer for the following question, before deciding to install MediaProxy:</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Can MediaProxy, by itself, without a separated STUN server, provide all necessary functionalities to my system get direct media between UACs?</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Best regards.</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div id="Signature" class=""><div name="divtagdefaultwrapper" style="font-family: Calibri, Arial, Helvetica, sans-serif; margin: 0px;" class=""><div class="BodyFragment"><font size="2" class=""><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 style="" class=""><hr tabindex="-1" style="display: inline-block; width: 531.15625px;" class=""><div id="divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><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 style="margin-top: 0px; margin-bottom: 0px;" 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.</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 style="margin-top: 0px; margin-bottom: 0px;" class="">Ok Nabeel.</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">In my environment, I intend to have MediaProxy and all clients supporting ICE.</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">However, in my environment/network doesn't exist a STUN server.</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">So, my last questions (before I start the MediaProxy installation procedures) about this subject are:</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">1 - Does MediaProxy work as a STUN server, or just as a TURN server?</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">2 - Is it always necessary to provide a STUN server separately, even using the MediaProxy, if direct media is desired?</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" 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,?</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Thank you again!</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Best regards.<br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><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="" face="Calibri, sans-serif" style="font-size: 11pt;"><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 style="margin-top: 0px; margin-bottom: 0px;" class="">Hi Nabeel.</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Thank you very much for your answer.</div><div style="margin-top: 0px; margin-bottom: 0px;" 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.</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Tell me if I got it, please.</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Best regards.<br class=""></div><span class=""><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><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="" face="Calibri, sans-serif" style="font-size: 11pt;"><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 style="margin-top: 0px; margin-bottom: 0px;" class="">Rodrigo,</div><div style="margin-top: 0px; margin-bottom: 0px;" 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.</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">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 style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Hi.</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">In my project, UACs should run direct media. RTP packets direct transmitted from each other.</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">However, due to NAT presence, I'm thinking about to use MediaProxy. </div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" 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?</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Any hint will be very helpful!</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Thanks alot.<br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><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 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; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br 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; -webkit-text-stroke-width: 0px;" class=""><span 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; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Users mailing list</span><br 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; -webkit-text-stroke-width: 0px;" class=""><span 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; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""><a href="mailto:Users@lists.opensips.org" class="">Users@lists.opensips.org</a></span><br 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; -webkit-text-stroke-width: 0px;" class=""><span 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; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""><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></body></html>