<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hi,<br>
<tt><tt><tt><tt><br>
If you w<tt>ant the SDP to remain <tt>unaltered</tt>, why
do you use the rtp<tt>proxy functions ??<br>
<br>
<tt>Regards,</tt><br>
</tt></tt> </tt></tt></tt></tt><br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 13.07.2016 12:51, Priyanko Bose
wrote:<br>
</div>
<blockquote
cite="mid:00f301d1dcec$247e61f0$6d7b25d0$@bose@rebaca.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks for your
reply.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I am able to
make SIP call to the device (</span>192.168.v.w(LAN) in
below picture<span style="color:#1F497D">) which I have
registered to my opensip proxy/registrar server (</span>(LAN)
192.168.x.y<span style="color:#1F497D">), from an UAC located
somewhere in the internet.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">But the problem
is while forwarding the SDP using “rtpproxy_offer()” my
proxy server rewriting the SDP with its own private IP which
prevents the device to find the public IP of the UAC. Hence,
media is not reaching the UAC.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Could you
please let know what are the replacement of rtpproxy_offer()
and rtpproxy_answer() so that the SDP remains unaltered but
SIP call establishes?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Priyanko<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US"> Bogdan-Andrei Iancu
[<a class="moz-txt-link-freetext" href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>] <br>
<b>Sent:</b> 11 July 2016 15:54<br>
<b>To:</b> Priyanko Bose; <a class="moz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
<b>Cc:</b> 'Shantanu Kumar Roy'<br>
<b>Subject:</b> Re: opensip proxy behind firwall<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi,</span></tt><span
style="font-size:10.0pt;font-family:"Courier New""><br>
<br>
<tt>Could you be more specific in what the "fail to make
calls" means ?</tt><br>
<br>
<tt>Thanks,</tt><br>
<br>
</span><o:p></o:p></p>
<pre>Bogdan-Andrei Iancu<o:p></o:p></pre>
<pre>OpenSIPS Founder and Developer<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><o:p></o:p></pre>
<div>
<p class="MsoNormal">On 08.07.2016 18:22, Priyanko Bose wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I am trying to setup a OpenSIP server
which should act as a SIP register as well as a SIP proxy
server. <o:p></o:p></p>
<p class="MsoNormal">If the server is placed in the same LAN
where multiple SIP enabled devices (e.g Cisco SX20, Polycom
RPG500) reside, then the devices get registered easily and
can make SIP calls among themselves. <o:p></o:p></p>
<p class="MsoNormal">But everything fails when the devices are
on the other side of the internet and the server is behind
firewall like following diagram.<o:p></o:p></p>
<p class="MsoNormal">----------
------------
-------------
--------------<o:p></o:p></p>
<p class="MsoNormal">- Device - <---> -
F/W - <---> -
F/W - <--->
- OpenSIPS -<o:p></o:p></p>
<p class="MsoNormal">----------
------------
-------------
--------------<o:p></o:p></p>
<p class="MsoNormal">192.168.v.w(LAN) 192.168.v.1 :
63.45.x.y (WAN) 220.54.w.y: 192.168.x.1 (LAN)
192.168.x.y<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">The server’s private IP (192.168.x.y ) is
mapped to a fixed public IP (220.54.w.y) and ‘opensips.cfg’
file has been prepared same as described in the link <a
moz-do-not-send="true"
href="http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Server-behind-a-NAT-firewall-td5853352.html"><a class="moz-txt-link-freetext" href="http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Server-behind-a-NAT-firewall-td5853352.html">http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Server-behind-a-NAT-firewall-td5853352.html</a></a>.
This time I am able to register the device but fails to make
SIP call.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Priyanko<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif""><o:p> </o:p></span></p>
</div>
</blockquote>
<br>
</body>
</html>