<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      When doing topology hiding, there's no need to call record_route()
      at all, so please remove the call to record_route() from your
      script, or move topology_hiding() after the record_route()
      function call.<br>
      <br>
      Best Regards,<br>
      <pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
      On 27.08.2014 20:25, Satish Patel wrote:<br>
    </div>
    <blockquote
cite="mid:CAPgF-fpCG5SZcafrAFNesiK0QjBKDQR4kHDxymnvuaioRcByaA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>Hi Vlad,<br>
              <br>
            </div>
            I have created pastebin for Asterisk, Opensips and <a
              moz-do-not-send="true" href="http://opensips.cf">opensips.cf</a>
            file, I am going to send you in your private email address
            because of security reason. <br>
            <br>
          </div>
          Let me know if you see any issue in my configuration, or any
          kind of suggestion. <br>
          <br>
        </div>
        Appreciate your help. <br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Mon, Aug 25, 2014 at 11:48 PM,
          Satish Patel <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>
                <div>I have put topology_hiding() function at following
                  place in script but its not hiding VIA header
                  following is my senerio<br>
                  <br>
                </div>
                [UA]--------&gt;[Opensips]-----------[Asterisk/SIP
                gateway]<br>
                <br>
              </div>
              I want to hind my UA IP address so Asterisk doesn't see
              them, currently my asterisk can see what IP address UA
              coming from, where should i put them generally <br>
              <br>
              <br>
              if (is_method("INVITE")) {<br>
              ...<br>
              ...<br>
              if  ( uri=~<a class="moz-txt-link-rfc2396E" href="mailto:^sip:[0-9]*@.*">"^sip:[0-9]*@.*"</a>) {<br>
                      uac_replace_from("<a moz-do-not-send="true"
                href="mailto:sip%3A4545@65.111.170.127" target="_blank">sip:4545@65.111.170.127</a>");<br>
                      t_on_failure("3");<br>
                      resetflag(7);<br>
                      t_relay( "udp:<a moz-do-not-send="true"
                href="http://65.111.170.127:5065" target="_blank">65.111.170.127:5065</a>"
              );<br>
                       topology_hiding();<br>
                      exit;<br>
                      };<br>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>