<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><tt>Hello,<br>
        <br>
        The best options for you is to use dialog module with topology
        hiding. This can be easily combined with any of the media relays
        (rtpproxy or mediaproxy) for hiding the media path.<br>
        <br>
        If you have any particular questions on the setup, I will try to
        help you.<br>
        <br>
        Best regards,<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>
      On 25.02.2014 09:26, &#1051;&#1099;&#1090;&#1072;&#1077;&#1074; &#1040;&#1085;&#1090;&#1086;&#1085; &#1042;&#1080;&#1082;&#1090;&#1086;&#1088;&#1086;&#1074;&#1080;&#1095; wrote:<br>
    </div>
    <blockquote cite="mid:530C4593.7050702@ptcomm.ru" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <div>Hi. Please help.<br>
        <span lang="en"><span>We have:</span></span><br>
        <span lang="en"><span>1.One server</span> <span>consists of:
            CenOS6.5 + Opensips1.7 + MediaProxy2.5<br>
            2.One MGW: Cisco AS5350<br>
          </span></span></div>
      <span lang="en"><span>3.UserID=</span></span><span lang="en"><span>telephone



          number and </span></span><span lang="en"><span>registration
          on OpenSips </span></span><span lang="en"><span>through MySQL<br>
        </span></span><span lang="en"><span>4.Call to</span> <span>PSTN</span>
        <span>pass through</span> <span>MGW</span> <span>with prefix</span>
        <span>9999:<br>
          route[4] {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prefix("9999");<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rewritehostport("<a moz-do-not-send="true"
            href="http://192.168.0.3:5060" target="_blank">192.168.0.3:<wbr>5060</a>");<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!t_relay()) { sl_reply_error(); };<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;}<br>
        </span></span> <span lang="en"><span><br>
        </span></span> Now, such a scheme works:<br>
      <br>
      (UAC &nbsp; &nbsp; &nbsp; )----&gt;sip-----&gt;Opensips 1.7---&gt;SIP---&gt;MGW
      Cisco<br>
      192.168.0.65 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.0.2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.0.3<br>
      RTP---------------------------
      <div><wbr>------------------------------<wbr>--&gt;MGW
        Cisco--------&gt;PSTN<br>
        <br>
        In this topology visible<br>
        <br>
        It's not safe, it's necessary to build a new wiring diagram:<br>
        (UAC &nbsp; &nbsp; &nbsp;)---&gt;sip,RTP----&gt;(Opensips---<wbr>&gt;rtp,SIP------&gt;)-----&gt;MGW



        Cisco---&gt;PSTN<br>
        85.85.85.85 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp; (85.85.85.2 &nbsp; &nbsp; 192.168.0.2) &nbsp; &nbsp;
        192.168.0.3<br>
        <br>
        questions:<br>
        1. to hide the network topology from the users (can be used
        dialog module, function: topology_hiding?)<br>
        2. hide RTP traffic to MGW for Opensips-server (can be used
        MediaProxy or rtpproxy)?<br>
        Please, give examples opensips.cfg-file ?</div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>