<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Century Gothic";
panose-1:2 11 5 2 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-IE link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hi <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>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 <a href="mailto:10002@X.X.X.X">10002@X.X.X.X</a><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>4 3.870042 X.X.X.X -> 212.126.39.60 SIP/SDP 1163 Request: INVITE sip:10001@sip.xyz.ie;user=phone |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 6 3.870688 192.10.10.202 -> 192.10.10.213 SIP/SDP 1445 Request: INVITE sip:10001@sip.xyz.ie;user=phone |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 11 3.873831 192.10.10.213 -> 192.10.10.202 SIP 703 Status: 401 Unauthorized |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 15 3.875223 212.126.39.60 -> X.X.X.X SIP 594 Status: 401 Unauthorized |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 17 3.894614 X.X.X.X -> 212.126.39.60 SIP 575 Request: ACK sip:10001@sip.xyz.ie;user=phone |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 19 3.895036 192.10.10.202 -> 192.10.10.213 SIP 857 Request: ACK sip:10001@sip.xyz.ie;user=phone |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 21 3.898506 X.X.X.X -> 212.126.39.60 SIP/SDP 1338 Request: INVITE sip:10001@sip.xyz.ie;user=phone |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 24 3.899177 192.10.10.202 -> 192.10.10.213 SIP/SDP 140 Request: INVITE sip:10001@sip.xyz.ie;user=phone |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 27 3.904115 192.10.10.213 -> 192.10.10.202 SIP 741 Status: 100 Trying |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 29 3.904322 212.126.39.60 -> X.X.X.X SIP 632 Status: 100 Trying |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 33 3.925201 192.10.10.213 -> 192.10.10.202 SIP/SDP 1018 Request: INVITE sip:10001@192.168.200.112:5062 |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 35 3.925485 192.10.10.213 -> 192.10.10.202 SIP 757 Status: 180 Ringing |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 36 3.925555 192.10.10.202 -> 192.168.200.112 SIP/SDP 1156 Request: INVITE sip:10001@192.168.200.112:5062 |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 38 3.925686 212.126.39.60 -> X.X.X.X SIP 648 Status: 180 Ringing |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 41 3.945324 192.168.200.112 -> 192.10.10.202 SIP 607 Status: 100 Trying |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 43 3.945516 192.10.10.202 -> 192.10.10.213 SIP 521 Status: 100 Trying |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 45 3.988254 192.168.200.112 -> 192.10.10.202 SIP 644 Status: 180 Ringing |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 47 3.988485 192.10.10.202 -> 192.10.10.213 SIP 558 Status: 180 Ringing |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 49 4.064562 192.10.10.213 -> 192.10.10.202 SIP 757 Status: 180 Ringing |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 51 4.064845 212.126.39.60 -> X.X.X.X SIP 648 Status: 180 Ringing |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>20 70 5.194932 192.168.200.112 -> 192.10.10.202 SIP/SDP 979 Status: 200 OK |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 74 5.195587 192.10.10.202 -> 192.10.10.213 SIP/SDP 893 Status: 200 OK |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 76 5.198424 192.10.10.213 -> 192.10.10.202 SIP 483 Request: ACK sip:10001@192.168.200.112:5062 |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 78 5.198750 192.10.10.202 -> 192.168.200.112 SIP 621 Request: ACK sip:10001@192.168.200.112:5062 |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 80 5.199155 192.10.10.213 -> 192.10.10.202 SIP/SDP 1117 Status: 200 OK |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 84 5.199750 212.126.39.60 -> X.X.X.X SIP/SDP 1008 Status: 200 OK |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 86 5.224751 X.X.X.X -> 212.126.39.60 SIP 645 Request: ACK sip:10001@192.10.10.213:5060 |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'> 88 5.225136 192.10.10.202 -> 192.10.10.213 SIP 854 Request: ACK sip:10001@192.10.10.213:5060 |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>28 112 7.960369 192.168.200.112 -> 192.10.10.202 SIP 548 Request: BYE sip:10002@192.10.10.213:5060 |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>114 7.960889 192.10.10.202 -> 192.10.10.213 SIP 716 Request: BYE sip:10002@192.10.10.213:5060 |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>116 7.963035 192.10.10.213 -> 192.10.10.202 SIP 655 Status: 200 OK |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>120 7.963501 192.10.10.202 -> 192.168.200.112 SIP 546 Status: 200 OK |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>122 8.038144 192.10.10.213 -> 192.10.10.202 SIP 697 Request: BYE sip:10002@X.X.X.X:16082 |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>124 8.137929 192.10.10.213 -> 192.10.10.202 SIP 697 Request: BYE sip:10002@X.X.X.X:16082 |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>126 8.338033 192.10.10.213 -> 192.10.10.202 SIP 697 Request: BYE sip:10002@X.X.X.X:16082 |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>35 140 8.737860 192.10.10.213 -> 192.10.10.202 SIP 697 Request: BYE sip:10002@X.X.X.X:16082 |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>36 149 9.537899 192.10.10.213 -> 192.10.10.202 SIP 697 Request: BYE sip:10002@X.X.X.X:16082 |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>37 157 11.137935 192.10.10.213 -> 192.10.10.202 SIP 697 Request: BYE sip:10002@X.X.X.X:16082 |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>38 169 14.337813 192.10.10.213 -> 192.10.10.202 SIP 697 Request: BYE sip:10002@X.X.X.X:16082 |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>39 201 22.814799 X.X.X.X -> 212.126.39.60 SIP 722 Request: BYE sip:10001@192.10.10.213:5060 |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>203 22.815254 192.10.10.202 -> 192.10.10.213 SIP 931 Request: BYE sip:10001@192.10.10.213:5060 |<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><b><span lang=NL style='font-size:12.0pt;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>Gerry Kernan</span></b><span lang=NL style='font-size:12.0pt;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'><o:p></o:p></span></p><p class=MsoNormal><span lang=NL style='font-size:10.0pt;font-family:"Century Gothic",sans-serif;color:gray;mso-fareast-language:EN-IE'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Century Gothic",sans-serif;color:gray;mso-fareast-language:EN-IE'><img border=0 width=172 height=51 id="_x0000_i1026" src="cid:image001.jpg@01D12EB8.D3A4AD20" alt="cid:image001.jpg@01D105A5.2701B0E0"><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Century Gothic",sans-serif;color:gray;mso-fareast-language:EN-IE'><o:p> </o:p></span></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>Infinity IT | 17 The Mall | Beacon Court | Sandyford | Dublin D18 E3C8 | Ireland<o:p></o:p></span></b></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>Tel: +353 - (0)1 - 293 0090 | E-Mail: </span></b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#1F497D;mso-fareast-language:EN-IE'><a href="mailto:gerry.kernan@infinityit.ie">gerry.kernan@infinityit.ie</a></span><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:red;mso-fareast-language:EN-IE'><o:p></o:p></span></b></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:red;mso-fareast-language:EN-IE'><o:p> </o:p></span></b></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:red;mso-fareast-language:EN-IE'>Managed IT Services<u> </u>Infinity IT</span></b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:red;mso-fareast-language:EN-IE'> </span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>- </span><span style='font-size:12.0pt;line-height:115%;color:#1F497D;mso-fareast-language:EN-IE'><a href="http://www.infinityit.ie/"><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif'>www.infinityit.ie</span></a></span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#767171;mso-fareast-language:EN-IE'>IP Telephony<u> </u>Asterisk Consulting</span></b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#767171;mso-fareast-language:EN-IE'> </span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>– </span><span style='font-size:12.0pt;line-height:115%;color:#1F497D;mso-fareast-language:EN-IE'><a href="http://www.asteriskconsulting.com"><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif'>www.asteriskconsulting.com</span></a></span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#FF8A15;mso-fareast-language:EN-IE'>Contact Centre<u> </u>Total Interact</span></b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#FFC000;mso-fareast-language:EN-IE'> </span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>– </span><span style='font-size:12.0pt;line-height:115%;color:#1F497D;mso-fareast-language:EN-IE'><a href="http://www.totalinteract.com"><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif'>www.totalinteract.com</span></a></span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'><o:p></o:p></span></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='mso-fareast-language:EN-IE'>From:</span></b><span lang=EN-US style='mso-fareast-language:EN-IE'> sr-users [mailto:sr-users-bounces@lists.sip-router.org] <b>On Behalf Of </b>gerry kernan<br><b>Sent:</b> Friday 4 December 2015 14:51<br><b>To:</b> sr-users@lists.sip-router.org<br><b>Subject:</b> [SR-Users] issue with BYE<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m looking for any pointers to resolve and issue I have .<o:p></o:p></p><p class=MsoNormal>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.<o:p></o:p></p><p class=MsoNormal>If the caller does the hang up then the call terminates and the callee’s handset hands up .<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>My setup is <o:p></o:p></p><p class=MsoNormal>Kamailio WAN -> Kamailio Lan –> Asterisk LAN<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><span lang=NL style='font-size:12.0pt;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>Gerry Kernan</span></b><span lang=NL style='font-size:12.0pt;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'><o:p></o:p></span></p><p class=MsoNormal><span lang=NL style='font-size:10.0pt;font-family:"Century Gothic",sans-serif;color:gray;mso-fareast-language:EN-IE'> <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Century Gothic",sans-serif;color:gray;mso-fareast-language:EN-IE'><img border=0 width=172 height=51 id="Picture_x0020_3" src="cid:image001.jpg@01D12EB8.D3A4AD20" alt="cid:image001.jpg@01D105A5.2701B0E0"><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Century Gothic",sans-serif;color:gray;mso-fareast-language:EN-IE'><o:p> </o:p></span></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>Infinity IT | 17 The Mall | Beacon Court | Sandyford | Dublin D18 E3C8 | Ireland<o:p></o:p></span></b></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>Tel: +353 - (0)1 - 293 0090 | E-Mail: </span></b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;mso-fareast-language:EN-IE'><a href="mailto:gerry.kernan@infinityit.ie">gerry.kernan@infinityit.ie</a><b><span style='color:red'><o:p></o:p></span></b></span></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:red;mso-fareast-language:EN-IE'><o:p> </o:p></span></b></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:red;mso-fareast-language:EN-IE'>Managed IT Services<u> </u>Infinity IT</span></b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:red;mso-fareast-language:EN-IE'> </span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>- </span><span style='font-size:12.0pt;line-height:115%;mso-fareast-language:EN-IE'><a href="http://www.infinityit.ie/"><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif'>www.infinityit.ie</span></a></span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#767171;mso-fareast-language:EN-IE'>IP Telephony<u> </u>Asterisk Consulting</span></b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#767171;mso-fareast-language:EN-IE'> </span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>– </span><span style='font-size:12.0pt;line-height:115%;mso-fareast-language:EN-IE'><a href="http://www.asteriskconsulting.com"><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif'>www.asteriskconsulting.com</span></a></span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'><b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#FF8A15;mso-fareast-language:EN-IE'>Contact Centre<u> </u>Total Interact</span></b><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#FFC000;mso-fareast-language:EN-IE'> </span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'>– </span><span style='font-size:12.0pt;line-height:115%;mso-fareast-language:EN-IE'><a href="http://www.totalinteract.com"><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif'>www.totalinteract.com</span></a></span><span style='font-size:10.0pt;line-height:115%;font-family:"Century Gothic",sans-serif;color:#4D4D4D;mso-fareast-language:EN-IE'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>