May 7, 2008 9:04 AM
[OpenSBC] Changing header line
Hi
I am testing latest CVS and seems there is something wrong with some
OSBC replies.
OSBC is running in B2BUpperReg mode and test is done with a SIP phone
which is behind a NAT router and using OSBC as it's outbound proxy.
Placing outbound calls is working just fine ( SIP phone -> OSBC -> UAS )
However the other way around I have a problem ( UAS -> OSBC -> SIP Phone ) :
The problem is that the To: header that was initially set in the UAS
INVITE has the port value changed from 5062 (backdoor port) to 5060
starting with the 180 Ringing response.
When the UAS parses this To: header that was modified from it's
original form by OSBC, it will ignore the reply as it must (among
others) validate the To: header match with his INVITE transaction.
Here is the actual example:
1- UAS INVITE: To: sip:1234@XXX.XXX.XXX.72:5062 (UAS sends INVITE
towards OSBC to ring SIP phone)
2- OSBC 100 Trying: To: sip:1234@XXX.XXX.XXX.72:5062
3- OSBC 180 Ringing: To: sip:1234@XXX.XXX.XXX.72:5060 (ignored by UAS)
4- OSBC 200 OK: To: sip:1234@XXX.XXX.XXX.72:5060 (ignored by UAS)
5- 200 OK retransmitted by OSBC many times as UAS won't reply, then I
hang-up the SIP phone.
6- OSBC BYE: To: sip:1234@XXX.XXX.XXX.72:5060
7- UAS 481 Call transaction not found
I also tried not to answer the phone and hang-up the call on the UAS
side after getting 180 by OSBC (right after step 3 above).
UAS sends a Cancel and a 200 OK is sent from OSBC with the correct
port 5062, but then followed with 487 Request Cancelled with still the
wrong port 5060.
Any thoughts why this To: header port changed ?
None of the B2BUA-Routes rewrite setting is enabled
Thank you,
JD
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Opensipstack-osbcdevel mailing list
Opensipstack-osbcdevel at lists dot sourceforge dot net
https://lists.sourceforge.net/lists/listinfo/opensipstack-osbcdevel