<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi, Samy!<br>
      <br>
      Can you post on pastebin debugging logs related to this call?
      Also, can you also post the Via headers of the initial INVITE and
      for the 200 OK received by OpenSIPS?<br>
      <br>
      Best regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 11/12/2016 12:33 AM, SamyGo wrote:<br>
    </div>
    <blockquote
cite="mid:CAJUJwthxSbxFYp25h8JmR32d+qgrgSw3DJbGOOTABs4YhG6YdA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,<br>
        <br>
        I'm using OpenSIPS 2.2.1 version and I'm facing a weird
        situation where OpenSIPS is adding a duplicated VIA header to
        the 200 OK, This only happens when I've topology_hiding()
        engaged into the call. 
        <div><br>
        </div>
        <div>The scenario is very simple; two users making call to each
          other on the same OpenSIPS but with topology_hiding(). As a
          consequence of this double VIA the caller device doesn't
          trigger the ACK and hence we don't get media stream
          established between devices.</div>
        <div><br>
          <br>
          <b>WITH TOPOLOGYHIDING:</b></div>
        <div>
          <div><font face="monospace, monospace">SIP/2.0 200 OK</font></div>
          <div><font face="monospace, monospace">Via: SIP/2.0/TLS
              10.1.10.51:59231;received=7X.<wbr>XX.XX.X7;rport=59231;branch=<wbr>z9hG4bK-607165482-63</font></div>
          <div><font face="monospace, monospace">Via: SIP/2.0/TLS
              10.1.10.51:59231;received=</font><span
              style="font-family:monospace,monospace">7X.</span><wbr
              style="font-family:monospace,monospace"><span
              style="font-family:monospace,monospace">XX.XX.X7</span><font
              face="monospace, monospace">;rport=59231;branch=<wbr>z9hG4bK-607165482-63</font></div>
          <div><font face="monospace, monospace">CSeq: 1 INVITE</font></div>
        </div>
        <div>...<br>
          <br>
          <b>WITHOUT TOPOHIDING:<br>
          </b>
          <div><font face="monospace, monospace">SIP/2.0 200 OK</font></div>
          <div><font face="monospace, monospace">Via: SIP/2.0/TLS
              10.1.10.51:59223;received=</font><span
              style="font-family:monospace,monospace">7X.</span><wbr
              style="font-family:monospace,monospace"><span
              style="font-family:monospace,monospace">XX.XX.X7</span><font
              face="monospace, monospace">;rport=59223;branch=<wbr>z9hG4bK-607166212-58</font></div>
          <div><font face="monospace, monospace">CSeq: 1 INVITE</font></div>
          <div><br>
            <br>
            The only difference between the two scenarios is the
            function topology_hiding(); is commented out.<br>
            <br>
          </div>
          <div>It seems like a bug to me, can anyone guide me here
            validate this. <br>
            <b><br>
              OpenSIPS Version:</b><br>
            <div><font face="monospace, monospace">version: opensips
                2.2.1 (x86_64/linux)</font></div>
            <div><font face="monospace, monospace">flags: STATS: On,
                DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
                F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT</font></div>
            <div><font face="monospace, monospace">ADAPTIVE_WAIT_LOOPS=1024,
                MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE
                1024, BUF_SIZE 65535</font></div>
            <div><font face="monospace, monospace">poll method support:
                poll, epoll_lt, epoll_et, sigio_rt, select.</font></div>
            <div><font face="monospace, monospace">git revision: 68ace2e</font></div>
            <div><font face="monospace, monospace">main.c compiled on
                18:34:37 Sep 28 2016 with gcc 4.8</font></div>
            <div><br>
            </div>
            <br>
          </div>
          <div>Thanks,</div>
          <div>Sammy</div>
          <div> </div>
          <br>
          <br>
        </div>
      </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>