<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,<br>
        <br>
        It may possible be that the received ACK is broken, leading to
        that kind of looping. By broken I mean heaving wrong RURI or
        Route headers. Can you post on a pastebin a sip capture of that
        call ?<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 26.03.2015 06:09, Satish Patel wrote:<br>
    </div>
    <blockquote
cite="mid:CAPgF-foKhEOk4ZKQzSvLJsm+5=nV78Jgh9BsL3FFa76-VP5dpg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>Hi,<br>
                <br>
              </div>
              senario:<br>
              <br>
            </div>
            [UA]-------------[Opensips]---------[Freeswitch]<br>
            <br>
            <br>
          </div>
          UA sending correct ACK to freeswitch but Opensips
          loose_route() sending it to itself and it break dialog, If use
          fix_dialog_route() then it works, I don't have any IP address
          added in domain table also. <br>
          <br>
        </div>
        How do i check whether Freeswitch using loose_route for strict
        route? <br>
        <div>
          <div><br>
            <div>
              <div>
                <div><br>
                  I have following script:<br>
                  <br>
                  if (has_totag()) {<br>
                                 <br>
                                  if (loose_route()) {<br>
                                         <br>
                                         if (is_method("BYE")) {<br>
                                                  #setflag(ACC_DO); # do
                  accounting ...<br>
                                                  #setflag(ACC_FAILED);
                  # ... even if the transaction fails<br>
                                          } else if
                  (is_method("INVITE")) {<br>
                                                  # even if in most of
                  the cases is useless, do RR for<br>
                                                  # re-INVITEs alos, as
                  some buggy clients do change route set<br>
                                                  # during the dialog.<br>
                                                  record_route();<br>
                                          }<br>
                  <br>
                                          if
                  (check_route_param("nat=yes"))<br>
                                                  setflag(NAT);<br>
                  <br>
                                          # route it out to whatever
                  destination was set by loose_route()<br>
                                          # in $du (destination URI).<br>
                                          route(relay);<br>
                                       }  else {<br>
                  <br>
                                          if ( is_method("ACK") ) {<br>
                                                  if ( t_check_trans() )
                  {<br>
                                                          # non
                  loose-route, but stateful ACK; must be an ACK after<br>
                                                          # a 487 or
                  e.g. 404 from upstream server<br>
                                                          xlog("non
                  loose-route section\n");<br>
                                                          #t_relay();<br>
                                                          exit;<br>
                                                  } else {<br>
                                                          # ACK without
                  matching transaction -&gt;<br>
                                                          # ignore and
                  discard<br>
                                                          xlog("ACK
                  without matching transaction\n");<br>
                                                          exit;<br>
                                                  }<br>
                                          }<br>
                  <br>
                  <br>
                  <br>
                </div>
              </div>
            </div>
          </div>
        </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>