[sr-dev] [kamailio/kamailio] Problem with CANCEL handling (#1841)

alkorik notifications at github.com
Mon Feb 11 09:09:31 CET 2019


[root at kamailio log]# ngrep -d any -qt -W byline "sip" port 5060
interface: any
filter: ( port 5060 ) and (ip || ip6)
match: sip

U 2019/02/11 10:04:27.082271 214.22.198.51:5060 -> 38.149.172.163:5060 #1
INVITE sip:100 at 38.149.172.163:5060 SIP/2.0.
Via: SIP/2.0/UDP 214.22.198.51:5060;branch=z9hG4bK36045fbd.
Max-Forwards: 70.
From: "testaccount" <sip:123456 at 214.22.198.51>;tag=as5cd2705d.
To: <sip:100 at 38.149.172.163:5060>.
Contact: <sip:123456 at 214.22.198.51:5060>.
Call-ID: 049fb3dc6ef4901060de258b794fc916 at 214.22.198.51:5060.
CSeq: 102 INVITE.
User-Agent: Asterisk PBX 14.6.2.
Date: Mon, 11 Feb 2019 08:04:27 GMT.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE.
Supported: replaces, timer.
Content-Type: application/sdp.
Content-Length: 312.
..
v=0.
o=root 2139827131 2139827131 IN IP4 214.22.198.51.
s=Asterisk PBX 14.6.2.
c=IN IP4 214.22.198.51.
t=0 0.
m=audio 19844 RTP/AVP 18 8 0 101.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:8 PCMA/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=maxptime:150.
a=sendrecv.
................

U 2019/02/11 10:04:27.082792 38.149.172.163:5060 -> 214.22.198.51:5060 #2
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 214.22.198.51:5060;branch=z9hG4bK36045fbd.
From: "testaccount" <sip:123456 at 214.22.198.51>;tag=as5cd2705d.
To: <sip:100 at 38.149.172.163:5060>.
Call-ID: 049fb3dc6ef4901060de258b794fc916 at 214.22.198.51:5060.
CSeq: 102 INVITE.
Server: kamailio (5.2.1 (x86_64/linux)).
Content-Length: 0.
..
................

U 2019/02/11 10:04:27.082887 38.149.172.163:5060 -> 38.149.172.164:5060 #3
INVITE sip:100 at 38.149.172.163:5060 SIP/2.0.
Via: SIP/2.0/UDP 38.149.172.163;branch=z9hG4bK0e77.45dda2182eeb3d9621f578f5920132b5.0.
Via: SIP/2.0/UDP 214.22.198.51:5060;branch=z9hG4bK36045fbd.
Max-Forwards: 69.
From: "testaccount" <sip:123456 at 214.22.198.51>;tag=as5cd2705d.
To: <sip:100 at 38.149.172.163:5060>.
Contact: <sip:123456 at 214.22.198.51:5060>.
Call-ID: 049fb3dc6ef4901060de258b794fc916 at 214.22.198.51:5060.
CSeq: 102 INVITE.
User-Agent: Asterisk PBX 14.6.2.
Date: Mon, 11 Feb 2019 08:04:27 GMT.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE.
Supported: replaces, timer.
Content-Type: application/sdp.
Content-Length: 312.
..
v=0.
o=root 2139827131 2139827131 IN IP4 214.22.198.51.
s=Asterisk PBX 14.6.2.
c=IN IP4 214.22.198.51.
t=0 0.
m=audio 19844 RTP/AVP 18 8 0 101.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:8 PCMA/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=maxptime:150.
a=sendrecv.
................

U 2019/02/11 10:04:27.084992 38.149.172.164:5060 -> 38.149.172.163:5060 #4
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 38.149.172.163;branch=z9hG4bK0e77.45dda2182eeb3d9621f578f5920132b5.0;received=38.149.172.163.
Via: SIP/2.0/UDP 214.22.198.51:5060;branch=z9hG4bK36045fbd.
From: "testaccount" <sip:123456 at 214.22.198.51>;tag=as5cd2705d.
To: <sip:100 at 38.149.172.163:5060>.
Call-ID: 049fb3dc6ef4901060de258b794fc916 at 214.22.198.51:5060.
CSeq: 102 INVITE.
Server: Asterisk PBX 16.1.1.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE.
Supported: replaces, timer.
Session-Expires: 1800;refresher=uas.
Contact: <sip:100 at 38.149.172.164:5060>.
Content-Length: 0.
..
................

U 2019/02/11 10:04:27.085173 38.149.172.163:5060 -> 214.22.198.51:5060 #5
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 214.22.198.51:5060;branch=z9hG4bK36045fbd.
From: "testaccount" <sip:123456 at 214.22.198.51>;tag=as5cd2705d.
To: <sip:100 at 38.149.172.163:5060>.
Call-ID: 049fb3dc6ef4901060de258b794fc916 at 214.22.198.51:5060.
CSeq: 102 INVITE.
Server: Asterisk PBX 16.1.1.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE.
Supported: replaces, timer.
Session-Expires: 1800;refresher=uas.
Contact: <sip:100 at 38.149.172.164:5060>.
Content-Length: 0.
..
................

U 2019/02/11 10:04:27.130931 38.149.172.164:5060 -> 38.149.172.163:5060 #6
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP 38.149.172.163;branch=z9hG4bK0e77.45dda2182eeb3d9621f578f5920132b5.0;received=38.149.172.163.
Via: SIP/2.0/UDP 214.22.198.51:5060;branch=z9hG4bK36045fbd.
From: "testaccount" <sip:123456 at 214.22.198.51>;tag=as5cd2705d.
To: <sip:100 at 38.149.172.163:5060>;tag=as4281a87a.
Call-ID: 049fb3dc6ef4901060de258b794fc916 at 214.22.198.51:5060.
CSeq: 102 INVITE.
Server: Asterisk PBX 16.1.1.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE.
Supported: replaces, timer.
Session-Expires: 1800;refresher=uas.
Contact: <sip:100 at 38.149.172.164:5060>.
Content-Length: 0.
..
................

U 2019/02/11 10:04:27.131137 38.149.172.163:5060 -> 214.22.198.51:5060 #7
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP 214.22.198.51:5060;branch=z9hG4bK36045fbd.
From: "testaccount" <sip:123456 at 214.22.198.51>;tag=as5cd2705d.
To: <sip:100 at 38.149.172.163:5060>;tag=as4281a87a.
Call-ID: 049fb3dc6ef4901060de258b794fc916 at 214.22.198.51:5060.
CSeq: 102 INVITE.
Server: Asterisk PBX 16.1.1.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE.
Supported: replaces, timer.
Session-Expires: 1800;refresher=uas.
Contact: <sip:100 at 38.149.172.164:5060>.
Content-Length: 0.
..
................

U 2019/02/11 10:04:30.209844 214.22.198.51:5060 -> 38.149.172.163:5060 #8
CANCEL sip:100 at 38.149.172.163:5060 SIP/2.0.
Via: SIP/2.0/UDP 214.22.198.51:5060;branch=z9hG4bK36045fbd.
Max-Forwards: 70.
From: "testaccount" <sip:123456 at 214.22.198.51>;tag=as5cd2705d.
To: <sip:100 at 38.149.172.163:5060>.
Call-ID: 049fb3dc6ef4901060de258b794fc916 at 214.22.198.51:5060.
CSeq: 102 CANCEL.
User-Agent: Asterisk PBX 14.6.2.
Content-Length: 0.
..
................

U 2019/02/11 10:04:30.710386 214.22.198.51:5060 -> 38.149.172.163:5060 #9
CANCEL sip:100 at 38.149.172.163:5060 SIP/2.0.
Via: SIP/2.0/UDP 214.22.198.51:5060;branch=z9hG4bK36045fbd.
Max-Forwards: 70.
From: "testaccount" <sip:123456 at 214.22.198.51>;tag=as5cd2705d.
To: <sip:100 at 38.149.172.163:5060>.
Call-ID: 049fb3dc6ef4901060de258b794fc916 at 214.22.198.51:5060.
CSeq: 102 CANCEL.
User-Agent: Asterisk PBX 14.6.2.
Content-Length: 0.
..
................

U 2019/02/11 10:04:31.710612 214.22.198.51:5060 -> 38.149.172.163:5060 #10
CANCEL sip:100 at 38.149.172.163:5060 SIP/2.0.
Via: SIP/2.0/UDP 214.22.198.51:5060;branch=z9hG4bK36045fbd.
Max-Forwards: 70.
From: "testaccount" <sip:123456 at 214.22.198.51>;tag=as5cd2705d.
To: <sip:100 at 38.149.172.163:5060>.
Call-ID: 049fb3dc6ef4901060de258b794fc916 at 214.22.198.51:5060.
CSeq: 102 CANCEL.
User-Agent: Asterisk PBX 14.6.2.
Content-Length: 0.
..
................


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1841#issuecomment-462245017
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190211/c314be9f/attachment-0001.html>


More information about the sr-dev mailing list