<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hi Alexander,<br>
        <br>
        Most probably a script error. When using TH, when you do
        "loose_route()" for sequential requests, you must do <br>
            if (loose_route() || match_dialog() ) {<br>
        <br>
        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 21.08.2014 15:17, Alexander Mustafin wrote:<br>
    </div>
    <blockquote
      cite="mid:6D38E340-B999-44FF-AB70-E6B3E1B072CD@gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      Hello!
      <div><br>
      </div>
      <div>I’ve a problem with looping ACK, when using
        topology_hiding(«U») on Amazon EC2 server with Elastic IP. All
        works fine without topology_hiding.</div>
      <div><br>
      </div>
      <div>I’ve set advertised_address=«54.54.54.54» (it;s example of my
        Elastic IP address) option in config and have no other special
        functions like «rewrite host()» and others in config.</div>
      <div><br>
      </div>
      <div>And now, when I receive ACK - it’s looping (some headers are
        cuted):</div>
      <div><br>
      </div>
      <div>
        <div>U 2014/08/21 10:18:29.040856 62.62.62.62:5060 -&gt;
          10.0.0.196:5070</div>
        <div>ACK <a moz-do-not-send="true"
            href="sip:77777777777@54.54.54.54:5070;did=d99.910e2214">sip:77777777777@54.54.54.54:5070;did=d99.910e2214</a>
          SIP/2.0.</div>
        <div>From: &lt;<a moz-do-not-send="true"
            href="sip:9999999999@sip.media.example.com:5060;user=phone">sip:9999999999@sip.media.example.com:5060;user=phone</a>&gt;;tag=-45026-48be65b-339c17e3-48be65b.</div>
        <div>To: «user user"&lt;<a moz-do-not-send="true"
            href="sip:7777777@sip.media.example.com:5060;user=phone">sip:7777777@sip.media.example.com:5060;user=phone</a>&gt;;tag=UjBF6gy1Q0Z7H.</div>
        <div>Call-ID: <a moz-do-not-send="true"
            href="mailto:ead1318f74d2960620e85e487372d63a55e4a2@62.62.62.62">ead1318f74d2960620e85e487372d63a55e4a2@62.62.62.62</a>.</div>
        <div>CSeq: 1 ACK.</div>
        <div>Via: SIP/2.0/UDP
          62.62.62.62:5060;branch=z9hG4bK-70ee58-b9230b46-5c11ab8.</div>
        <div><br>
        </div>
      </div>
      <div><br>
      </div>
      <div>
        <div>U 2014/08/21 10:18:29.041446 10.0.0.196:5070 -&gt;
          54.54.54.54:5070</div>
        <div>ACK <a moz-do-not-send="true"
            href="sip:77777777777@54.54.54.54:5070;did=d99.910e2214">sip:77777777777@54.54.54.54:5070;did=d99.910e2214</a>
          SIP/2.0.</div>
        <div>From: &lt;<a moz-do-not-send="true"
            href="sip:9999999999@sip.media.example.com:5060;user=phone">sip:9999999999@sip.media.example.com:5060;user=phone</a>&gt;;tag=-45026-48be65b-339c17e3-48be65b.</div>
        <div>To: «user user"&lt;<a moz-do-not-send="true"
            href="sip:7777777@sip.media.example.com:5060;user=phone">sip:7777777@sip.media.example.com:5060;user=phone</a>&gt;;tag=UjBF6gy1Q0Z7H.</div>
        <div>Call-ID: <a moz-do-not-send="true"
            href="mailto:ead1318f74d2960620e85e487372d63a55e4a2@62.62.62.62">ead1318f74d2960620e85e487372d63a55e4a2@62.62.62.62</a>.</div>
        <div>CSeq: 1 ACK.</div>
        <div>Via: SIP/2.0/UDP
          54.54.54.54:5070;branch=z9hG4bK4d9f.070d4732.2.</div>
        <div>Via: SIP/2.0/UDP
          62.62.62.62:5060;branch=z9hG4bK-70ee58-b9230b46-5c11ab8.</div>
        <div><br>
        </div>
      </div>
      <div>
        <div>U 2014/08/21 10:18:29.043433 54.54.54.54:5070 -&gt;
          10.0.0.196:5070</div>
        <div>ACK <a moz-do-not-send="true"
            href="sip:77777777777@54.54.54.54:5070;did=d99.910e2214">sip:77777777777@54.54.54.54:5070;did=d99.910e2214</a>
          SIP/2.0.</div>
        <div>From: &lt;<a moz-do-not-send="true"
            href="sip:9999999999@sip.media.example.com:5060;user=phone">sip:9999999999@sip.media.example.com:5060;user=phone</a>&gt;;tag=-45026-48be65b-339c17e3-48be65b.</div>
        <div>To: "ration1 ration1"&lt;<a moz-do-not-send="true"
            href="sip:7777777@sip.media.example.com:5060;user=phone">sip:7777777@sip.media.example.com:5060;user=phone</a>&gt;;tag=UjBF6gy1Q0Z7H.</div>
        <div>Call-ID: <a moz-do-not-send="true"
            href="mailto:ead1318f74d2960620e85e487372d63a55e4a2@62.62.62.62">ead1318f74d2960620e85e487372d63a55e4a2@62.62.62.62</a>.</div>
        <div>CSeq: 1 ACK.</div>
        <div>Via: SIP/2.0/UDP
          54.54.54.54:5070;branch=z9hG4bK4d9f.070d4732.2.</div>
        <div>Via: SIP/2.0/UDP
          62.62.62.62:5060;branch=z9hG4bK-70ee58-b9230b46-5c11ab8.</div>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>What I should to do to solve this problem?</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>
        <div apple-content-edited="true">
          <div style="color: rgb(0, 0, 0); font-family: Helvetica;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height: normal;
            orphans: 2; text-align: -webkit-auto; text-indent: 0px;
            text-transform: none; white-space: normal; widows: 2;
            word-spacing: 0px; -webkit-text-size-adjust: auto;
            -webkit-text-stroke-width: 0px; word-wrap: break-word;
            -webkit-nbsp-mode: space; -webkit-line-break:
            after-white-space; ">
            <div>Best regards,</div>
            <div>Alexander Mustafin</div>
            <div><a moz-do-not-send="true"
                href="mailto:mustafin.aleksandr@gmail.com">mustafin.aleksandr@gmail.com</a></div>
            <div><br>
            </div>
          </div>
          <br class="Apple-interchange-newline">
          <br class="Apple-interchange-newline">
        </div>
        <br>
      </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>