[OpenSIPS-Users] B2B top hiding not processing BYE correctly

Anca Vamanu anca at opensips.org
Mon Jan 3 14:06:19 CET 2011


Hi Henk,

The reason is that the RURI for the first BYE does not match the contact 
that OpenSIPS B2BUA put in 200Ok:

U 2011/01/02 03:23:25.592645 10.190.0.1:5061 ->  10.135.59.244:5060
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 10.135.59.244:5060;branch=z9hG4bK5ogp5300b81hjec9n300.1.
To:<sip:0503640020 at voip1;user=phone>;tag=B2B.53.396.
From:<sip:0653209137 at kpn.nl;user=phone>;tag=a7233be6aa6449d14444ceb834091332.
Call-ID: ERICSSONBTK_TERM_331924601c49ee336ab3246fea87efea at 10.50.161.250.
CSeq: 1302786060 INVITE.
Content-Type: application/sdp.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Contact:<sip:sa at 10.190.0.1:5061>.
Server: OpenSIPS (1.6.4-notls (x86_64/linux)).
Content-Length: 211.


U 2011/01/02 03:23:30.359496 10.135.59.244:5060 ->  10.190.0.1:5061
BYE sip:sa at voip1:5061 SIP/2.0.
Via: SIP/2.0/UDP 10.135.59.244:5060;branch=z9hG4bK784vb0109gl0aesd1581cddi91v60.1.
To:<sip:0503640020 at voip1;user=phone>;tag=B2B.53.396.
From:<sip:0653209137 at kpn.nl;user=phone>;tag=a7233be6aa6449d14444ceb834091332.
Call-ID: ERICSSONBTK_TERM_331924601c49ee336ab3246fea87efea at 10.50.161.250.
CSeq: 1302786061 BYE.
Max-Forwards: 68.
Content-Length: 0.
Contact:<sip:10.135.59.244:5060;transport=udp>.
Allow: INVITE, CANCEL, ACK, BYE.
.



Here is the section in RFC that says the RURI must match the contact:

12.2.1.1 Generating the Request

    "If the route set is empty, the UAC MUST place the remote target URI
    into the Request-URI."


Regards,

-- 
Anca Vamanu
www.voice-system.ro




More information about the Users mailing list