<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)">
<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:Cambria;
        panose-1:2 4 5 3 5 4 6 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Found my answer, use correct version of doc:<o:p></o:p></p>
<p class="MsoNormal"><a href="https://kamailio.org/docs/modules/5.2.x/modules/ims_usrloc_pcscf.html#idm1042831636">https://kamailio.org/docs/modules/5.2.x/modules/ims_usrloc_pcscf.html#idm1042831636</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> sr-users <sr-users-bounces@lists.kamailio.org> <b>
On Behalf Of </b>Martin W Woscek<br>
<b>Sent:</b> Wednesday, June 17, 2020 8:47 AM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org><br>
<b>Subject:</b> [SR-Users] kamailio 5.2.2 enabling hashing_type<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m revisiting some initial issues I had with P-CSCF.  I could not set the hashing type in my PCSCF (kamalio 5.2.2) so I simply commented it out and moved on. 
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But now, I may need it as the P-CSCF is not handling INVITES coming from I-CSCF that originated  from external SIP server, where the endpoint (UE) is registered to the IMS but the P-CSCF sends the INVITE back to the S rather that the registered
 UE and fails.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">kamailio.cfg:<o:p></o:p></p>
<p class="MsoNormal">modparam("ims_usrloc_pcscf", "hashing_type", 1)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So with that, when I set the hashing_type to 1,1 or 2 I get the following starting the pcscf:<o:p></o:p></p>
<p class="MsoNormal">Starting the P-CSCF:<o:p></o:p></p>
<p class="MsoNormal">Jun 17 08:25:30 ubuntu kamailio_pcscf[5753]:  * Not starting Kamailio IMS P-CSCF: invalid configuration file!<br>
Jun 17 08:25:30 ubuntu kamailio_pcscf[5753]:  *<br>
Jun 17 08:25:30 ubuntu kamailio_pcscf[5753]:  *  0(5766) ERROR: <core> [core/modparam.c:140]: set_mod_param_regex(): parameter <hashing_type> of type <2> not found in module <ims_usrloc_pcscf><br>
Jun 17 08:25:30 ubuntu kamailio_pcscf[5753]:  0(5766) CRITICAL: <core> [core/cfg.y:3510]: yyerror_at(): parse error in config file /etc/kamailio/pcscf/kamailio.cfg, line 364, column 47: Can't set module parameter<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Am I missing some module that I did not include at compile time?  According to the docs, it has no additional dependencies other than the ims_usrloc_pcscf.so<o:p></o:p></p>
<p class="MsoNormal"><a href="https://kamailio.org/docs/modules/5.0.x/modules/ims_usrloc_pcscf.html#idp35204148">https://kamailio.org/docs/modules/5.0.x/modules/ims_usrloc_pcscf.html#idp35204148</a>  <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any help is appreciated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Cambria",serif">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Cambria",serif">_Martin</span><o:p></o:p></p>
</div>
</body>
</html>