[OpenSIPS-Users] YNT: Re: YNT: Re: YNT: Re: RFC3261 transaction matching failed error for the second 401 Unauthorized - Challenging the UE

wilddragon at sina.com wilddragon at sina.com
Thu Oct 16 09:15:32 CEST 2014


Is your opensips server located behind a SBC?
in this sceniro, you have to use record_route_preset to record route, or use textops modules to modify the record-route header when you'd like to.



wilddragon at sina.com
 
From: Bogdan-Andrei Iancu
Date: 2014-10-16 15:01
To: Kaan Dandin; OpenSIPS users mailling list
CC: "Ibrahim Hokelek, (Bİ; Gunes Kurt; LGEM-UEKAE)"
Subject: Re: [OpenSIPS-Users] YNT: Re: YNT: Re: YNT: Re: RFC3261 transaction matching failed error for the second 401 Unauthorized - Challenging the UE
Hi Kaan,

What you need to check is : do the ACK and BYE you receive in OpenSIPS have a Route hdr ? So, :
    check if the outbound INVITE (leaving OpenSIPS) has a Record-Route hdr
    check if the incoming 200 OK to INVITE (from UAS) has a Record-Route hdr
    check in inbound ACK (from UAC to OpenSIPS) has a Route hdr. 

Let me know.

REgards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.comOn 16.10.2014 00:25, Kaan Dandin wrote:
Hi Bogdan,

Thanks for your response. I have check the related documentation once more.
But it in fact, I was already using record_route and loose_route.

When I receive initial INVITE I use record_route.

When the following messages has to_tag , I am checking with loose_route and making the routing with t_relay.

This is working properly for the messages before ACK and BYE.

But for ACK and  BYE messages it is not able to find route and  making a DNS lookup  and since
pcscf.open-ims.test is configured as 192.168.2.5 , it is always going to .5 openims node.

The difference between 180 Ringing , 200 OK which is passed properly and ACK and BYE messages seems Via headers. 180 Ringing has all the via headers.

related part of script for record_route()


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141016/c4517f08/attachment-0001.htm>


More information about the Users mailing list