<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:"Helvetica Neue";}
/* 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:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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="DE-AT" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">We are using kamailio 5.1.6, configured as P-CSCF, facing following problem. Please refer to the attached tshark trace, too.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">If during call setup (by simulated UAs) at the terminating P-CSCF the simulated PCRF rejects the Diameter AAR message (frame 46/47 at the attached trace), then the kamailio P-CSCF runs into a questionable behaviour.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">By calling the Rx_AAR() function in configuration, the processing of the 200 OK (frame 45) is suspended (by the ims_qos module) and then resumed with the receipt of the AAA message (frame 47).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Now the ims_dialog module is called with the dlg_terminate(“all”, “reason”) function, but the 200 OK has not yet been sent. The ims_dialog sends CANCEL downstream and 488 upstream. However, the 200 OK is sent additionally.
 We would rather have expected the ims_dialog module should send BYE in both directions.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">When we respond the CANCEL with 481 Call/Transaction does not exist (which we MUST according to RFC 3261), then we would expect the ims_dialog module at least now to react with BYE in both directions.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Could you help? What’s our misunderstanding? How could we proceed to get this issue fixed?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Kind regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Christoph<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%;border-collapse:collapse">
<tbody>
<tr>
<td width="100%" style="width:100.0%;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#FFCC00;mso-fareast-language:DE-AT">____<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:7.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><i><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT">Christoph VALENTIN</span></i></b><i><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT"><br>
Software Developer </span></i><i><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#FFCC00;mso-fareast-language:DE-AT">|</span></i><i><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT">
 R&D<br>
Core / SIP Core<o:p></o:p></span></i></p>
</td>
</tr>
<tr>
<td style="padding:6.5pt 0cm 0cm 0cm">
<p class="MsoNormal"><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT">P +43 50 811 3785
</span><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#FFCC00;mso-fareast-language:DE-AT">|</span><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT"> M +43 664 628
 3785<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT"><a href="mailto:christoph.valentin@kapsch.net" target="_blank"><span style="color:black">christoph.valentin@kapsch.net</span></a>
<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style="padding:6.5pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><i><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT">Kapsch CarrierCom AG</span></i></b><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT">
</span><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#FFCC00;mso-fareast-language:DE-AT">|</span><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT"> Lehrbachgasse
 11 </span><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#FFCC00;mso-fareast-language:DE-AT">|</span><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT"> 1120 Vienna
</span><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#FFCC00;mso-fareast-language:DE-AT">|</span><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT"> Austria<br>
Company Register at: Commercial Court Vienna FN 223804 z </span><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#FFCC00;mso-fareast-language:DE-AT">|</span><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT">
 Registered Office Vienna </span><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#FFCC00;mso-fareast-language:DE-AT">|</span><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT">
</span><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT"><a href="http://www.kapsch.net/" target="_blank"><span lang="EN-US" style="color:black">www.kapsch.net</span></a></span><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:DE-AT">
<span lang="EN-US"><o:p></o:p></span></span></p>
</td>
</tr>
<tr>
<td style="padding:13.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><a href="https://www.kapsch.net/" target="_blank"><span style="font-size:1.0pt;font-family:"Helvetica Neue";color:#337AB7;mso-fareast-language:DE-AT;text-decoration:none"><img border="0" width="146" height="24" style="width:1.525in;height:.25in" id="Bild_x0020_1" src="cid:image001.png@01D4ADBD.A4126480" alt="Kapsch Logo"></span></a><span style="font-size:1.0pt;font-family:"Helvetica Neue";color:#333333;mso-fareast-language:DE-AT"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="mso-fareast-language:DE-AT"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<span style="font-size: 9px;"><br>
<br>
<br>
The information contained in this e-mail message is privileged and confidential and is for the exclusive use of the addressee. The person who receives this message and who is not the addressee, one of his employees or an agent entitled to hand it over to the
 addressee, is informed that he may not use, disclose or reproduce the contents thereof, and is kindly asked to notify the sender and delete the e-mail
<span style="font-size: 11px;"></span>immediately.<br>
<br>
</span>
</body>
</html>