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:

opensipsctl domain add sip.mycompany.com

-dg


On Fri, Oct 30, 2009 at 10:00 AM, Airton Kuada <
[email protected]> wrote:

> Hi all.
>
> I'm having problems about loose_route(). Opensips is routing ACK requests to 
> itself.
>
>  Follow bellow the code regarding loose_route:
>
>  if (has_totag())
>  {
>      if (loose_route())
>      {
>       if (is_method("BYE"))
>         {
>           setflag(1); # do accounting ...
>           setflag(3); # ... even if the transaction fails
>       } else
>                if (is_method("INVITE"))
>                {
>                 record_route();
>               }
>            xlog ("ROTEAMENTO ....... $rm");
>            route(1);
>       } else {
>               if ( is_method("ACK") ) {   //**************** HERE OCCUR THE 
> PROBLEM ****************************
>                       if ( t_check_trans() ) {
>                                         xlog ("ENVIANDO ACK COM TRANSACAO 
> ABERTA PARA FRENTE");
>                                       t_relay();
>                                       exit;
>                               } else {
>                                       # ACK without matching transaction ->
>                                       # ignore and discard
>                                         xlog ("IGNORANDO ACK SEM TRANSACAO");
>                                       exit;
>                               }
>                       }
>                       sl_send_reply("404","Not here");
>               }
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to