#413 Incorrect To header in subsequent requests through B2BUA

1.7.x
closed-fixed
modules (454)
5
2011-10-13
2011-09-08
rrevels
No

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@1.2.3.4

On the responses, the to-tag has been added by the UAS:
To: sip:18566625637;rn=18563809999;npdi=yes@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.

Discussion

  • rrevels

    rrevels - 2011-09-08

    PCAP example of issue. In this example, 216.139.221.198 is the B2BUA.

     
  • Anca Vamanu

    Anca Vamanu - 2011-10-02

    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

     
  • Anca Vamanu

    Anca Vamanu - 2011-10-02
    • assigned_to: nobody --> anca_vamanu
     
  • Nobody/Anonymous

    Anca,

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

    Regards,
    Ryan

     
  • rrevels

    rrevels - 2011-10-07

    Anca,

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

    Thanks,
    Ryan

     
  • Anca Vamanu

    Anca Vamanu - 2011-10-13

    I have committed the fix.

    Thanks,
    Anca

     
  • Anca Vamanu

    Anca Vamanu - 2011-10-13
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks