[SR-Users] kamailio 5.2.2 enabling hashing_type

Daniel-Constantin Mierla miconda at gmail.com
Wed Jun 24 10:46:31 CEST 2020


Hello,

I do not work with IMS modules, but if you find some inconsitency
between the code and the documentation, just make a PR to fix the
documentation.

Cheers,
Daniel

On 17.06.20 14:46, Martin W Woscek wrote:
>
> Hello,
>
>  
>
> 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. 
>
>  
>
> 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.
>
>  
>
> kamailio.cfg:
>
> modparam("ims_usrloc_pcscf", "hashing_type", 1)
>
>  
>
> So with that, when I set the hashing_type to 1,1 or 2 I get the
> following starting the pcscf:
>
> Starting the P-CSCF:
>
> Jun 17 08:25:30 ubuntu kamailio_pcscf[5753]:  * Not starting Kamailio
> IMS P-CSCF: invalid configuration file!
> Jun 17 08:25:30 ubuntu kamailio_pcscf[5753]:  *
> 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>
> 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
>
>  
>
> 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
>
> https://kamailio.org/docs/modules/5.0.x/modules/ims_usrloc_pcscf.html#idp35204148  
>
>  
>
> Any help is appreciated.
>
>  
>
> Thanks,
>
> _Martin
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200624/68ad40ee/attachment.html>


More information about the sr-users mailing list