#542 B2B doesn't recognize UPDATE as own dialog

1.8.x
closed-fixed
modules (454)
5
2012-09-10
2012-07-18
Nick Altmann
No

In dialog below b2b doesn't recognize UPDATE as own dialog.
In log I see:
ERROR:b2b_entities:b2b_prescript_f: No dialog found, callid= [b2b.4043.2922266], method=UPDATE

UPDATE is coming not to B2B_REQUEST ROUTE, but to MAIN ROUTE.

why?

P.S. Please, delete bug #3545272

192.168.0.1:5060 192.168.0.2:5059
| | <Call><PFrame><Time>
| |
|>F1 INVITE (sdp)----------------------------->| 4 PF:15 16:34:20.5527
| |
|<------------------------------ Trying 100 F2<| 4 PF:16 16:34:20.5787
| |
|<----------------------------- Ringing 180 F3<| 4 PF:17 16:34:20.8494
| |
|<-----------------------------(sdp) OK 200 F4<| 4 PF:21 16:34:26.8864
| |
|>F5 ACK ------------------------------------->| 4 PF:28 16:34:27.0476
| |
|<-----------------------------(sdp) UPDATE F6<| 4 PF:29 16:34:27.1596
| |
|>F7 481 Call leg/Transaction does not exist ->| 4 PF:30 16:34:27.1598
| |
|<------------------------------------- BYE F8<| 4 PF:31 16:34:27.1633
| |
|>F9 200 OK ---------------------------------->| 4 PF:38 16:34:27.1869

================================================================================

SIP MESSAGE 1 192.168.0.1:5060() -> 192.168.0.2:5059()
UDP Frame 15 17/Jul/12 16:34:20.5527 TimeFromPreviousSipFrame=0.1182 TimeFromStart=0.1182
INVITE sip:user1@192.168.0.2:5059 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.1;branch=z9hG4bKa91.325065e7.0
From: "test10" <sip:test10@domain1.com:5060>;tag=7d57bacb7ad82304ef6bb6648e582de2
To: sip:user1@domain2.com
CSeq: 26185 INVITE
Call-ID: b2b.4043.2922266
Max-Forwards: 70
Content-Length: 330
User-Agent: B2B OPENSIPS
Content-Type: application/sdp
Supported: replaces, 100rel, timer, norefersub
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Session-Expires: 1800
Min-SE: 90
Ssw-Cookie: b2b.1531.5634552
Contact: <sip:192.168.0.1:5060>

v=0
o=- 3551517260 3551517260 IN IP4 192.168.0.3
s=pjmedia
c=IN IP4 192.168.0.3
t=0 0
a=X-nat:0
m=audio 13174 RTP/AVP 8 101
a=rtcp:13175 IN IP4 192.168.0.3
a=rtpmap:8 PCMA/8000
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=oldmediaip:192.168.0.4
a=oldmediaip:192.168.0.4
a=sdpmangled:yes

================================================================================

SIP MESSAGE 2 192.168.0.2:5059() -> 192.168.0.1:5060()
UDP Frame 16 17/Jul/12 16:34:20.5787 TimeFromPreviousSipFrame=0.0260 TimeFromStart=0.1442
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.1;branch=z9hG4bKa91.325065e7.0
To: <sip:user1@domain2.com>;tag=268f725d
From: "test10"<sip:test10@domain1.com:5060>;tag=7d57bacb7ad82304ef6bb6648e582de2
Call-ID: b2b.4043.2922266
CSeq: 26185 INVITE
User-Agent: Softswitch2
Content-Length: 0

================================================================================

SIP MESSAGE 3 192.168.0.2:5059() -> 192.168.0.1:5060()
UDP Frame 17 17/Jul/12 16:34:20.8494 TimeFromPreviousSipFrame=0.2707 TimeFromStart=0.4149
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.0.1;branch=z9hG4bKa91.325065e7.0
Contact: <sip:user1@192.168.0.2:5059>
To: <sip:user1@domain2.com>;tag=268f725d
From: "test10"<sip:test10@domain1.com:5060>;tag=7d57bacb7ad82304ef6bb6648e582de2
Call-ID: b2b.4043.2922266
CSeq: 26185 INVITE
User-Agent: Softswitch2
Content-Length: 0

================================================================================

SIP MESSAGE 4 192.168.0.2:5059() -> 192.168.0.1:5060()
UDP Frame 21 17/Jul/12 16:34:26.8864 TimeFromPreviousSipFrame=6.0370 TimeFromStart=6.4519
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.1;branch=z9hG4bKa91.325065e7.0
Contact: <sip:user1@192.168.0.2:5059>
To: <sip:user1@domain2.com>;tag=268f725d
From: "test10"<sip:test10@domain1.com:5060>;tag=7d57bacb7ad82304ef6bb6648e582de2
Call-ID: b2b.4043.2922266
CSeq: 26185 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, REGISTER, INFO, REFER, MESSAGE
Content-Type: application/sdp
Supported: replaces
User-Agent: Softswitch2
Content-Length: 214

