i am monitoring an issue with 5.1.2 where a cancel is not being propagated after a 183 is received the packet dump doesn't show anything anomalous. some notes: 1. the invite went out through t_relay(), transaction is tracked 2. cancel is handled this way if (is_method("CANCEL")) { xlog("CANCEL received"); if (t_check_trans()) { route(RELAY); } exit; } 3. if the UAC who is sending the call to kamailio is configured to send invite with RURI without a port i.e. 14087654321@w.x.y.z instead of 14087654321@w.x.y.z:6050, then this does not happen 4. can be argued that this is not an issue, and that the client should just be configured properly with outbound proxy and ruri without port. but i am just being difficult here and wanted to understand what is going on with the matching algo.
TM debug, in case it helps 2018-04-18T07:29:50.984652+00:00 pinkman /usr/sbin/kamailio[17670]: ERROR: <script>: 100 Trying received 2018-04-18T07:29:50.984746+00:00 pinkman /usr/sbin/kamailio[17670]: DEBUG: tm [t_reply.c:1263]: t_should_relay_response(): ->>>>>>>>> T_code=100, new_code=100 2018-04-18T07:29:50.984752+00:00 pinkman /usr/sbin/kamailio[17670]: DEBUG: tm [t_reply.c:1786]: relay_reply(): branch=1, save=0, relay=-1 icode=0 2018-04-18T07:29:53.564979+00:00 pinkman /usr/sbin/kamailio[17678]: DEBUG: tm [h_table.c:129]: free_cell_helper(): freeing transaction 0x7f820b6b8a60 from timer.c:651 2018-04-18T07:29:53.752387+00:00 pinkman /usr/sbin/kamailio[17678]: DEBUG: tm [h_table.c:129]: free_cell_helper(): freeing transaction 0x7f820b6bbcd8 from timer.c:651 2018-04-18T07:29:54.002501+00:00 pinkman /usr/sbin/kamailio[17678]: DEBUG: tm [h_table.c:129]: free_cell_helper(): freeing transaction 0x7f820b6bf130 from timer.c:651 2018-04-18T07:29:54.184438+00:00 pinkman /usr/sbin/kamailio[17671]: DEBUG: tm [t_lookup.c:1019]: t_check_msg(): msg (0x7f8212d77e28) id=3 global id=2 T start=0xffffffffffffffff 2018-04-18T07:29:54.184454+00:00 pinkman /usr/sbin/kamailio[17671]: DEBUG: tm [t_lookup.c:897]: t_reply_matching(): t_reply_matching: hash 6057 label 0 branch 1 2018-04-18T07:29:54.184468+00:00 pinkman /usr/sbin/kamailio[17671]: DEBUG: tm [t_lookup.c:951]: t_reply_matching(): reply (0x7f8212d77e28) matched an active transaction (T=0x7f820b6cc988)! 2018-04-18T07:29:54.184474+00:00 pinkman /usr/sbin/kamailio[17671]: DEBUG: tm [t_lookup.c:1088]: t_check_msg(): msg (0x7f8212d77e28) id=3 global id=3 T end=0x7f820b6cc988 2018-04-18T07:29:54.184485+00:00 pinkman /usr/sbin/kamailio[17671]: DEBUG: tm [t_reply.c:2207]: reply_received(): org. status uas=100, uac[1]=100 local=0 is_invite=1) 2018-04-18T07:29:54.184544+00:00 pinkman /usr/sbin/kamailio[17671]: ERROR: <script>: 183 Session Progress received 2018-04-18T07:29:54.184825+00:00 pinkman rtpengine[1660]: INFO: [EqRkPDiOFOOhFg_3018V8A..]: Received command 'answer' from 127.0.0.1:41084 2018-04-18T07:29:54.184918+00:00 pinkman rtpengine[1660]: INFO: [EqRkPDiOFOOhFg_3018V8A..]: answer time = 0.000074 sec 2018-04-18T07:29:54.184931+00:00 pinkman rtpengine[1660]: INFO: [EqRkPDiOFOOhFg_3018V8A..]: Replying to 'answer' from 127.0.0.1:41084 2018-04-18T07:29:54.185049+00:00 pinkman /usr/sbin/kamailio[17671]: DEBUG: tm [t_reply.c:1263]: t_should_relay_response(): ->>>>>>>>> T_code=100, new_code=183 2018-04-18T07:29:54.185066+00:00 pinkman /usr/sbin/kamailio[17671]: DEBUG: tm [t_reply.c:1786]: relay_reply(): branch=1, save=0, relay=1 icode=0 2018-04-18T07:29:54.252450+00:00 pinkman /usr/sbin/kamailio[17678]: DEBUG: tm [h_table.c:129]: free_cell_helper(): freeing transaction 0x7f820b6c2540 from timer.c:651 2018-04-18T07:29:54.377492+00:00 pinkman rtpengine[1660]: WARNING: [EqRkPDiOFOOhFg_3018V8A.. port 18598]: RTP packet with unknown payload type 95 received 2018-04-18T07:29:54.564924+00:00 pinkman /usr/sbin/kamailio[17678]: DEBUG: tm [h_table.c:129]: free_cell_helper(): freeing transaction 0x7f820b6c57a8 from timer.c:651 2018-04-18T07:29:55.627429+00:00 pinkman /usr/sbin/kamailio[17678]: DEBUG: tm [h_table.c:129]: free_cell_helper(): freeing transaction 0x7f820b6c8bf8 from timer.c:651 2018-04-18T07:29:55.939949+00:00 pinkman /usr/sbin/kamailio[17678]: DEBUG: tm [h_table.c:129]: free_cell_helper(): freeing transaction 0x7f820b6cc988 from timer.c:651 2018-04-18T07:29:56.404385+00:00 pinkman /usr/sbin/kamailio[17673]: ERROR: <script>: CANCEL received 2018-04-18T07:29:56.404411+00:00 pinkman /usr/sbin/kamailio[17673]: DEBUG: tm [t_lookup.c:711]: t_lookupOriginalT(): searching on hash entry 6057 2018-04-18T07:29:56.404424+00:00 pinkman /usr/sbin/kamailio[17673]: DEBUG: tm [t_lookup.c:435]: matching_3261(): RFC3261 transaction matching failed 2018-04-18T07:29:56.404429+00:00 pinkman /usr/sbin/kamailio[17673]: DEBUG: tm [t_lookup.c:801]: t_lookupOriginalT(): no CANCEL matching found! 2018-04-18T07:29:56.404434+00:00 pinkman /usr/sbin/kamailio[17673]: DEBUG: tm [t_lookup.c:803]: t_lookupOriginalT(): lookup completed 2018-04-18T07:29:56.404441+00:00 pinkman /usr/sbin/kamailio[17673]: DEBUG: tm [tm.c:1096]: ki_t_lookup_cancel_flags(): lookup_original: t_lookupOriginalT returned: (nil)
Kelvin Chua
Try this instead:
route { ...
t_check_trans();
...
if(is_method("CANCEL")) { if(!t_relay_cancel()) sl_send_reply("500", "Internal Server Error");
exit; } }
-- Alex
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 abalashov@evaristesys.com 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 sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
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 kelchy@gmail.com 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 abalashov@evaristesys.com 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 sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
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 <kelchy@gmail.com mailto:kelchy@gmail.com> 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 <abalashov@evaristesys.com <mailto:abalashov@evaristesys.com>> 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 sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
*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:408@a.b.c.d: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:kelvin@w.x.y.z:34439;transport=UDP;alias=w.x.y.z~34439~1. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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 ",nonce="3861e6cdaf8a44cce98721e3c8dda428",uri="sip:408@a.b.c.d :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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:kelvin@a.b.c.d:6060;transport=UDP;tag=d75e236e. To: sip:408@a.b.c.d: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:kelvin@a.b.c.d:6060;transport=UDP;tag=d75e236e. To: sip:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=d75e236e. Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... CSeq: 2 CANCEL. Proxy-Authorization: Digest username="kelvin",realm="domain.com ",nonce="3861e6cdaf8a44cce98721e3c8dda428",uri="sip:408@a.b.c.d :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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d :6060;transport=UDP;tag=f072ba6a4747058fd2933a88d05e31a8-77fc. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=d75e236e. Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... CSeq: 2 CANCEL. Server: Sipsurge Overlord/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:408@a.b.c.d :6060;transport=UDP;tag=886d45488eeb4821dd4d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d :6060;transport=UDP;tag=886d45488eeb4821dd4d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d :6060;transport=UDP;tag=886d45488eeb4821dd4d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d :6060;transport=UDP;tag=886d45488eeb4821dd4d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d :6060;transport=UDP;tag=886d45488eeb4821dd4d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:kelvin@w.x.y.z:44308;transport=UDP;alias=w.x.y.z~44308~1. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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 ",nonce="815682331c7aaddbff9a28548d875652",uri="sip:408@a.b.c.d :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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. To: sip:408@a.b.c.d: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:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. To: sip:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. Call-ID: qXQ2PEtXgehz4CQYo2ryLg... CSeq: 2 CANCEL. Proxy-Authorization: Digest username="kelvin",realm="domain.com ",nonce="815682331c7aaddbff9a28548d875652",uri="sip:408@a.b.c.d :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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. Call-ID: qXQ2PEtXgehz4CQYo2ryLg... CSeq: 2 CANCEL. Proxy-Authorization: Digest username="kelvin",realm="domain.com ",nonce="815682331c7aaddbff9a28548d875652",uri="sip:408@a.b.c.d :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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. Call-ID: qXQ2PEtXgehz4CQYo2ryLg... CSeq: 2 CANCEL. Proxy-Authorization: Digest username="kelvin",realm="domain.com ",nonce="815682331c7aaddbff9a28548d875652",uri="sip:408@a.b.c.d :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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. Call-ID: qXQ2PEtXgehz4CQYo2ryLg... CSeq: 2 CANCEL. Proxy-Authorization: Digest username="kelvin",realm="domain.com ",nonce="815682331c7aaddbff9a28548d875652",uri="sip:408@a.b.c.d :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 < miconda@gmail.com> 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 kelchy@gmail.com 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 <abalashov@evaristesys.com
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 sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - April 16-18, 2018, Berlin - www.asipto.com Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
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:408@a.b.c.d: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:kelvin@w.x.y.z:34439;transport=UDP;alias=w.x.y.z~34439~1. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:kelvin@a.b.c.d:6060;transport=UDP;tag=d75e236e. To: sip:408@a.b.c.d: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:kelvin@a.b.c.d:6060;transport=UDP;tag=d75e236e. To: sip:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP;tag=f072ba6a4747058fd2933a88d05e31a8-77fc. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP;tag=886d45488eeb4821dd4d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP;tag=886d45488eeb4821dd4d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP;tag=886d45488eeb4821dd4d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP;tag=886d45488eeb4821dd4d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP;tag=886d45488eeb4821dd4d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:kelvin@w.x.y.z:44308;transport=UDP;alias=w.x.y.z~44308~1. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. To: sip:408@a.b.c.d: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:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. To: sip:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d: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 <miconda@gmail.com mailto:miconda@gmail.com> 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 <kelchy@gmail.com <mailto:kelchy@gmail.com>> 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 <abalashov@evaristesys.com <mailto:abalashov@evaristesys.com>> 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 sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> 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 sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> 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>
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:408@a.b.c.d: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:kelvin@w.x.y.z:34439;transport=UDP. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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 <miconda@gmail.com
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:408@a.b.c.d: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:kelvin@w.x.y.z:34439;transport=UDP;alias=w.x.y.z~34439~1. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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",nonce=" 3861e6cdaf8a44cce98721e3c8dda428",uri="sip:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:kelvin@a.b.c.d:6060;transport=UDP;tag=d75e236e. To: sip:408@a.b.c.d: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:kelvin@a.b.c.d:6060;transport=UDP;tag=d75e236e. To: sip:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=d75e236e. Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... CSeq: 2 CANCEL. Proxy-Authorization: Digest username="kelvin",realm="domain.com",nonce=" 3861e6cdaf8a44cce98721e3c8dda428",uri="sip:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP;tag= f072ba6a4747058fd2933a88d05e31a8-77fc. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=d75e236e. Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... CSeq: 2 CANCEL. Server: Sipsurge Overlord/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:408@a.b.c.d:6060;transport=UDP;tag= 886d45488eeb4821dd4d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP;tag= 886d45488eeb4821dd4d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP;tag= 886d45488eeb4821dd4d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP;tag= 886d45488eeb4821dd4d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP;tag= 886d45488eeb4821dd4d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:kelvin@w.x.y.z:44308;transport=UDP;alias=w.x.y.z~44308~1. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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",nonce=" 815682331c7aaddbff9a28548d875652",uri="sip:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. To: sip:408@a.b.c.d: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:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. To: sip:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. Call-ID: qXQ2PEtXgehz4CQYo2ryLg... CSeq: 2 CANCEL. Proxy-Authorization: Digest username="kelvin",realm="domain.com",nonce=" 815682331c7aaddbff9a28548d875652",uri="sip:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. Call-ID: qXQ2PEtXgehz4CQYo2ryLg... CSeq: 2 CANCEL. Proxy-Authorization: Digest username="kelvin",realm="domain.com",nonce=" 815682331c7aaddbff9a28548d875652",uri="sip:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. Call-ID: qXQ2PEtXgehz4CQYo2ryLg... CSeq: 2 CANCEL. Proxy-Authorization: Digest username="kelvin",realm="domain.com",nonce=" 815682331c7aaddbff9a28548d875652",uri="sip:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. Call-ID: qXQ2PEtXgehz4CQYo2ryLg... CSeq: 2 CANCEL. Proxy-Authorization: Digest username="kelvin",realm="domain.com",nonce=" 815682331c7aaddbff9a28548d875652",uri="sip:408@a.b.c.d: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 < miconda@gmail.com> 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 kelchy@gmail.com 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 < abalashov@evaristesys.com> 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 sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - April 16-18, 2018, Berlin - www.asipto.com Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
-- Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
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:408@a.b.c.d: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:kelvin@w.x.y.z:34439;transport=UDP. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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 <miconda@gmail.com mailto:miconda@gmail.com> 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:408@a.b.c.d: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:kelvin@w.x.y.z:34439;transport=UDP;alias=w.x.y.z~34439~1>. To: <sip:408@a.b.c.d:6060;transport=UDP>. From: <sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP>. From: <sip:kelvin@a.b.c.d: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:kelvin@a.b.c.d:6060;transport=UDP>;tag=d75e236e. To: <sip:408@a.b.c.d: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:kelvin@a.b.c.d:6060;transport=UDP>;tag=d75e236e. To: <sip:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP>. From: <sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP>. From: <sip:kelvin@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP>;tag=f072ba6a4747058fd2933a88d05e31a8-77fc. From: <sip:kelvin@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP>;tag=886d45488eeb4821dd4d3b48f2349838-53f2. From: <sip:kelvin@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP>;tag=886d45488eeb4821dd4d3b48f2349838-53f2. From: <sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP>;tag=886d45488eeb4821dd4d3b48f2349838-53f2. From: <sip:kelvin@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP>;tag=886d45488eeb4821dd4d3b48f2349838-53f2. From: <sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP>;tag=886d45488eeb4821dd4d3b48f2349838-53f2. From: <sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:kelvin@w.x.y.z:44308;transport=UDP;alias=w.x.y.z~44308~1>. To: <sip:408@a.b.c.d:6060;transport=UDP>. From: <sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP>. From: <sip:kelvin@a.b.c.d: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:kelvin@a.b.c.d:6060;transport=UDP>;tag=88ab0030. To: <sip:408@a.b.c.d: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:kelvin@a.b.c.d:6060;transport=UDP>;tag=88ab0030. To: <sip:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP>. From: <sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP>. From: <sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP>. From: <sip:kelvin@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP>. From: <sip:kelvin@a.b.c.d: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:408@a.b.c.d: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 <miconda@gmail.com <mailto:miconda@gmail.com>> 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 <kelchy@gmail.com <mailto:kelchy@gmail.com>> 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 <abalashov@evaristesys.com <mailto:abalashov@evaristesys.com>> 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 sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> 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 sr-users@lists.kamailio.org <mailto:sr-users@lists.kamailio.org> 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>
yes i agree quite difficult to trace, here is the invite of the non-working one
U 2018/04/19 04:39:42.316735 w.x.y.z:44308 -> a.b.c.d:6060 INVITE sip:408@a.b.c.d: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. Contact: sip:kelvin@w.x.y.z:44308;transport=UDP. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. Call-ID: qXQ2PEtXgehz4CQYo2ryLg... 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 04:39:42.318569 a.b.c.d:6060 -> w.x.y.z:44308 SIP/2.0 100 Trying. Via: SIP/2.0/UDP w.x.y.z:44308;branch=z9hG4bK-524287-1---bac673a0af203e10; rport=44308;received=w.x.y.z. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. Call-ID: qXQ2PEtXgehz4CQYo2ryLg... CSeq: 1 INVITE.
Kelvin Chua
On Thu, Apr 19, 2018 at 5:37 PM, Daniel-Constantin Mierla <miconda@gmail.com
wrote:
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:408@a.b.c.d: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:kelvin@w.x.y.z:34439;transport=UDP. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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 < miconda@gmail.com> 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:408@a.b.c.d: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=z9hG4bK638 a.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:kelvin@w.x.y.z:34439;transport=UDP;alias=w.x.y.z~34439~1. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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 ",nonce="3861e6cdaf8a44cce98721e3c8dda428",uri="sip: 408@a.b.c.d:6060;transport=UDP",response="b7a365bd3565073 6c45d2048d924ea0b",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:408@a.b.c.d: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=z9hG4bK638 a.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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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=z9hG4bK638 a.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=d 75e236e;did=208.b272;ReIn=true,sip:a.b.c.d:6060;lr;ftag= d75e236e;nat=yes. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=d75e236e. To: sip:408@a.b.c.d: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=d 75e236e;did=208.b272;ReIn=true,sip:a.b.c.d:6060;lr;ftag= d75e236e;nat=yes. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=d75e236e. To: sip:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP SIP/2.0. Via: SIP/2.0/UDP w.x.y.z:34439;branch=z9hG4bK-5 24287-1---4c57b6fa8ff74676;rport. Max-Forwards: 70. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=d75e236e. Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... CSeq: 2 CANCEL. Proxy-Authorization: Digest username="kelvin",realm="domain.com ",nonce="3861e6cdaf8a44cce98721e3c8dda428",uri="sip: 408@a.b.c.d:6060;transport=UDP",response="8cace32bdff1bc6 1974d61c8a56238dd",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:408@a.b.c.d:6060;transport=UDP SIP/2.0. Via: SIP/2.0/UDP a.b.c.d:6060;branch=z9hG4bK638 a.ebce2b6669d2c54149bcc613c89d6510.1. Max-Forwards: 70. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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-5 24287-1---4c57b6fa8ff74676;rport=34439;received=w.x.y.z. To: sip:408@a.b.c.d:6060;transport=UDP;tag=f072ba6a4747058fd29 33a88d05e31a8-77fc. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=d75e236e. Call-ID: 7O090_g-Ndh_I22Zi5ZOhQ... CSeq: 2 CANCEL. Server: Sipsurge Overlord/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=z9hG4bK638 a.ebce2b6669d2c54149bcc613c89d6510.1. To: sip:408@a.b.c.d:6060;transport=UDP;tag=886d45488eeb4821dd4 d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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=z9hG4bK638 a.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:408@a.b.c.d:6060;transport=UDP;tag=886d45488eeb4821dd4 d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP SIP/2.0. Via: SIP/2.0/UDP a.b.c.d:6060;branch=z9hG4bK638 a.ebce2b6669d2c54149bcc613c89d6510.1. Max-Forwards: 70. To: sip:408@a.b.c.d:6060;transport=UDP;tag=886d45488eeb4821dd4 d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP;tag=886d45488eeb4821dd4 d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP SIP/2.0. Via: SIP/2.0/UDP w.x.y.z:34439;branch=z9hG4bK-5 24287-1---4c57b6fa8ff74676;rport. Max-Forwards: 70. To: sip:408@a.b.c.d:6060;transport=UDP;tag=886d45488eeb4821dd4 d3b48f2349838-53f2. From: sip:kelvin@a.b.c.d: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:408@a.b.c.d: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=z9hG4bKcd0 6.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:kelvin@w.x.y.z:44308;transport=UDP;alias=w.x.y.z~44308~1. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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 ",nonce="815682331c7aaddbff9a28548d875652",uri="sip: 408@a.b.c.d:6060;transport=UDP",response="c5147959ff30db5 eb9d38fb7ec796a68",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:408@a.b.c.d: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=z9hG4bKcd0 6.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:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d: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=z9hG4bKcd0 6.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=8 8ab0030;did=8a.f2c2;ReIn=true,sip:a.b.c.d:6060;lr;ftag= 88ab0030;nat=yes. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. To: sip:408@a.b.c.d: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=8 8ab0030;did=8a.f2c2;ReIn=true,sip:a.b.c.d:6060;lr;ftag= 88ab0030;nat=yes. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. To: sip:408@a.b.c.d: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:408@a.b.c.d:6060;transport=UDP SIP/2.0. Via: SIP/2.0/UDP w.x.y.z:44308;branch=z9hG4bK-5 24287-1---bac673a0af203e10;rport. Max-Forwards: 70. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. Call-ID: qXQ2PEtXgehz4CQYo2ryLg... CSeq: 2 CANCEL. Proxy-Authorization: Digest username="kelvin",realm="domain.com ",nonce="815682331c7aaddbff9a28548d875652",uri="sip: 408@a.b.c.d:6060;transport=UDP",response="3e161bd546cdd5e 8876cb48ffdfaeea0",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:408@a.b.c.d:6060;transport=UDP SIP/2.0. Via: SIP/2.0/UDP w.x.y.z:44308;branch=z9hG4bK-5 24287-1---bac673a0af203e10;rport. Max-Forwards: 70. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. Call-ID: qXQ2PEtXgehz4CQYo2ryLg... CSeq: 2 CANCEL. Proxy-Authorization: Digest username="kelvin",realm="domain.com ",nonce="815682331c7aaddbff9a28548d875652",uri="sip: 408@a.b.c.d:6060;transport=UDP",response="3e161bd546cdd5e 8876cb48ffdfaeea0",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:408@a.b.c.d:6060;transport=UDP SIP/2.0. Via: SIP/2.0/UDP w.x.y.z:44308;branch=z9hG4bK-5 24287-1---bac673a0af203e10;rport. Max-Forwards: 70. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. Call-ID: qXQ2PEtXgehz4CQYo2ryLg... CSeq: 2 CANCEL. Proxy-Authorization: Digest username="kelvin",realm="domain.com ",nonce="815682331c7aaddbff9a28548d875652",uri="sip: 408@a.b.c.d:6060;transport=UDP",response="3e161bd546cdd5e 8876cb48ffdfaeea0",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:408@a.b.c.d:6060;transport=UDP SIP/2.0. Via: SIP/2.0/UDP w.x.y.z:44308;branch=z9hG4bK-5 24287-1---bac673a0af203e10;rport. Max-Forwards: 70. To: sip:408@a.b.c.d:6060;transport=UDP. From: sip:kelvin@a.b.c.d:6060;transport=UDP;tag=88ab0030. Call-ID: qXQ2PEtXgehz4CQYo2ryLg... CSeq: 2 CANCEL. Proxy-Authorization: Digest username="kelvin",realm="domain.com ",nonce="815682331c7aaddbff9a28548d875652",uri="sip: 408@a.b.c.d:6060;transport=UDP",response="3e161bd546cdd5e 8876cb48ffdfaeea0",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 < miconda@gmail.com> 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 kelchy@gmail.com 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 < abalashov@evaristesys.com> 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 sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - April 16-18, 2018, Berlin - www.asipto.com Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
-- Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
-- Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com