I had a similar problem and it was because I didn&#39;t have the proper domain.  Once I added the domain, problem went away.  For example:<br><br>opensipsctl domain add <a href="http://sip.mycompany.com">sip.mycompany.com</a><br>
<br>-dg<br>
<br><br><div class="gmail_quote">On Fri, Oct 30, 2009 at 10:00 AM, Airton Kuada <span dir="ltr">&lt;<a href="mailto:airtonkuada@celepar.pr.gov.br">airtonkuada@celepar.pr.gov.br</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<pre>Hi all.<br><br>I&#39;m having problems about loose_route(). Opensips is routing ACK requests to itself.<br><br> Follow bellow the code regarding loose_route:<br><br> if (has_totag()) <br> {<br>     if (loose_route()) <br>
     {<br>        if (is_method(&quot;BYE&quot;))<br>        {<br>            setflag(1); # do accounting ...<br>            setflag(3); # ... even if the transaction fails<br>        } else <br>               if (is_method(&quot;INVITE&quot;)) <br>
               {<br>                  record_route();<br>                }<br>           xlog (&quot;ROTEAMENTO ....... $rm&quot;);<br>           route(1);<br>      } else {<br>                if ( is_method(&quot;ACK&quot;) ) {   //**************** HERE OCCUR THE PROBLEM ****************************<br>
                        if ( t_check_trans() ) {<br>                                        xlog (&quot;ENVIANDO ACK COM TRANSACAO ABERTA PARA FRENTE&quot;);<br>                                        t_relay();<br>                                        exit;<br>                                } else {<br>                                        # ACK without matching transaction -&gt;<br>
                                        # ignore and discard<br>                                        xlog (&quot;IGNORANDO ACK SEM TRANSACAO&quot;);<br>                                        exit;<br>                                }<br>                        }<br>                        sl_send_reply(&quot;404&quot;,&quot;Not here&quot;);<br>                }<br></pre>

</div>



<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>