Hi
From a trace I can see that the BYE was received from 10001 and sent to asterisk(192.10.10.213) , but the kamailio(192.10.10.202) doesn't forward the BYE back out to 10002@X.X.X.X
4 3.870042 X.X.X.X -> 212.126.39.60 SIP/SDP 1163 Request: INVITE sip:10001@sip.xyz.ie;user=phone | 6 3.870688 192.10.10.202 -> 192.10.10.213 SIP/SDP 1445 Request: INVITE sip:10001@sip.xyz.ie;user=phone | 11 3.873831 192.10.10.213 -> 192.10.10.202 SIP 703 Status: 401 Unauthorized | 15 3.875223 212.126.39.60 -> X.X.X.X SIP 594 Status: 401 Unauthorized | 17 3.894614 X.X.X.X -> 212.126.39.60 SIP 575 Request: ACK sip:10001@sip.xyz.ie;user=phone | 19 3.895036 192.10.10.202 -> 192.10.10.213 SIP 857 Request: ACK sip:10001@sip.xyz.ie;user=phone | 21 3.898506 X.X.X.X -> 212.126.39.60 SIP/SDP 1338 Request: INVITE sip:10001@sip.xyz.ie;user=phone | 24 3.899177 192.10.10.202 -> 192.10.10.213 SIP/SDP 140 Request: INVITE sip:10001@sip.xyz.ie;user=phone | 27 3.904115 192.10.10.213 -> 192.10.10.202 SIP 741 Status: 100 Trying | 29 3.904322 212.126.39.60 -> X.X.X.X SIP 632 Status: 100 Trying | 33 3.925201 192.10.10.213 -> 192.10.10.202 SIP/SDP 1018 Request: INVITE sip:10001@192.168.200.112:5062 | 35 3.925485 192.10.10.213 -> 192.10.10.202 SIP 757 Status: 180 Ringing | 36 3.925555 192.10.10.202 -> 192.168.200.112 SIP/SDP 1156 Request: INVITE sip:10001@192.168.200.112:5062 | 38 3.925686 212.126.39.60 -> X.X.X.X SIP 648 Status: 180 Ringing | 41 3.945324 192.168.200.112 -> 192.10.10.202 SIP 607 Status: 100 Trying | 43 3.945516 192.10.10.202 -> 192.10.10.213 SIP 521 Status: 100 Trying | 45 3.988254 192.168.200.112 -> 192.10.10.202 SIP 644 Status: 180 Ringing | 47 3.988485 192.10.10.202 -> 192.10.10.213 SIP 558 Status: 180 Ringing | 49 4.064562 192.10.10.213 -> 192.10.10.202 SIP 757 Status: 180 Ringing | 51 4.064845 212.126.39.60 -> X.X.X.X SIP 648 Status: 180 Ringing | 20 70 5.194932 192.168.200.112 -> 192.10.10.202 SIP/SDP 979 Status: 200 OK | 74 5.195587 192.10.10.202 -> 192.10.10.213 SIP/SDP 893 Status: 200 OK | 76 5.198424 192.10.10.213 -> 192.10.10.202 SIP 483 Request: ACK sip:10001@192.168.200.112:5062 | 78 5.198750 192.10.10.202 -> 192.168.200.112 SIP 621 Request: ACK sip:10001@192.168.200.112:5062 | 80 5.199155 192.10.10.213 -> 192.10.10.202 SIP/SDP 1117 Status: 200 OK | 84 5.199750 212.126.39.60 -> X.X.X.X SIP/SDP 1008 Status: 200 OK | 86 5.224751 X.X.X.X -> 212.126.39.60 SIP 645 Request: ACK sip:10001@192.10.10.213:5060 | 88 5.225136 192.10.10.202 -> 192.10.10.213 SIP 854 Request: ACK sip:10001@192.10.10.213:5060 | 28 112 7.960369 192.168.200.112 -> 192.10.10.202 SIP 548 Request: BYE sip:10002@192.10.10.213:5060 | 114 7.960889 192.10.10.202 -> 192.10.10.213 SIP 716 Request: BYE sip:10002@192.10.10.213:5060 | 116 7.963035 192.10.10.213 -> 192.10.10.202 SIP 655 Status: 200 OK | 120 7.963501 192.10.10.202 -> 192.168.200.112 SIP 546 Status: 200 OK | 122 8.038144 192.10.10.213 -> 192.10.10.202 SIP 697 Request: BYE sip:10002@X.X.X.X:16082 | 124 8.137929 192.10.10.213 -> 192.10.10.202 SIP 697 Request: BYE sip:10002@X.X.X.X:16082 | 126 8.338033 192.10.10.213 -> 192.10.10.202 SIP 697 Request: BYE sip:10002@X.X.X.X:16082 | 35 140 8.737860 192.10.10.213 -> 192.10.10.202 SIP 697 Request: BYE sip:10002@X.X.X.X:16082 | 36 149 9.537899 192.10.10.213 -> 192.10.10.202 SIP 697 Request: BYE sip:10002@X.X.X.X:16082 | 37 157 11.137935 192.10.10.213 -> 192.10.10.202 SIP 697 Request: BYE sip:10002@X.X.X.X:16082 | 38 169 14.337813 192.10.10.213 -> 192.10.10.202 SIP 697 Request: BYE sip:10002@X.X.X.X:16082 | 39 201 22.814799 X.X.X.X -> 212.126.39.60 SIP 722 Request: BYE sip:10001@192.10.10.213:5060 | 203 22.815254 192.10.10.202 -> 192.10.10.213 SIP 931 Request: BYE sip:10001@192.10.10.213:5060 |
Gerry Kernan
Infinity IT | 17 The Mall | Beacon Court | Sandyford | Dublin D18 E3C8 | Ireland Tel: +353 - (0)1 - 293 0090 | E-Mail: gerry.kernan@infinityit.ie
Managed IT Services Infinity IT - www.infinityit.ie IP Telephony Asterisk Consulting - www.asteriskconsulting.com Contact Centre Total Interact - www.totalinteract.com
From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of gerry kernan Sent: Friday 4 December 2015 14:51 To: sr-users@lists.sip-router.org Subject: [SR-Users] issue with BYE
Hi
I'm looking for any pointers to resolve and issue I have . When callee does a hang-up the call terminates on kamailio and asterisk but the caller's phone handset doesn't receive the BYE and doesn't hang-up. If the caller does the hang up then the call terminates and the callee's handset hands up .
My setup is Kamailio WAN -> Kamailio Lan -> Asterisk LAN
I'm using Path and dispatcher modules to route the SIP traffic to the backup end asterisk server my the domain in the SIP request.
Gerry Kernan
Infinity IT | 17 The Mall | Beacon Court | Sandyford | Dublin D18 E3C8 | Ireland Tel: +353 - (0)1 - 293 0090 | E-Mail: gerry.kernan@infinityit.ie
Managed IT Services Infinity IT - www.infinityit.ie IP Telephony Asterisk Consulting - www.asteriskconsulting.com Contact Centre Total Interact - www.totalinteract.com