And when UDP transport is using, everything
works perfect. But when TCP is using (only "listen: tcp:IP:5060"
is set) NOTIFY is not send. When "listen: tcp:IP:5060" and "listen:
udp:IP:5060" I receive NOTIFY but through UDP. SIP trace is bellow:
No. Time
Source
Destination
Protocol Length Info
715 2018-06-18 17:05:13,164685
10.0.8.249 10.0.6.226
SIP 585
Request: SUBSCRIBE sip:71010@10.0.6.226:5060;transport=tcp |
Frame 715: 585 bytes on wire (4680 bits),
585 bytes captured (4680 bits) on interface 0
Ethernet II, Src: LcfcHefe_86:92:0a
(28:d2:44:86:92:0a), Dst: 8e:5c:a8:56:db:cb (8e:5c:a8:56:db:cb)
Internet Protocol Version 4, Src: 10.0.8.249,
Dst: 10.0.6.226
Transmission Control Protocol, Src Port:
50636, Dst Port: 5060, Seq: 1, Ack: 1, Len: 531
Session Initiation Protocol (SUBSCRIBE)
Request-Line: SUBSCRIBE
sip:71010@10.0.6.226:5060;transport=tcp SIP/2.0
Message Header
Via: SIP/2.0/TCP
10.0.8.249:5060;transport=tcp;branch=z9hG4bK-10772-1-0
From: <sip:61010@10.0.8.249>;transport=tcp;tag=1
To: <sip:71010@10.0.6.226:5060>
Call-ID:
1-10772@10.0.8.249
CSeq: 1
SUBSCRIBE
Contact:
sip:61010@10.0.8.249:5060;transport=tcp
Max-Forwards:
10
Event: dialog
Expires:
7200
[Expert
Info (Warning/Malformed): Header has no colon after the name]
User-Agent:
SIPp/Win32
Accept:
application/dialog-info+xml, multipart/related, application/rlmi+xml
Content-Length:
0
No. Time
Source
Destination
Protocol Length Info
870 2018-06-18 17:05:13,259323
10.0.6.226 10.0.8.249
SIP 439
Status: 202 OK |
Frame 870: 439 bytes on wire (3512 bits),
439 bytes captured (3512 bits) on interface 0
Ethernet II, Src: 8e:5c:a8:56:db:cb
(8e:5c:a8:56:db:cb), Dst: LcfcHefe_86:92:0a (28:d2:44:86:92:0a)
Internet Protocol Version 4, Src: 10.0.6.226,
Dst: 10.0.8.249
Transmission Control Protocol, Src Port:
5060, Dst Port: 50636, Seq: 1, Ack: 532, Len: 385
Session Initiation Protocol (202)
Status-Line: SIP/2.0 202
OK
Message Header
Via: SIP/2.0/TCP
10.0.8.249:5060;transport=tcp;branch=z9hG4bK-10772-1-0
From: <sip:61010@10.0.8.249>;transport=tcp;tag=1
To: <sip:71010@10.0.6.226:5060>;tag=b3c72a85f6f978c1e325d5994421001b-970f
Call-ID:
1-10772@10.0.8.249
CSeq: 1
SUBSCRIBE
Expires:
3600
Contact:
<sip:10.0.6.226:5060;transport=tcp>
Server:
kamailio (5.1.3 (x86_64/linux))
Content-Length:
0
No. Time
Source
Destination
Protocol Length Info
871 2018-06-18 17:05:13,259815
10.0.8.249 10.0.6.226
SIP 337
Status: 200 OK |
Frame 871: 337 bytes on wire (2696 bits),
337 bytes captured (2696 bits) on interface 0
Ethernet II, Src: LcfcHefe_86:92:0a
(28:d2:44:86:92:0a), Dst: 8e:5c:a8:56:db:cb (8e:5c:a8:56:db:cb)
Internet Protocol Version 4, Src: 10.0.8.249,
Dst: 10.0.6.226
Transmission Control Protocol, Src Port:
50636, Dst Port: 5060, Seq: 532, Ack: 386, Len: 283
Session Initiation Protocol (200)
Status-Line: SIP/2.0 200
OK
Message Header
Via: SIP/2.0/TCP
10.0.8.249:5060;transport=tcp;branch=z9hG4bK-10772-1-0
From: <sip:61010@10.0.8.249>;transport=tcp;tag=1
To: <sip:71010@10.0.6.226:5060>;tag=b3c72a85f6f978c1e325d5994421001b-970f
Call-ID:
1-10772@10.0.8.249
CSeq: 1
SUBSCRIBE
Content-Length:
0
No. Time
Source
Destination
Protocol Length Info
1924 2018-06-18 17:05:19,259639
10.0.6.226 10.0.8.249
SIP 1193
Request: NOTIFY sip:61010@10.0.8.249:5060 |