Hello,

maybe the function is provided with invalid parameters? What's the line 47 in the file?

Cheers,
Daniel

On 26.09.22 15:54, Володимир Іванець wrote:
Hello everyone!

I'm testing calls with STIR/SHAKEN with a Secsipid module on a Kamailio version 5.6.1 and ran into a problem. Outbound calls work fine when the function secsipid_add_identity with appropriate parameters is called. But as soon as I add function secsipid_check_identity to my configuration, Kamilio would not start. Here is an error message I get:
kamailio: CRITICAL: <core> [core/cfg.y:3791]: yyerror_at(): parse error in config file /etc/kamailio/include/registrar.cfg, line 47, column 39: unknown command, missing loadmodule?

loadmodule "secsipid.so" is present and is above the function secsipid_check_identity call. Both secsipid.so and secsipid_proc.so module files are the correct version and present on the system.


Another question is related to the rpm package build. How do you build additional modules? I made adjustment to the pkg/kamailio/Makefile file. In the cfg section changed $(MAKE) -C ../../src cfg with $(MAKE) FLAVOUR=kamailio include_modules="secsipid secsipid_proc" -C ../../src cfg. Required modules appeared in the modules.lst file but their rpm packages were not built.

Thank you very much!

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * 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
Kamailio Advanced Training - Online
  Nov 7-10, 2022 (Europe Timezone)
  * https://www.asipto.com/sw/kamailio-advanced-training-online/