I had a similar problem and it was because I didn'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"><<a href="mailto:airtonkuada@celepar.pr.gov.br">airtonkuada@celepar.pr.gov.br</a>></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'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("BYE"))<br> {<br>         setflag(1); # do accounting ...<br>         setflag(3); # ... even if the transaction fails<br>        } else <br> if (is_method("INVITE")) <br>
{<br>                 record_route();<br>                }<br> xlog ("ROTEAMENTO ....... $rm");<br> route(1);<br> } else {<br>                if ( is_method("ACK") ) { //**************** HERE OCCUR THE PROBLEM ****************************<br>
                        if ( t_check_trans() ) {<br> xlog ("ENVIANDO ACK COM TRANSACAO ABERTA PARA FRENTE");<br>                                        t_relay();<br>                                        exit;<br>                                } else {<br>                                        # ACK without matching transaction -><br>
                                        # ignore and discard<br> xlog ("IGNORANDO ACK SEM TRANSACAO");<br>                                        exit;<br>                                }<br>                        }<br>                        sl_send_reply("404","Not here");<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>