Send the full trace for not working scenario, from invite to cancel, it is hard to track from two partial traces, small bits can make difference here, so if these call-id, branch, tags are different, then I have to work on guessing, ...
Cheers, Daniel On 19.04.18 11:00, Kelvin Chua wrote: > yes i have it, sorry i missed that part, they are identical except for > Call-ID, tag, branch > > U 2018/04/19 05:31:30.319735 w.x.y.z:34439 -> a.b.c.d:6060 > INVITE sip:[email protected]:6060;transport=UDP SIP/2.0. > Via: SIP/2.0/UDP > w.x.y.z:34439;branch=z9hG4bK-524287-1---b186786334147b7d;rport. > Max-Forwards: 70. > Contact: <sip:[email protected]:34439;transport=UDP>. > To: <sip:[email protected]:6060;transport=UDP>. > From: <sip:[email protected]:6060;transport=UDP>;tag=d75e236e. > Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... > CSeq: 1 INVITE. > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, > INFO, SUBSCRIBE. > Content-Type: application/sdp. > User-Agent: Zoiper rv2.8.87-mod. > Allow-Events: presence, kpml, talk. > Content-Length: 243. > . > v=0. > o=Zoiper 0 0 IN IP4 192.168.1.234. > s=Zoiper. > c=IN IP4 192.168.1.234. > t=0 0. > m=audio 38678 RTP/AVP 3 101 0 8. > a=rtpmap:3 GSM/8000. > a=rtpmap:101 telephone-event/8000. > a=fmtp:101 0-16. > a=rtpmap:0 PCMU/8000. > a=rtpmap:8 PCMA/8000. > a=sendrecv. > > > U 2018/04/19 05:31:30.320283 a.b.c.d:6060 -> w.x.y.z:34439 > SIP/2.0 100 Trying. > Via: SIP/2.0/UDP > w.x.y.z:34439;branch=z9hG4bK-524287-1---b186786334147b7d;rport=34439;received=w.x.y.z. > To: <sip:[email protected]:6060;transport=UDP>. > From: <sip:[email protected]:6060;transport=UDP>;tag=d75e236e. > Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... > CSeq: 1 INVITE. > Server: kamailio (5.1.2 (x86_64/linux)). > Content-Length: 0. > . > > > Kelvin Chua > > On Thu, Apr 19, 2018 at 4:14 PM, Daniel-Constantin Mierla > <[email protected] <mailto:[email protected]>> wrote: > > The INVITE from w.x.y.z:44308 -> a.b.c.d:6060 is not given. That's > the one that is needed in order to match the CANCEL, which comes > from w.x.y.z. > > Can you provide it? > > Cheers, > Daniel > > > On 19.04.18 09:47, Kelvin Chua wrote: >> *here is an ngrep of the working one* >> >> U 2018/04/19 05:31:31.112392 a.b.c.d:6060 -> a.b.c.d:5090 >> INVITE sip:[email protected]:6060;transport=UDP SIP/2.0. >> Record-Route: <sip:a.b.c.d:6060;lr;ftag=d75e236e;nat=yes>. >> Via: SIP/2.0/UDP >> a.b.c.d:6060;branch=z9hG4bK638a.ebce2b6669d2c54149bcc613c89d6510.1. >> Via: SIP/2.0/UDP >> >> w.x.y.z:34439;received=w.x.y.z;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport=34439. >> Max-Forwards: 70. >> Contact: >> <sip:[email protected]:34439;transport=UDP;alias=w.x.y.z~34439~1>. >> To: <sip:[email protected]:6060;transport=UDP>. >> From: <sip:[email protected]:6060;transport=UDP>;tag=d75e236e. >> Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... >> P-Called-Identity: 408. >> CSeq: 2 INVITE. >> Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, >> INFO, SUBSCRIBE. >> Content-Type: application/sdp. >> Proxy-Authorization: Digest username="kelvin",realm="domain.com >> >> <http://domain.com>",nonce="3861e6cdaf8a44cce98721e3c8dda428",uri="sip:[email protected]:6060;transport=UDP",response="b7a365bd35650736c45d2048d924ea0b",cnonce="492da67adf4a5853f0aa012c2fa5a757",nc=00000001,qop=auth,algorithm=MD5. >> User-Agent: Zoiper rv2.8.87-mod. >> Allow-Events: presence, kpml, talk. >> Content-Length: 255. >> P-Called-Party-ID: <sip:[email protected]:6060;transport=UDP>. >> . >> v=0. >> o=Zoiper 0 0 IN IP4 a.b.c.d. >> s=Zoiper. >> c=IN IP4 a.b.c.d. >> t=0 0. >> m=audio 19592 RTP/AVP 3 101 0 8. >> a=rtpmap:3 GSM/8000. >> a=rtpmap:101 telephone-event/8000. >> a=fmtp:101 0-16. >> a=rtpmap:0 PCMU/8000. >> a=rtpmap:8 PCMA/8000. >> a=sendrecv. >> a=rtcp:19593. >> >> >> U 2018/04/19 05:31:31.180853 a.b.c.d:5090 -> a.b.c.d:6060 >> SIP/2.0 100 Trying. >> Via: SIP/2.0/UDP >> a.b.c.d:6060;branch=z9hG4bK638a.ebce2b6669d2c54149bcc613c89d6510.1. >> Via: SIP/2.0/UDP >> >> w.x.y.z:34439;received=w.x.y.z;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport=34439. >> To: <sip:[email protected]:6060;transport=UDP>. >> From: <sip:[email protected]:6060;transport=UDP>;tag=d75e236e. >> Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... >> CSeq: 2 INVITE. >> Server: kamailio (5.1.2 (x86_64/linux)). >> Content-Length: 0. >> . >> >> >> U 2018/04/19 05:31:35.134023 a.b.c.d:5090 -> a.b.c.d:6060 >> SIP/2.0 183 Session Progress. >> Via: SIP/2.0/UDP >> a.b.c.d:6060;branch=z9hG4bK638a.ebce2b6669d2c54149bcc613c89d6510.1. >> Via: SIP/2.0/UDP >> >> w.x.y.z:34439;received=w.x.y.z;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport=34439. >> Record-Route: >> >> <sip:a.b.c.d:5090;lr=on;ftag=d75e236e;did=208.b272;ReIn=true>,<sip:a.b.c.d:6060;lr;ftag=d75e236e;nat=yes>. >> From: <sip:[email protected]:6060;transport=UDP>;tag=d75e236e. >> To: <sip:[email protected]:6060;transport=UDP>;tag=r5eFv3QrQD71H. >> Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... >> CSeq: 2 INVITE. >> Contact: <sip:e.f.g.h;did=2082.1aaa8341>. >> User-Agent: SIP. >> Accept: application/sdp. >> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >> REGISTER, REFER, NOTIFY. >> Supported: timer, path, replaces. >> Allow-Events: talk, hold, conference, refer. >> Content-Type: application/sdp. >> Content-Disposition: session. >> Content-Length: 222. >> . >> v=0. >> o=UAC 23521 12211 IN IP4 23.29.25.68. >> s=SIP Media Capabilities. >> c=IN IP4 23.29.25.74. >> t=0 0. >> m=audio 25694 RTP/AVP 0 101. >> a=rtpmap:0 PCMU/8000. >> a=rtpmap:101 telephone-event/8000. >> a=fmtp:101 0-15. >> a=maxptime:20. >> >> >> U 2018/04/19 05:31:35.134763 a.b.c.d:6060 -> w.x.y.z:34439 >> SIP/2.0 183 Session Progress. >> Via: SIP/2.0/UDP >> >> w.x.y.z:34439;received=w.x.y.z;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport=34439. >> Record-Route: >> >> <sip:a.b.c.d:5090;lr=on;ftag=d75e236e;did=208.b272;ReIn=true>,<sip:a.b.c.d:6060;lr;ftag=d75e236e;nat=yes>. >> From: <sip:[email protected]:6060;transport=UDP>;tag=d75e236e. >> To: <sip:[email protected]:6060;transport=UDP>;tag=r5eFv3QrQD71H. >> Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... >> CSeq: 2 INVITE. >> Contact: <sip:e.f.g.h;did=2082.1aaa8341>. >> User-Agent: SIP. >> Accept: application/sdp. >> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >> REGISTER, REFER, NOTIFY. >> Supported: timer, path, replaces. >> Allow-Events: talk, hold, conference, refer. >> Content-Type: application/sdp. >> Content-Disposition: session. >> Content-Length: 250. >> . >> v=0. >> o=UAC 23521 12211 IN IP4 a.b.c.d. >> s=SIP Media Capabilities. >> c=IN IP4 a.b.c.d. >> t=0 0. >> m=audio 19610 RTP/AVP 0 101. >> a=rtpmap:0 PCMU/8000. >> a=rtpmap:101 telephone-event/8000. >> a=fmtp:101 0-15. >> a=maxptime:20. >> a=sendrecv. >> a=rtcp:19611. >> >> >> U 2018/04/19 05:31:36.054719 w.x.y.z:34439 -> a.b.c.d:6060 >> CANCEL sip:[email protected]:6060;transport=UDP SIP/2.0. >> Via: SIP/2.0/UDP >> w.x.y.z:34439;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport. >> Max-Forwards: 70. >> To: <sip:[email protected]:6060;transport=UDP>. >> From: <sip:[email protected]:6060;transport=UDP>;tag=d75e236e. >> Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... >> CSeq: 2 CANCEL. >> Proxy-Authorization: Digest username="kelvin",realm="domain.com >> >> <http://domain.com>",nonce="3861e6cdaf8a44cce98721e3c8dda428",uri="sip:[email protected]:6060;transport=UDP",response="8cace32bdff1bc61974d61c8a56238dd",cnonce="030abc48cc862c50cf8bd3d0e61844f3",nc=00000002,qop=auth,algorithm=MD5. >> User-Agent: Zoiper rv2.8.87-mod. >> Content-Length: 0. >> . >> >> >> U 2018/04/19 05:31:36.055183 a.b.c.d:6060 -> a.b.c.d:5090 >> CANCEL sip:[email protected]:6060;transport=UDP SIP/2.0. >> Via: SIP/2.0/UDP >> a.b.c.d:6060;branch=z9hG4bK638a.ebce2b6669d2c54149bcc613c89d6510.1. >> Max-Forwards: 70. >> To: <sip:[email protected]:6060;transport=UDP>. >> From: <sip:[email protected]:6060;transport=UDP>;tag=d75e236e. >> Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... >> CSeq: 2 CANCEL. >> Content-Length: 0. >> . >> >> >> U 2018/04/19 05:31:36.055259 a.b.c.d:6060 -> w.x.y.z:34439 >> SIP/2.0 200 canceling. >> Via: SIP/2.0/UDP >> >> w.x.y.z:34439;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport=34439;received=w.x.y.z. >> To: >> >> <sip:[email protected]:6060;transport=UDP>;tag=f072ba6a4747058fd2933a88d05e31a8-77fc. >> From: <sip:[email protected]:6060;transport=UDP>;tag=d75e236e. >> Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... >> CSeq: 2 CANCEL. >> Server: Sipsurge Overlord/1.0.0. <http://1.0.0.> >> Content-Length: 0. >> . >> >> >> U 2018/04/19 05:31:36.055443 a.b.c.d:5090 -> a.b.c.d:6060 >> SIP/2.0 200 canceling. >> Via: SIP/2.0/UDP >> a.b.c.d:6060;branch=z9hG4bK638a.ebce2b6669d2c54149bcc613c89d6510.1. >> To: >> >> <sip:[email protected]:6060;transport=UDP>;tag=886d45488eeb4821dd4d3b48f2349838-53f2. >> From: <sip:[email protected]:6060;transport=UDP>;tag=d75e236e. >> Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... >> CSeq: 2 CANCEL. >> Server: kamailio (5.1.2 (x86_64/linux)). >> Content-Length: 0. >> . >> >> >> U 2018/04/19 05:31:36.059120 a.b.c.d:5090 -> a.b.c.d:6060 >> SIP/2.0 487 Request Terminated. >> Via: SIP/2.0/UDP >> a.b.c.d:6060;branch=z9hG4bK638a.ebce2b6669d2c54149bcc613c89d6510.1. >> Via: SIP/2.0/UDP >> >> w.x.y.z:34439;received=w.x.y.z;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport=34439. >> To: >> >> <sip:[email protected]:6060;transport=UDP>;tag=886d45488eeb4821dd4d3b48f2349838-53f2. >> From: <sip:[email protected]:6060;transport=UDP>;tag=d75e236e. >> Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... >> CSeq: 2 INVITE. >> Server: kamailio (5.1.2 (x86_64/linux)). >> Content-Length: 0. >> . >> >> >> U 2018/04/19 05:31:36.059306 a.b.c.d:6060 -> a.b.c.d:5090 >> ACK sip:[email protected]:6060;transport=UDP SIP/2.0. >> Via: SIP/2.0/UDP >> a.b.c.d:6060;branch=z9hG4bK638a.ebce2b6669d2c54149bcc613c89d6510.1. >> Max-Forwards: 70. >> To: >> >> <sip:[email protected]:6060;transport=UDP>;tag=886d45488eeb4821dd4d3b48f2349838-53f2. >> From: <sip:[email protected]:6060;transport=UDP>;tag=d75e236e. >> Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... >> CSeq: 2 ACK. >> Content-Length: 0. >> . >> >> >> U 2018/04/19 05:31:36.060030 a.b.c.d:6060 -> w.x.y.z:34439 >> SIP/2.0 487 Request Terminated. >> Via: SIP/2.0/UDP >> >> w.x.y.z:34439;received=w.x.y.z;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport=34439. >> To: >> >> <sip:[email protected]:6060;transport=UDP>;tag=886d45488eeb4821dd4d3b48f2349838-53f2. >> From: <sip:[email protected]:6060;transport=UDP>;tag=d75e236e. >> Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... >> CSeq: 2 INVITE. >> Server: kamailio (5.1.2 (x86_64/linux)). >> Content-Length: 0. >> . >> >> >> U 2018/04/19 05:31:36.262168 w.x.y.z:34439 -> a.b.c.d:6060 >> ACK sip:[email protected]:6060;transport=UDP SIP/2.0. >> Via: SIP/2.0/UDP >> w.x.y.z:34439;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport. >> Max-Forwards: 70. >> To: >> >> <sip:[email protected]:6060;transport=UDP>;tag=886d45488eeb4821dd4d3b48f2349838-53f2. >> From: <sip:[email protected]:6060;transport=UDP>;tag=d75e236e. >> Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... >> CSeq: 2 ACK. >> Content-Length: 0. >> . >> >> >> >> *and then ngrep of the non-matching one* >> >> U 2018/04/19 04:39:43.137832 a.b.c.d:6060 -> a.b.c.d:5090 >> INVITE sip:[email protected]:6060;transport=UDP SIP/2.0. >> Record-Route: <sip:a.b.c.d:6060;lr;ftag=88ab0030;nat=yes>. >> Via: SIP/2.0/UDP >> a.b.c.d:6060;branch=z9hG4bKcd06.5537814be9e2ae1fe1f60daf1fb39e03.1. >> Via: SIP/2.0/UDP >> >> w.x.y.z:44308;received=w.x.y.z;branch=z9hG4bK-524287-1---bac673a0af203e10;rport=44308. >> Max-Forwards: 70. >> Contact: >> <sip:[email protected]:44308;transport=UDP;alias=w.x.y.z~44308~1>. >> To: <sip:[email protected]:6060;transport=UDP>. >> From: <sip:[email protected]:6060;transport=UDP>;tag=88ab0030. >> Call-ID: qXQ2PEtXgehz4CQYo2ryLg... >> P-Called-Identity: 408. >> CSeq: 2 INVITE. >> Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, >> INFO, SUBSCRIBE. >> Content-Type: application/sdp. >> Proxy-Authorization: Digest username="kelvin",realm="domain.com >> >> <http://domain.com>",nonce="815682331c7aaddbff9a28548d875652",uri="sip:[email protected]:6060;transport=UDP",response="c5147959ff30db5eb9d38fb7ec796a68",cnonce="3496cd726af47c79a4725f83f74c7d98",nc=00000001,qop=auth,algorithm=MD5. >> User-Agent: Zoiper rv2.8.87-mod. >> Allow-Events: presence, kpml, talk. >> Content-Length: 255. >> P-Called-Party-ID: <sip:[email protected]:6060;transport=UDP>. >> . >> v=0. >> o=Zoiper 0 0 IN IP4 a.b.c.d. >> s=Zoiper. >> c=IN IP4 a.b.c.d. >> t=0 0. >> m=audio 19554 RTP/AVP 3 101 0 8. >> a=rtpmap:3 GSM/8000. >> a=rtpmap:101 telephone-event/8000. >> a=fmtp:101 0-16. >> a=rtpmap:0 PCMU/8000. >> a=rtpmap:8 PCMA/8000. >> a=sendrecv. >> a=rtcp:19555. >> >> >> U 2018/04/19 04:39:43.202106 a.b.c.d:5090 -> a.b.c.d:6060 >> SIP/2.0 100 Trying. >> Via: SIP/2.0/UDP >> a.b.c.d:6060;branch=z9hG4bKcd06.5537814be9e2ae1fe1f60daf1fb39e03.1. >> Via: SIP/2.0/UDP >> >> w.x.y.z:44308;received=w.x.y.z;branch=z9hG4bK-524287-1---bac673a0af203e10;rport=44308. >> To: <sip:[email protected]:6060;transport=UDP>. >> From: <sip:[email protected]:6060;transport=UDP>;tag=88ab0030. >> Call-ID: qXQ2PEtXgehz4CQYo2ryLg... >> CSeq: 2 INVITE. >> Server: kamailio (5.1.2 (x86_64/linux)). >> Content-Length: 0. >> . >> >> >> U 2018/04/19 04:39:47.400412 a.b.c.d:5090 -> a.b.c.d:6060 >> SIP/2.0 183 Session Progress. >> Via: SIP/2.0/UDP >> a.b.c.d:6060;branch=z9hG4bKcd06.5537814be9e2ae1fe1f60daf1fb39e03.1. >> Via: SIP/2.0/UDP >> >> w.x.y.z:44308;received=w.x.y.z;branch=z9hG4bK-524287-1---bac673a0af203e10;rport=44308. >> Record-Route: >> >> <sip:a.b.c.d:5090;lr=on;ftag=88ab0030;did=8a.f2c2;ReIn=true>,<sip:a.b.c.d:6060;lr;ftag=88ab0030;nat=yes>. >> From: <sip:[email protected]:6060;transport=UDP>;tag=88ab0030. >> To: <sip:[email protected]:6060;transport=UDP>;tag=cp1SQvQ6SNSaH. >> Call-ID: qXQ2PEtXgehz4CQYo2ryLg... >> CSeq: 2 INVITE. >> Contact: <sip:e.f.g.h;did=8a06.2a2c6204>. >> User-Agent: SIP. >> Accept: application/sdp. >> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >> REGISTER, REFER, NOTIFY. >> Supported: timer, path, replaces. >> Allow-Events: talk, hold, conference, refer. >> Content-Type: application/sdp. >> Content-Disposition: session. >> Content-Length: 221. >> . >> v=0. >> o=UAC 7006 20280 IN IP4 23.29.21.84. >> s=SIP Media Capabilities. >> c=IN IP4 23.29.21.91. >> t=0 0. >> m=audio 27104 RTP/AVP 0 101. >> a=rtpmap:0 PCMU/8000. >> a=rtpmap:101 telephone-event/8000. >> a=fmtp:101 0-15. >> a=maxptime:20. >> >> >> U 2018/04/19 04:39:47.401210 a.b.c.d:6060 -> w.x.y.z:44308 >> SIP/2.0 183 Session Progress. >> Via: SIP/2.0/UDP >> >> w.x.y.z:44308;received=w.x.y.z;branch=z9hG4bK-524287-1---bac673a0af203e10;rport=44308. >> Record-Route: >> >> <sip:a.b.c.d:5090;lr=on;ftag=88ab0030;did=8a.f2c2;ReIn=true>,<sip:a.b.c.d:6060;lr;ftag=88ab0030;nat=yes>. >> From: <sip:[email protected]:6060;transport=UDP>;tag=88ab0030. >> To: <sip:[email protected]:6060;transport=UDP>;tag=cp1SQvQ6SNSaH. >> Call-ID: qXQ2PEtXgehz4CQYo2ryLg... >> CSeq: 2 INVITE. >> Contact: <sip:e.f.g.h;did=8a06.2a2c6204>. >> User-Agent: SIP. >> Accept: application/sdp. >> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >> REGISTER, REFER, NOTIFY. >> Supported: timer, path, replaces. >> Allow-Events: talk, hold, conference, refer. >> Content-Type: application/sdp. >> Content-Disposition: session. >> Content-Length: 249. >> . >> v=0. >> o=UAC 7006 20280 IN IP4 a.b.c.d. >> s=SIP Media Capabilities. >> c=IN IP4 a.b.c.d. >> t=0 0. >> m=audio 19576 RTP/AVP 0 101. >> a=rtpmap:0 PCMU/8000. >> a=rtpmap:101 telephone-event/8000. >> a=fmtp:101 0-15. >> a=maxptime:20. >> a=sendrecv. >> a=rtcp:19577. >> >> >> U 2018/04/19 04:39:49.552641 w.x.y.z:44308 -> a.b.c.d:6060 >> CANCEL sip:[email protected]:6060;transport=UDP SIP/2.0. >> Via: SIP/2.0/UDP >> w.x.y.z:44308;branch=z9hG4bK-524287-1---bac673a0af203e10;rport. >> Max-Forwards: 70. >> To: <sip:[email protected]:6060;transport=UDP>. >> From: <sip:[email protected]:6060;transport=UDP>;tag=88ab0030. >> Call-ID: qXQ2PEtXgehz4CQYo2ryLg... >> CSeq: 2 CANCEL. >> Proxy-Authorization: Digest username="kelvin",realm="domain.com >> >> <http://domain.com>",nonce="815682331c7aaddbff9a28548d875652",uri="sip:[email protected]:6060;transport=UDP",response="3e161bd546cdd5e8876cb48ffdfaeea0",cnonce="d1ca4c1b6e427869e795f7da457b3eef",nc=00000002,qop=auth,algorithm=MD5. >> User-Agent: Zoiper rv2.8.87-mod. >> Content-Length: 0. >> . >> >> >> U 2018/04/19 04:39:50.050153 w.x.y.z:44308 -> a.b.c.d:6060 >> CANCEL sip:[email protected]:6060;transport=UDP SIP/2.0. >> Via: SIP/2.0/UDP >> w.x.y.z:44308;branch=z9hG4bK-524287-1---bac673a0af203e10;rport. >> Max-Forwards: 70. >> To: <sip:[email protected]:6060;transport=UDP>. >> From: <sip:[email protected]:6060;transport=UDP>;tag=88ab0030. >> Call-ID: qXQ2PEtXgehz4CQYo2ryLg... >> CSeq: 2 CANCEL. >> Proxy-Authorization: Digest username="kelvin",realm="domain.com >> >> <http://domain.com>",nonce="815682331c7aaddbff9a28548d875652",uri="sip:[email protected]:6060;transport=UDP",response="3e161bd546cdd5e8876cb48ffdfaeea0",cnonce="d1ca4c1b6e427869e795f7da457b3eef",nc=00000002,qop=auth,algorithm=MD5. >> User-Agent: Zoiper rv2.8.87-mod. >> Content-Length: 0. >> . >> >> >> U 2018/04/19 04:39:51.048945 w.x.y.z:44308 -> a.b.c.d:6060 >> CANCEL sip:[email protected]:6060;transport=UDP SIP/2.0. >> Via: SIP/2.0/UDP >> w.x.y.z:44308;branch=z9hG4bK-524287-1---bac673a0af203e10;rport. >> Max-Forwards: 70. >> To: <sip:[email protected]:6060;transport=UDP>. >> From: <sip:[email protected]:6060;transport=UDP>;tag=88ab0030. >> Call-ID: qXQ2PEtXgehz4CQYo2ryLg... >> CSeq: 2 CANCEL. >> Proxy-Authorization: Digest username="kelvin",realm="domain.com >> >> <http://domain.com>",nonce="815682331c7aaddbff9a28548d875652",uri="sip:[email protected]:6060;transport=UDP",response="3e161bd546cdd5e8876cb48ffdfaeea0",cnonce="d1ca4c1b6e427869e795f7da457b3eef",nc=00000002,qop=auth,algorithm=MD5. >> User-Agent: Zoiper rv2.8.87-mod. >> Content-Length: 0. >> . >> >> >> U 2018/04/19 04:39:53.049231 w.x.y.z:44308 -> a.b.c.d:6060 >> CANCEL sip:[email protected]:6060;transport=UDP SIP/2.0. >> Via: SIP/2.0/UDP >> w.x.y.z:44308;branch=z9hG4bK-524287-1---bac673a0af203e10;rport. >> Max-Forwards: 70. >> To: <sip:[email protected]:6060;transport=UDP>. >> From: <sip:[email protected]:6060;transport=UDP>;tag=88ab0030. >> Call-ID: qXQ2PEtXgehz4CQYo2ryLg... >> CSeq: 2 CANCEL. >> Proxy-Authorization: Digest username="kelvin",realm="domain.com >> >> <http://domain.com>",nonce="815682331c7aaddbff9a28548d875652",uri="sip:[email protected]:6060;transport=UDP",response="3e161bd546cdd5e8876cb48ffdfaeea0",cnonce="d1ca4c1b6e427869e795f7da457b3eef",nc=00000002,qop=auth,algorithm=MD5. >> User-Agent: Zoiper rv2.8.87-mod. >> Content-Length: 0. >> . >> >> >> >> >> Kelvin Chua >> >> On Wed, Apr 18, 2018 at 11:22 PM, Daniel-Constantin Mierla >> <[email protected] <mailto:[email protected]>> wrote: >> >> Hello, >> >> do you have a pcap with all messages for such call (invite, >> replies, cancel)? It is important to see if the transaction >> matching elements are properly set. >> >> In general, the rule for cancel is to be sent in the same way >> (with the same elements) as the invite, because cancel is not >> a standalone transaction, it must match the associated invite >> one. >> >> Cheers, >> Daniel >> >> >> On 18.04.18 16:59, Kelvin Chua wrote: >>> after couple of tests, it is still hit and miss, sometimes >>> it matches, sometimes it does not. >>> >>> On Wed, Apr 18, 2018, 6:47 PM Kelvin Chua <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> thanks alex, will test this out further but looks good >>> at the moment >>> any idea why it is not matching when RURI has the port >>> if i only use t_check_trans() and relay? >>> >>> Kelvin Chua >>> >>> On Wed, Apr 18, 2018 at 3:44 PM, Alex Balashov >>> <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> Try this instead: >>> >>> route { >>> ... >>> >>> t_check_trans(); >>> >>> ... >>> >>> if(is_method("CANCEL")) { >>> if(!t_relay_cancel()) >>> sl_send_reply("500", "Internal Server >>> Error"); >>> >>> exit; >>> } >>> } >>> >>> -- Alex >>> >>> -- >>> Alex Balashov | Principal | Evariste Systems LLC >>> >>> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) >>> Web: http://www.evaristesys.com/, >>> http://www.csrpswitch.com/ >>> >>> _______________________________________________ >>> Kamailio (SER) - Users Mailing List >>> [email protected] >>> <mailto:[email protected]> >>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >>> >>> <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users> >>> >>> >>> >>> >>> _______________________________________________ >>> Kamailio (SER) - Users Mailing List >>> [email protected] <mailto:[email protected]> >>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >>> <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users> >> >> -- >> Daniel-Constantin Mierla >> www.twitter.com/miconda <http://www.twitter.com/miconda> -- >> www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda> >> Kamailio Advanced Training - April 16-18, 2018, Berlin - >> www.asipto.com <http://www.asipto.com> >> Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com >> <http://www.kamailioworld.com> >> >> > > -- > Daniel-Constantin Mierla > www.twitter.com/miconda <http://www.twitter.com/miconda> -- > www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda> > Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com > <http://www.kamailioworld.com> > > -- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
