[OpenSIPS-Devel] [ opensips-Bugs-3406294 ] Incorrect To header in subsequent requests through B2BUA

SourceForge.net noreply at sourceforge.net
Fri Oct 7 21:03:13 CEST 2011


Bugs item #3406294, was opened at 2011-09-08 09:55
Message generated for change (Comment added) made by ryanrevels
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3406294&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.7.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: rrevels (ryanrevels)
Assigned to: Anca Vamanu (anca_vamanu)
Summary: Incorrect To header in subsequent requests through B2BUA

Initial Comment:
I've tested this in latest SVN builds of 1.6 and 1.7. I'm using this feature in 1.6 so a backport would be much appreciated if/when this is fixed.

Basically, the B2BUA fails to properly handle To users containing params. The B2BUA pulls the params from the R-URI on the initial call leg and inserts them into the To header on the second call leg.

So, the initial INVITE from the B2BUA contains a To header that looks like:
To: sip:18566625637;rn=18563809999;npdi=yes at 1.2.3.4

On the responses, the to-tag has been added by the UAS:
To: sip:18566625637;rn=18563809999;npdi=yes at 1.2.3.4;tag=gK0cdb2397

The issues then occur on the ACK from the B2BUA (to 200 OK to initial INVITE):
To: <sip:18566625637>;tag=gK0cdb2397

The params & host have been stripped. This causes calls to fail to properly connect & tear down prematurely.

Thanks.

----------------------------------------------------------------------

>Comment By: rrevels (ryanrevels)
Date: 2011-10-07 14:03

Message:
Anca,

This patch does resolve the issue. Please commit to 1.6 branch.

Thanks,
Ryan

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2011-10-02 16:40

Message:
Anca,

Thanks. I'll test ASAP.
I am using the top hiding module.

Regards,
Ryan

----------------------------------------------------------------------

Comment By: Anca Vamanu (anca_vamanu)
Date: 2011-10-02 15:46

Message:
Hi Richard,


I have made a patch that should fix this problem. I have attached it here.
Please test it and if it is ok, I will commit it also on 1.6 branch.

I also have one question - what scenario are you using? Is it top hiding?

Regards,
Anca


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3406294&group_id=232389



More information about the Devel mailing list