[OpenSIPS-Users] loose_route: loop on ACK requests

2009-10-30 Thread Airton Kuada
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

Re: [OpenSIPS-Users] loose_route: loop on ACK requests

2009-10-30 Thread Daniel Goepp
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 airtonku...@celepar.pr.gov.br wrote: Hi all. I'm having

Re: [OpenSIPS-Users] loose_route: loop on ACK requests

2009-10-30 Thread Alex Balashov
It sounds like OpenSIPS does not realise that the destination domain of a hop-by-hop ACK's Request URI is local. Airton Kuada 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

Re: [OpenSIPS-Users] loose_route: loop on ACK requests

2009-03-24 Thread Noel R. Morais
Hi Bogdan, You are right. I had the same issue as Jeff. The IP was in the domain table :(. Thanks again, Noel On Mon, Mar 23, 2009 at 12:03 PM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote: Hi Noel, maybe you have the same issue as Jeff - maybe you have the  92.168.193.20 IP in domain

Re: [OpenSIPS-Users] loose_route: loop on ACK requests

2009-03-20 Thread Bogdan-Andrei Iancu
Hi Noel, it looks like OpenSIPS is doing strict routing on the received ACK. This happens if it finds out in RURI an IP/address which is considered local - in the case the RURI will be consumed and use the Route as new RURI... So are you sure there is no misconfiguration in the alias params

Re: [OpenSIPS-Users] loose_route: loop on ACK requests

2009-03-16 Thread Noel R. Morais
Robert, you are right. I'm using loose routing all the way but for some reason the loose_route function for the ACK is acting as a strict router. follow bellow the debug code regarding this ACK. 192.168.191.188 is the opensips ip address: Mar 16 17:18:00 openser opensips[9057]: ***BEFORE

Re: [OpenSIPS-Users] loose_route: loop on ACK requests

2009-03-12 Thread Noel R. Morais
Nobody have had this kind of problem? Of a ACK message being routed to itself? :( On Wed, Mar 11, 2009 at 7:53 PM, Noel R. Morais noelro...@gmail.com wrote: Sorry. I forgot the route(1). Follow bellow: route[1] {        if (!t_relay()) {                sl_reply_error();        };        

Re: [OpenSIPS-Users] loose_route: loop on ACK requests

2009-03-11 Thread Vasil Kolev
В 14:57 -0300 на 11.03.2009 (ср), Noel R. Morais написа: Hi guys, I'm having problems about loose_route(). Opensips is routing ACK requests to itself. I know that posting code and traces are ugly, but I think I do not have choices. Sorry. Hm. After a month of reading you'll start to

Re: [OpenSIPS-Users] loose_route: loop on ACK requests

2009-03-11 Thread Noel R. Morais
Sorry. I forgot the route(1). Follow bellow: route[1] { if (!t_relay()) { sl_reply_error(); }; exit; } I think that my problem is regarding the loose_route() function. I just don't know why it doesn't realize that the Route: header is to itself. :(