Re: [SR-Users] REGISTER failure_route 401 problem

2014-03-03 Thread Marc Soda
On Mon, Mar 3, 2014 at 12:24 PM, Daniel-Constantin Mierla wrote: > > On 03/03/14 18:08, Marc Soda wrote: > > I resolved the issue, but I not quite sure why is worked. Rather than > sending the REGISTER with t_reply() > > > t_reply() is not sending REGISTER anywhere, it is sending a reply (sip >

Re: [SR-Users] REGISTER failure_route 401 problem

2014-03-03 Thread Daniel-Constantin Mierla
On 03/03/14 18:08, Marc Soda wrote: I resolved the issue, but I not quite sure why is worked. Rather than sending the REGISTER with t_reply() t_reply() is not sending REGISTER anywhere, it is sending a reply (sip response) for a request. In short, be sure you set the appropriate failure ro

Re: [SR-Users] REGISTER failure_route 401 problem

2014-03-03 Thread Marc Soda
I resolved the issue, but I not quite sure why is worked. Rather than sending the REGISTER with t_reply(), I changed it to call route(RELAY) which does this: route[RELAY] { xlog("L_NOTICE","route[RELAY] ($rm)\n"); if (is_method("INVITE|BYE|SUBSCRIBE|UPDATE")) { if (!t_is_set("branch_rout

Re: [SR-Users] REGISTER failure_route 401 problem

2014-03-03 Thread Daniel-Constantin Mierla
Are you sure you have set t_on_failure() for the respective transaction? Cheers, Daniel On 03/03/14 17:44, Marc Soda wrote: So I've found out that NAT has nothing to do with it. The bit about things working when the NAT device is removed was wrong. So my question becomes: Why would Kamailio

Re: [SR-Users] REGISTER failure_route 401 problem

2014-03-03 Thread Marc Soda
So I've found out that NAT has nothing to do with it. The bit about things working when the NAT device is removed was wrong. So my question becomes: Why would Kamailio ignore a 401 rather sending it to a failure route? Thanks in advance, Marc On Mon, Mar 3, 2014 at 9:10 AM, Marc Soda wrote:

Re: [SR-Users] REGISTER failure_route 401 problem

2014-03-03 Thread Marc Soda
I forget to mention, the nat device is in front of the Kamailio servers, not the endpoints. On Fri, Feb 28, 2014 at 6:22 PM, Marc Soda wrote: > I have a Kamailio server setup which is registers to a back end server on > behalf of endpoints. The endpoints can register to Kamailio but Kamailio >

[SR-Users] REGISTER failure_route 401 problem

2014-02-28 Thread Marc Soda
I have a Kamailio server setup which is registers to a back end server on behalf of endpoints. The endpoints can register to Kamailio but Kamailio is failing to register to the server when I put a NAT device in front of it. Without the NAT device it works fine. The problem is the 401 that comes