<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=Windows-1252">
<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:Helvetica;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@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:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
font-size:10.0pt;
font-family:"Courier New";}
span.hwtze
{mso-style-name:hwtze;}
span.rynqvb
{mso-style-name:rynqvb;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle25
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif">The Contact fields in messages sent from different User Agents are not expected to be the same. The Contact header provides a URL which can be used to contact the UA about the dialog. If UAs
were sending the same Contact as other UAs, they would be directing future requests to a different server.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif">It is the Request URI of the ACK that should match the Contact from the 200 OK. The ACK is not required to have a Contact at all, as the UAC’s Contact was already provided in the INVITE.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black">Ben Newlin</span><span style="font-family:"Aptos",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Aptos",sans-serif"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;font-family:"Aptos",sans-serif;color:black">From:
</span></b><span style="font-size:12.0pt;font-family:"Aptos",sans-serif;color:black">Users <users-bounces@lists.opensips.org> on behalf of Social Boh <social@bohboh.info><br>
<b>Date: </b>Thursday, November 9, 2023 at 9:16 AM<br>
<b>To: </b>OpenSIPS users mailling list <users@lists.opensips.org><br>
<b>Subject: </b>[OpenSIPS-Users] Strange ACK between OpenSIPS and Kamailio<o:p></o:p></span></p>
</div>
<div>
<div>
<table class="MsoNormalTable" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none">
<tbody>
<tr>
<td style="border:solid #B60000 1.0pt;background:white;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:#B60000"> EXTERNAL EMAIL - Please use caution with links and attachments <o:p></o:p></span></b></p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Helvetica;color:black"><o:p> </o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="0" width="100%" align="center">
</div>
</div>
<p>Hello list,<o:p></o:p></p>
<p><span class="rynqvb"><span lang="EN">I have a problem in communication between an OpenSIPs and a Kamailio.</span></span><span class="hwtze"><span lang="EN">
</span></span><span class="rynqvb"><span lang="EN">The call comes from OpenSIPs to Kamailio, it is answered but the ACK that OpenSIPs sends to Kamailio I think is not correct:</span></span><o:p></o:p></p>
<p><span class="rynqvb"><span lang="EN">200OK from Kamailio to OpenSIPs: Contact:
<a href="sip:194.195.XXX.XXX:49999"><sip:194.195.XXX.XXX:49999></a></span></span><o:p></o:p></p>
<p><span class="rynqvb"><span lang="EN">ACK from OpenSIPs to Kamailio: Contact: <a href="sip:user@177.242.XXX.XXX;did=86a.799c1654">
<sip:user@177.242.XXX.XXX;did=86a.799c1654></a></span></span><o:p></o:p></p>
<p><span class="rynqvb"><span lang="EN">I think the ACK Contact Header from OpenSIPs to Kamailio should have the same 200 OK content
</span></span><o:p></o:p></p>
<p><span class="rynqvb"><span lang="EN">194.195.XXX.XXX is a Asterisk PBX</span></span><o:p></o:p></p>
<p><span class="rynqvb"><span lang="EN">177.242.XXX.XXX is OpenSIPs</span></span><o:p></o:p></p>
<p><span class="rynqvb"><span lang="EN">Result Kamailio don't send ACK to Asterisk PBX and the call ends about 30 seconds.</span></span><o:p></o:p></p>
<p><span class="rynqvb"><span lang="EN">Any hint, please?</span></span><o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>---<o:p></o:p></pre>
<pre>I'm SoCIaL, MayBe<o:p></o:p></pre>
</div>
</div>
</div>
</body>
</html>