v=0
o=- 139287600 139287600 IN IP4 192.168.0.5
s=-
c=IN IP4 192.168.0.5
t=0 0
m=audio 26342 RTP/AVP 8 101
c=IN IP4 192.168.0.5
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

================================================================================

SIP MESSAGE 5 192.168.0.1:5060() -> 192.168.0.2:5059()
UDP Frame 28 17/Jul/12 16:34:27.0476 TimeFromPreviousSipFrame=0.1612 TimeFromStart=6.6131
ACK sip:user1@192.168.0.2:5059 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.1;branch=z9hG4bKa91.425065e7.0
To: <sip:user1@192.168.0.2:5059>;tag=268f725d
From: "test10" <sip:test10@domain1.com:5060>;tag=7d57bacb7ad82304ef6bb6648e582de2
CSeq: 26185 ACK
Call-ID: b2b.4043.2922266
Max-Forwards: 70
Content-Length: 0
User-Agent: B2B OPENSIPS
Contact: <sip:192.168.0.1:5060>

================================================================================

SIP MESSAGE 6 192.168.0.2:5059() -> 192.168.0.1:5060()
UDP Frame 29 17/Jul/12 16:34:27.1596 TimeFromPreviousSipFrame=0.1121 TimeFromStart=6.7252
UPDATE sip:192.168.0.1:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.2:5059;branch=z9hG4bK-d8754z-f4f9495fdc9c5a5f-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:user1@192.168.0.2:5059>
To: "test10"<sip:test10@domain1.com:5060>;tag=7d57bacb7ad82304ef6bb6648e582de2
From: <sip:user1@domain2.com>;tag=268f725d
Call-ID: b2b.4043.2922266
CSeq: 2 UPDATE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, REGISTER, INFO, REFER, MESSAGE
Content-Type: application/sdp
Supported: replaces
User-Agent: Softswitch2
Content-Length: 158

v=0
o=- 142277600 142277600 IN IP4 192.168.0.5
s=-
c=IN IP4 192.168.0.5
t=0 0
m=audio 26342 RTP/AVP 8
c=IN IP4 192.168.0.5
a=rtpmap:8 PCMA/8000

================================================================================

SIP MESSAGE 7 192.168.0.1:5060() -> 192.168.0.2:5059()
UDP Frame 30 17/Jul/12 16:34:27.1598 TimeFromPreviousSipFrame=0.0001 TimeFromStart=6.7253
SIP/2.0 481 Call leg/Transaction does not exist
Via: SIP/2.0/UDP 192.168.0.2:5059;received=192.168.0.2;branch=z9hG4bK-d8754z-f4f9495fdc9c5a5f-1---d8754z-;rport=5059
To: "test10"<sip:test10@domain1.com:5060>;tag=7d57bacb7ad82304ef6bb6648e582de2
From: <sip:user1@domain2.com>;tag=268f725d
Call-ID: b2b.4043.2922266
CSeq: 2 UPDATE
Server: B2B OPENSIPS
Content-Length: 0

================================================================================

SIP MESSAGE 8 192.168.0.2:5059() -> 192.168.0.1:5060()
UDP Frame 31 17/Jul/12 16:34:27.1633 TimeFromPreviousSipFrame=0.0035 TimeFromStart=6.7288
BYE sip:192.168.0.1:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.2:5059;branch=z9hG4bK-d8754z-adea8b4a7ba3b811-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:user1@192.168.0.2:5059>
To: "test10"<sip:test10@domain1.com:5060>;tag=7d57bacb7ad82304ef6bb6648e582de2
From: <sip:user1@domain2.com>;tag=268f725d
Call-ID: b2b.4043.2922266
CSeq: 3 BYE
User-Agent: Softswitch2
Content-Length: 0

================================================================================

SIP MESSAGE 9 192.168.0.1:5060() -> 192.168.0.2:5059()
UDP Frame 38 17/Jul/12 16:34:27.1869 TimeFromPreviousSipFrame=0.0237 TimeFromStart=6.7524
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.2:5059;received=192.168.0.2;branch=z9hG4bK-d8754z-adea8b4a7ba3b811-1---d8754z-;rport=5059
To: "test10"<sip:test10@domain1.com:5060>;tag=7d57bacb7ad82304ef6bb6648e582de2
From: <sip:user1@domain2.com>;tag=268f725d
Call-ID: b2b.4043.2922266
CSeq: 3 BYE
Contact: <sip:192.168.0.1:5060>
Server: B2B OPENSIPS
Content-Length: 0

Discussion

    • assigned_to: nobody --> bogdan_iancu
    • status: open --> closed-fixed
     
  • Fixed by backporting #8879 to 1.8