<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Oh boy finally got your reply, I need you badly to fix this. With in 1 hour I'm going to send you all related info. Just keep in touch.&nbsp;<br><br>Sent from my iPhone</div><div><br>On Aug 27, 2014, at 8:39 AM, Vlad Paiu &lt;<a href="mailto:vladpaiu@opensips.org">vladpaiu@opensips.org</a>&gt; wrote:<br><br></div><blockquote type="cite"><div>
  
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  
  
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      Please post the relevant part of your script when calling
      topology_hiding() and when routing sequential requests, and also
      please pastebin a full SIP trace showing the traffic for such a
      dialog.<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 26.08.2014 15:38, Satish Patel wrote:<br>
    </div>
    <blockquote cite="mid:5289788F-DC6A-447F-A368-C0A9FD69D381@gmail.com" type="cite">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div>I have tried your logic and it works but it is not handling
        BYE message, after caller hang up phone, caller not receiving
        BYE and caller phone is still in connected state not getting
        hung up.&nbsp;<br>
        <br>
        Sent from my iPhone</div>
      <div><br>
        On Aug 26, 2014, at 5:09 AM, Vlad Paiu &lt;<a moz-do-not-send="true" href="mailto:vladpaiu@opensips.org">vladpaiu@opensips.org</a>&gt;
        wrote:<br>
        <br>
      </div>
      <blockquote type="cite">
        <div>
          <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
          <div class="moz-cite-prefix">Hello,<br>
            <br>
            You must call topology_hiding() before t_relay() - please
            try that.<br>
            Also, make sure to change your sequential request handling
            from<br>
            <br>
            &nbsp;&nbsp;&nbsp;&nbsp; if (loose_route())<br>
            <br>
            to<br>
            <br>
            &nbsp;&nbsp;&nbsp;&nbsp; if (loose_route() || match_dialog())<br>
            <br>
            <br>
            Best Regards,<br>
            <pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
            On 26.08.2014 06:48, Satish Patel wrote:<br>
          </div>
          <blockquote cite="mid:CAPgF-fo-6OKKxamqkkf2iKWj5w2MRDqja5JvYxSPBLce7H93BA@mail.gmail.com" type="cite">
            <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&nbsp; ( uri=~<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:%5Esip:[0-9]*@.*">"^sip:[0-9]*@.*"</a>) {<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; uac_replace_from("<a moz-do-not-send="true" href="mailto:sip%3A4545@65.111.170.127">sip:4545@65.111.170.127</a>");<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_on_failure("3");<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; resetflag(7);<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; t_relay( "udp:<a moz-do-not-send="true" href="http://65.111.170.127:5065">65.111.170.127:5065</a>"
              );<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; topology_hiding();<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit;<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };<br>
              <br>
            </div>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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>
        </div>
      </blockquote>
    </blockquote>
    <br>
  

</div></blockquote></body></html>