<div dir="ltr"><font size="4"><b>here is an ngrep of the working one</b></font><div><br></div><div><div>U 2018/04/19 05:31:31.112392 a.b.c.d:6060 -> a.b.c.d:5090</div><div>INVITE sip:408@a.b.c.d:6060;transport=UDP SIP/2.0.</div><div>Record-Route: <sip:a.b.c.d:6060;lr;ftag=d75e236e;nat=yes>.</div><div>Via: SIP/2.0/UDP a.b.c.d:6060;branch=z9hG4bK638a.ebce2b6669d2c54149bcc613c89d6510.1.</div><div>Via: SIP/2.0/UDP w.x.y.z:34439;received=w.x.y.z;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport=34439.</div><div>Max-Forwards: 70.</div><div>Contact: <sip:kelvin@w.x.y.z:34439;transport=UDP;alias=w.x.y.z~34439~1>.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=d75e236e.</div><div>Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ...</div><div>P-Called-Identity: 408.</div><div>CSeq: 2 INVITE.</div><div>Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE.</div><div>Content-Type: application/sdp.</div><div>Proxy-Authorization: Digest username="kelvin",realm="<a href="http://domain.com">domain.com</a>",nonce="3861e6cdaf8a44cce98721e3c8dda428",uri="sip:408@a.b.c.d:6060;transport=UDP",response="b7a365bd35650736c45d2048d924ea0b",cnonce="492da67adf4a5853f0aa012c2fa5a757",nc=00000001,qop=auth,algorithm=MD5.</div><div>User-Agent: Zoiper rv2.8.87-mod.</div><div>Allow-Events: presence, kpml, talk.</div><div>Content-Length: 255.</div><div>P-Called-Party-ID: <sip:408@a.b.c.d:6060;transport=UDP>.</div><div>.</div><div>v=0.</div><div>o=Zoiper 0 0 IN IP4 a.b.c.d.</div><div>s=Zoiper.</div><div>c=IN IP4 a.b.c.d.</div><div>t=0 0.</div><div>m=audio 19592 RTP/AVP 3 101 0 8.</div><div>a=rtpmap:3 GSM/8000.</div><div>a=rtpmap:101 telephone-event/8000.</div><div>a=fmtp:101 0-16.</div><div>a=rtpmap:0 PCMU/8000.</div><div>a=rtpmap:8 PCMA/8000.</div><div>a=sendrecv.</div><div>a=rtcp:19593.</div><div><br></div><div><br></div><div>U 2018/04/19 05:31:31.180853 a.b.c.d:5090 -> a.b.c.d:6060</div><div>SIP/2.0 100 Trying.</div><div>Via: SIP/2.0/UDP a.b.c.d:6060;branch=z9hG4bK638a.ebce2b6669d2c54149bcc613c89d6510.1.</div><div>Via: SIP/2.0/UDP w.x.y.z:34439;received=w.x.y.z;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport=34439.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=d75e236e.</div><div>Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ...</div><div>CSeq: 2 INVITE.</div><div>Server: kamailio (5.1.2 (x86_64/linux)).</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div>U 2018/04/19 05:31:35.134023 a.b.c.d:5090 -> a.b.c.d:6060</div><div>SIP/2.0 183 Session Progress.</div><div>Via: SIP/2.0/UDP a.b.c.d:6060;branch=z9hG4bK638a.ebce2b6669d2c54149bcc613c89d6510.1.</div><div>Via: SIP/2.0/UDP w.x.y.z:34439;received=w.x.y.z;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport=34439.</div><div>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>.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=d75e236e.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>;tag=r5eFv3QrQD71H.</div><div>Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ...</div><div>CSeq: 2 INVITE.</div><div>Contact: <sip:e.f.g.h;did=2082.1aaa8341>.</div><div>User-Agent: SIP.</div><div>Accept: application/sdp.</div><div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY.</div><div>Supported: timer, path, replaces.</div><div>Allow-Events: talk, hold, conference, refer.</div><div>Content-Type: application/sdp.</div><div>Content-Disposition: session.</div><div>Content-Length: 222.</div><div>.</div><div>v=0.</div><div>o=UAC 23521 12211 IN IP4 23.29.25.68.</div><div>s=SIP Media Capabilities.</div><div>c=IN IP4 23.29.25.74.</div><div>t=0 0.</div><div>m=audio 25694 RTP/AVP 0 101.</div><div>a=rtpmap:0 PCMU/8000.</div><div>a=rtpmap:101 telephone-event/8000.</div><div>a=fmtp:101 0-15.</div><div>a=maxptime:20.</div><div><br></div><div><br></div><div>U 2018/04/19 05:31:35.134763 a.b.c.d:6060 -> w.x.y.z:34439</div><div>SIP/2.0 183 Session Progress.</div><div>Via: SIP/2.0/UDP w.x.y.z:34439;received=w.x.y.z;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport=34439.</div><div>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>.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=d75e236e.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>;tag=r5eFv3QrQD71H.</div><div>Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ...</div><div>CSeq: 2 INVITE.</div><div>Contact: <sip:e.f.g.h;did=2082.1aaa8341>.</div><div>User-Agent: SIP.</div><div>Accept: application/sdp.</div><div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY.</div><div>Supported: timer, path, replaces.</div><div>Allow-Events: talk, hold, conference, refer.</div><div>Content-Type: application/sdp.</div><div>Content-Disposition: session.</div><div>Content-Length: 250.</div><div>.</div><div>v=0.</div><div>o=UAC 23521 12211 IN IP4 a.b.c.d.</div><div>s=SIP Media Capabilities.</div><div>c=IN IP4 a.b.c.d.</div><div>t=0 0.</div><div>m=audio 19610 RTP/AVP 0 101.</div><div>a=rtpmap:0 PCMU/8000.</div><div>a=rtpmap:101 telephone-event/8000.</div><div>a=fmtp:101 0-15.</div><div>a=maxptime:20.</div><div>a=sendrecv.</div><div>a=rtcp:19611.</div><div><br></div><div><br></div><div>U 2018/04/19 05:31:36.054719 w.x.y.z:34439 -> a.b.c.d:6060</div><div>CANCEL sip:408@a.b.c.d:6060;transport=UDP SIP/2.0.</div><div>Via: SIP/2.0/UDP w.x.y.z:34439;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport.</div><div>Max-Forwards: 70.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=d75e236e.</div><div>Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ...</div><div>CSeq: 2 CANCEL.</div><div>Proxy-Authorization: Digest username="kelvin",realm="<a href="http://domain.com">domain.com</a>",nonce="3861e6cdaf8a44cce98721e3c8dda428",uri="sip:408@a.b.c.d:6060;transport=UDP",response="8cace32bdff1bc61974d61c8a56238dd",cnonce="030abc48cc862c50cf8bd3d0e61844f3",nc=00000002,qop=auth,algorithm=MD5.</div><div>User-Agent: Zoiper rv2.8.87-mod.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div>U 2018/04/19 05:31:36.055183 a.b.c.d:6060 -> a.b.c.d:5090</div><div>CANCEL sip:408@a.b.c.d:6060;transport=UDP SIP/2.0.</div><div>Via: SIP/2.0/UDP a.b.c.d:6060;branch=z9hG4bK638a.ebce2b6669d2c54149bcc613c89d6510.1.</div><div>Max-Forwards: 70.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=d75e236e.</div><div>Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ...</div><div>CSeq: 2 CANCEL.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div>U 2018/04/19 05:31:36.055259 a.b.c.d:6060 -> w.x.y.z:34439</div><div>SIP/2.0 200 canceling.</div><div>Via: SIP/2.0/UDP w.x.y.z:34439;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport=34439;received=w.x.y.z.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>;tag=f072ba6a4747058fd2933a88d05e31a8-77fc.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=d75e236e.</div><div>Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ...</div><div>CSeq: 2 CANCEL.</div><div>Server: Sipsurge Overlord/<a href="http://1.0.0.">1.0.0.</a></div><div>Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div>U 2018/04/19 05:31:36.055443 a.b.c.d:5090 -> a.b.c.d:6060</div><div>SIP/2.0 200 canceling.</div><div>Via: SIP/2.0/UDP a.b.c.d:6060;branch=z9hG4bK638a.ebce2b6669d2c54149bcc613c89d6510.1.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>;tag=886d45488eeb4821dd4d3b48f2349838-53f2.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=d75e236e.</div><div>Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ...</div><div>CSeq: 2 CANCEL.</div><div>Server: kamailio (5.1.2 (x86_64/linux)).</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div>U 2018/04/19 05:31:36.059120 a.b.c.d:5090 -> a.b.c.d:6060</div><div>SIP/2.0 487 Request Terminated.</div><div>Via: SIP/2.0/UDP a.b.c.d:6060;branch=z9hG4bK638a.ebce2b6669d2c54149bcc613c89d6510.1.</div><div>Via: SIP/2.0/UDP w.x.y.z:34439;received=w.x.y.z;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport=34439.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>;tag=886d45488eeb4821dd4d3b48f2349838-53f2.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=d75e236e.</div><div>Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ...</div><div>CSeq: 2 INVITE.</div><div>Server: kamailio (5.1.2 (x86_64/linux)).</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div>U 2018/04/19 05:31:36.059306 a.b.c.d:6060 -> a.b.c.d:5090</div><div>ACK sip:408@a.b.c.d:6060;transport=UDP SIP/2.0.</div><div>Via: SIP/2.0/UDP a.b.c.d:6060;branch=z9hG4bK638a.ebce2b6669d2c54149bcc613c89d6510.1.</div><div>Max-Forwards: 70.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>;tag=886d45488eeb4821dd4d3b48f2349838-53f2.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=d75e236e.</div><div>Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ...</div><div>CSeq: 2 ACK.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div>U 2018/04/19 05:31:36.060030 a.b.c.d:6060 -> w.x.y.z:34439</div><div>SIP/2.0 487 Request Terminated.</div><div>Via: SIP/2.0/UDP w.x.y.z:34439;received=w.x.y.z;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport=34439.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>;tag=886d45488eeb4821dd4d3b48f2349838-53f2.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=d75e236e.</div><div>Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ...</div><div>CSeq: 2 INVITE.</div><div>Server: kamailio (5.1.2 (x86_64/linux)).</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div>U 2018/04/19 05:31:36.262168 w.x.y.z:34439 -> a.b.c.d:6060</div><div>ACK sip:408@a.b.c.d:6060;transport=UDP SIP/2.0.</div><div>Via: SIP/2.0/UDP w.x.y.z:34439;branch=z9hG4bK-524287-1---4c57b6fa8ff74676;rport.</div><div>Max-Forwards: 70.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>;tag=886d45488eeb4821dd4d3b48f2349838-53f2.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=d75e236e.</div><div>Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ...</div><div>CSeq: 2 ACK.</div><div>Content-Length: 0.</div><div>.</div></div><div><br></div><div><br></div><div><br></div><div><font size="4"><b>and then ngrep of the non-matching one</b></font></div><div><br></div><div><div>U 2018/04/19 04:39:43.137832 a.b.c.d:6060 -> a.b.c.d:5090</div><div>INVITE sip:408@a.b.c.d:6060;transport=UDP SIP/2.0.</div><div>Record-Route: <sip:a.b.c.d:6060;lr;ftag=88ab0030;nat=yes>.</div><div>Via: SIP/2.0/UDP a.b.c.d:6060;branch=z9hG4bKcd06.5537814be9e2ae1fe1f60daf1fb39e03.1.</div><div>Via: SIP/2.0/UDP w.x.y.z:44308;received=w.x.y.z;branch=z9hG4bK-524287-1---bac673a0af203e10;rport=44308.</div><div>Max-Forwards: 70.</div><div>Contact: <sip:kelvin@w.x.y.z:44308;transport=UDP;alias=w.x.y.z~44308~1>.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=88ab0030.</div><div>Call-ID: qXQ2PEtXgehz4CQYo2ryLg...</div><div>P-Called-Identity: 408.</div><div>CSeq: 2 INVITE.</div><div>Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE.</div><div>Content-Type: application/sdp.</div><div>Proxy-Authorization: Digest username="kelvin",realm="<a href="http://domain.com">domain.com</a>",nonce="815682331c7aaddbff9a28548d875652",uri="sip:408@a.b.c.d:6060;transport=UDP",response="c5147959ff30db5eb9d38fb7ec796a68",cnonce="3496cd726af47c79a4725f83f74c7d98",nc=00000001,qop=auth,algorithm=MD5.</div><div>User-Agent: Zoiper rv2.8.87-mod.</div><div>Allow-Events: presence, kpml, talk.</div><div>Content-Length: 255.</div><div>P-Called-Party-ID: <sip:408@a.b.c.d:6060;transport=UDP>.</div><div>.</div><div>v=0.</div><div>o=Zoiper 0 0 IN IP4 a.b.c.d.</div><div>s=Zoiper.</div><div>c=IN IP4 a.b.c.d.</div><div>t=0 0.</div><div>m=audio 19554 RTP/AVP 3 101 0 8.</div><div>a=rtpmap:3 GSM/8000.</div><div>a=rtpmap:101 telephone-event/8000.</div><div>a=fmtp:101 0-16.</div><div>a=rtpmap:0 PCMU/8000.</div><div>a=rtpmap:8 PCMA/8000.</div><div>a=sendrecv.</div><div>a=rtcp:19555.</div><div><br></div><div><br></div><div>U 2018/04/19 04:39:43.202106 a.b.c.d:5090 -> a.b.c.d:6060</div><div>SIP/2.0 100 Trying.</div><div>Via: SIP/2.0/UDP a.b.c.d:6060;branch=z9hG4bKcd06.5537814be9e2ae1fe1f60daf1fb39e03.1.</div><div>Via: SIP/2.0/UDP w.x.y.z:44308;received=w.x.y.z;branch=z9hG4bK-524287-1---bac673a0af203e10;rport=44308.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=88ab0030.</div><div>Call-ID: qXQ2PEtXgehz4CQYo2ryLg...</div><div>CSeq: 2 INVITE.</div><div>Server: kamailio (5.1.2 (x86_64/linux)).</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div>U 2018/04/19 04:39:47.400412 a.b.c.d:5090 -> a.b.c.d:6060</div><div>SIP/2.0 183 Session Progress.</div><div>Via: SIP/2.0/UDP a.b.c.d:6060;branch=z9hG4bKcd06.5537814be9e2ae1fe1f60daf1fb39e03.1.</div><div>Via: SIP/2.0/UDP w.x.y.z:44308;received=w.x.y.z;branch=z9hG4bK-524287-1---bac673a0af203e10;rport=44308.</div><div>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>.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=88ab0030.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>;tag=cp1SQvQ6SNSaH.</div><div>Call-ID: qXQ2PEtXgehz4CQYo2ryLg...</div><div>CSeq: 2 INVITE.</div><div>Contact: <sip:e.f.g.h;did=8a06.2a2c6204>.</div><div>User-Agent: SIP.</div><div>Accept: application/sdp.</div><div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY.</div><div>Supported: timer, path, replaces.</div><div>Allow-Events: talk, hold, conference, refer.</div><div>Content-Type: application/sdp.</div><div>Content-Disposition: session.</div><div>Content-Length: 221.</div><div>.</div><div>v=0.</div><div>o=UAC 7006 20280 IN IP4 23.29.21.84.</div><div>s=SIP Media Capabilities.</div><div>c=IN IP4 23.29.21.91.</div><div>t=0 0.</div><div>m=audio 27104 RTP/AVP 0 101.</div><div>a=rtpmap:0 PCMU/8000.</div><div>a=rtpmap:101 telephone-event/8000.</div><div>a=fmtp:101 0-15.</div><div>a=maxptime:20.</div><div><br></div><div><br></div><div>U 2018/04/19 04:39:47.401210 a.b.c.d:6060 -> w.x.y.z:44308</div><div>SIP/2.0 183 Session Progress.</div><div>Via: SIP/2.0/UDP w.x.y.z:44308;received=w.x.y.z;branch=z9hG4bK-524287-1---bac673a0af203e10;rport=44308.</div><div>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>.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=88ab0030.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>;tag=cp1SQvQ6SNSaH.</div><div>Call-ID: qXQ2PEtXgehz4CQYo2ryLg...</div><div>CSeq: 2 INVITE.</div><div>Contact: <sip:e.f.g.h;did=8a06.2a2c6204>.</div><div>User-Agent: SIP.</div><div>Accept: application/sdp.</div><div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY.</div><div>Supported: timer, path, replaces.</div><div>Allow-Events: talk, hold, conference, refer.</div><div>Content-Type: application/sdp.</div><div>Content-Disposition: session.</div><div>Content-Length: 249.</div><div>.</div><div>v=0.</div><div>o=UAC 7006 20280 IN IP4 a.b.c.d.</div><div>s=SIP Media Capabilities.</div><div>c=IN IP4 a.b.c.d.</div><div>t=0 0.</div><div>m=audio 19576 RTP/AVP 0 101.</div><div>a=rtpmap:0 PCMU/8000.</div><div>a=rtpmap:101 telephone-event/8000.</div><div>a=fmtp:101 0-15.</div><div>a=maxptime:20.</div><div>a=sendrecv.</div><div>a=rtcp:19577.</div><div><br></div><div><br></div><div>U 2018/04/19 04:39:49.552641 w.x.y.z:44308 -> a.b.c.d:6060</div><div>CANCEL sip:408@a.b.c.d:6060;transport=UDP SIP/2.0.</div><div>Via: SIP/2.0/UDP w.x.y.z:44308;branch=z9hG4bK-524287-1---bac673a0af203e10;rport.</div><div>Max-Forwards: 70.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=88ab0030.</div><div>Call-ID: qXQ2PEtXgehz4CQYo2ryLg...</div><div>CSeq: 2 CANCEL.</div><div>Proxy-Authorization: Digest username="kelvin",realm="<a href="http://domain.com">domain.com</a>",nonce="815682331c7aaddbff9a28548d875652",uri="sip:408@a.b.c.d:6060;transport=UDP",response="3e161bd546cdd5e8876cb48ffdfaeea0",cnonce="d1ca4c1b6e427869e795f7da457b3eef",nc=00000002,qop=auth,algorithm=MD5.</div><div>User-Agent: Zoiper rv2.8.87-mod.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div>U 2018/04/19 04:39:50.050153 w.x.y.z:44308 -> a.b.c.d:6060</div><div>CANCEL sip:408@a.b.c.d:6060;transport=UDP SIP/2.0.</div><div>Via: SIP/2.0/UDP w.x.y.z:44308;branch=z9hG4bK-524287-1---bac673a0af203e10;rport.</div><div>Max-Forwards: 70.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=88ab0030.</div><div>Call-ID: qXQ2PEtXgehz4CQYo2ryLg...</div><div>CSeq: 2 CANCEL.</div><div>Proxy-Authorization: Digest username="kelvin",realm="<a href="http://domain.com">domain.com</a>",nonce="815682331c7aaddbff9a28548d875652",uri="sip:408@a.b.c.d:6060;transport=UDP",response="3e161bd546cdd5e8876cb48ffdfaeea0",cnonce="d1ca4c1b6e427869e795f7da457b3eef",nc=00000002,qop=auth,algorithm=MD5.</div><div>User-Agent: Zoiper rv2.8.87-mod.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div>U 2018/04/19 04:39:51.048945 w.x.y.z:44308 -> a.b.c.d:6060</div><div>CANCEL sip:408@a.b.c.d:6060;transport=UDP SIP/2.0.</div><div>Via: SIP/2.0/UDP w.x.y.z:44308;branch=z9hG4bK-524287-1---bac673a0af203e10;rport.</div><div>Max-Forwards: 70.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=88ab0030.</div><div>Call-ID: qXQ2PEtXgehz4CQYo2ryLg...</div><div>CSeq: 2 CANCEL.</div><div>Proxy-Authorization: Digest username="kelvin",realm="<a href="http://domain.com">domain.com</a>",nonce="815682331c7aaddbff9a28548d875652",uri="sip:408@a.b.c.d:6060;transport=UDP",response="3e161bd546cdd5e8876cb48ffdfaeea0",cnonce="d1ca4c1b6e427869e795f7da457b3eef",nc=00000002,qop=auth,algorithm=MD5.</div><div>User-Agent: Zoiper rv2.8.87-mod.</div><div>Content-Length: 0.</div><div>.</div><div><br></div><div><br></div><div>U 2018/04/19 04:39:53.049231 w.x.y.z:44308 -> a.b.c.d:6060</div><div>CANCEL sip:408@a.b.c.d:6060;transport=UDP SIP/2.0.</div><div>Via: SIP/2.0/UDP w.x.y.z:44308;branch=z9hG4bK-524287-1---bac673a0af203e10;rport.</div><div>Max-Forwards: 70.</div><div>To: <sip:408@a.b.c.d:6060;transport=UDP>.</div><div>From: <sip:kelvin@a.b.c.d:6060;transport=UDP>;tag=88ab0030.</div><div>Call-ID: qXQ2PEtXgehz4CQYo2ryLg...</div><div>CSeq: 2 CANCEL.</div><div>Proxy-Authorization: Digest username="kelvin",realm="<a href="http://domain.com">domain.com</a>",nonce="815682331c7aaddbff9a28548d875652",uri="sip:408@a.b.c.d:6060;transport=UDP",response="3e161bd546cdd5e8876cb48ffdfaeea0",cnonce="d1ca4c1b6e427869e795f7da457b3eef",nc=00000002,qop=auth,algorithm=MD5.</div><div>User-Agent: Zoiper rv2.8.87-mod.</div><div>Content-Length: 0.</div><div>.</div></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Kelvin Chua</div></div>
<br><div class="gmail_quote">On Wed, Apr 18, 2018 at 11:22 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>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.</p>
    <p>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.<br>
    </p>
    Cheers,<br>
    Daniel<div><div class="h5"><br>
    <br>
    <div class="m_-4482268004969300870moz-cite-prefix">On 18.04.18 16:59, Kelvin Chua wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="auto">after couple of tests, it is still hit and miss,
        sometimes it matches, sometimes it does not.</div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Wed, Apr 18, 2018, 6:47 PM Kelvin Chua <<a href="mailto:kelchy@gmail.com" target="_blank">kelchy@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div dir="ltr">thanks alex, will test this out further but
            looks good at the moment
            <div>any idea why it is not matching when RURI has the port
              if i only use t_check_trans() and relay?</div>
          </div>
          <div class="gmail_extra"><br clear="all">
            <div>
              <div class="m_-4482268004969300870m_8706939025228119807gmail_signature" data-smartmail="gmail_signature">Kelvin Chua</div>
            </div>
            <br>
            <div class="gmail_quote">On Wed, Apr 18, 2018 at 3:44 PM,
              Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com" rel="noreferrer" target="_blank">abalashov@evaristesys.com</a>></span>
              wrote:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Try
                this instead:<br>
                <br>
                   route {<br>
                      ...<br>
                <br>
                      t_check_trans();<br>
                <br>
                      ...<br>
                <br>
                      if(is_method("CANCEL")) {<br>
                         if(!t_relay_cancel()) <br>
                            sl_send_reply("500", "Internal Server
                Error");<br>
                <br>
                         exit;<br>
                      }<br>
                   }<br>
                <span class="m_-4482268004969300870m_8706939025228119807HOEnZb"><font color="#888888"><br>
                    -- Alex<br>
                    <br>
                    -- <br>
                    Alex Balashov | Principal | Evariste Systems LLC<br>
                    <br>
                    Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) <br>
                    Web: <a href="http://www.evaristesys.com/" rel="noreferrer noreferrer" target="_blank">http://www.evaristesys.com/</a>,
                    <a href="http://www.csrpswitch.com/" rel="noreferrer
                      noreferrer" target="_blank">http://www.csrpswitch.com/</a><br>
                    <br>
                    ______________________________<wbr>_________________<br>
                    Kamailio (SER) - Users Mailing List<br>
                    <a href="mailto:sr-users@lists.kamailio.org" rel="noreferrer" target="_blank">sr-users@lists.kamailio.org</a><br>
                    <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
                  </font></span></blockquote>
            </div>
            <br>
          </div>
        </blockquote>
      </div>
      <br>
      <fieldset class="m_-4482268004969300870mimeAttachmentHeader"></fieldset>
      <br>
      <pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="m_-4482268004969300870moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="m_-4482268004969300870moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a>
</pre>
    </blockquote>
    <br>
    </div></div><span class="HOEnZb"><font color="#888888"><pre class="m_-4482268004969300870moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_-4482268004969300870moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_-4482268004969300870moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - April 16-18, 2018, Berlin - <a class="m_-4482268004969300870moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="m_-4482268004969300870moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
  </font></span></div>

</blockquote></div><br></div>