Hi community:
I am trying to run the Kamailio IMS, but I have the next error in the module PCSCF
I installed the Kamailio on a VM Machine, with UBuntu 18.04
Commands: $ sudo -i # mkdir -p /var/run/kamailio_pcscf #kamailio -f /etc/kamailio_pcscf/kamailio_pcscf.cfg -P /kamailio_pcscf.pid -DD -E -e
Output: loading modules under config path: /usr/lib64/kamailio/modules_k/:/usr/lib64/kamailio/modules/:/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/:/usr/lib/x86_64-linux-gnu/kamailio/modules/:/usr/local/lib64/kamailio/modules 0(470) ERROR: <core> [core/modparam.c:164]: set_mod_param_regex(): parameter <delete_delay> of type <2:int> not found in module <ims_registrar_pcscf> 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio_pcscf/kamailio_pcscf.cfg, line 399, column 51: Can't set module parameter 0(470) ERROR: <core> [core/modparam.c:164]: set_mod_param_regex(): parameter <ipsec_preferred_ealg> of type <1:string> not found in module <ims_ipsec_pcscf> 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio_pcscf/kamailio_pcscf.cfg, line 417, column 59: Can't set module parameter 0(470) ERROR: <core> [core/modparam.c:164]: set_mod_param_regex(): parameter <recv_mode> of type <2:int> not found in module <ims_qos> 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio_pcscf/kamailio_pcscf.cfg, line 435, column 35: Can't set module parameter 0(470) ERROR: <core> [core/modparam.c:164]: set_mod_param_regex(): parameter <dialog_direction> of type <2:int> not found in module <ims_qos> 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio_pcscf/kamailio_pcscf.cfg, line 436, column 42: Can't set module parameter 0(470) INFO: pv [pv_shv.c:60]: shvar_init_locks(): locks array size 16 0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find command ipsec_forward (params 2) 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio_pcscf/route/register.cfg, line 260, column 42: unknown command, missing loadmodule?
0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find command ipsec_create (params 2) 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio_pcscf/route/register.cfg, line 264, column 77: unknown command, missing loadmodule?
0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find command ipsec_forward (params 2) 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio_pcscf/route/mo.cfg, line 114, column 31: unknown command, missing loadmodule?
0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find command ipsec_forward (params 2) 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio_pcscf/route/mo.cfg, line 180, column 33: unknown command, missing loadmodule?
0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find command ipsec_forward (params 2) 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio_pcscf/route/mt.cfg, line 11, column 34: unknown command, missing loadmodule?
0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find command ipsec_forward (params 2) 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio_pcscf/route/mt.cfg, line 99, column 42: unknown command, missing loadmodule?
ERROR: bad config file (10 errors) 0(470) WARNING: <core> [core/mem/q_malloc.c:487]: qm_free(): WARNING: free(0) called from cdp_avp: cdp_avp_mod.c: cdp_avp_destroy(226) 0(470) INFO: cdp [cdp_mod.c:255]: cdp_exit(): CDiameterPeer child stopping ... 0(470) INFO: cdp [cdp_mod.c:257]: cdp_exit(): ... CDiameterPeer child stopped 0(470) ERROR: ims_ipsec_pcscf [ims_ipsec_pcscf_mod.c:309]: mod_destroy(): Error destroying spi generator 0(470) ERROR: ims_ipsec_pcscf [ims_ipsec_pcscf_mod.c:313]: mod_destroy(): Error destroying port generator
I guided form this tutorial: https://ryantheelder.github.io/blog/2023/VoLTE/
Please if somebody would help me, I appreciate it
Finally my objective is to connect with srsRAN and open5GS to have VoLTE service.
Best wishes, Luis
Hello,
the tutorial is using a Kamailio version that its long end of life (5.3.x).
Some of the instructions given there are also a bit odd, like first installing rtpproxy, and then replacing it with rtpengine.
Maybe you can reach out to the author of the tutorial. You need to understand how the individual components work together in the end to be able to debug it. Maybe somebody else figured out on this list how to do it for an updated Kamailio.
Cheers,
Henning
Hello Henning:
Is this tutorial updated? https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/
I don´t know about it. And also I guess that it is installed on Ubuntu 18 version.
Cheers, Luis
El lun, 16 sept 2024 a las 1:32, Henning Westerholt (hw@gilawa.com) escribió:
Hello,
the tutorial is using a Kamailio version that its long end of life (5.3.x).
Some of the instructions given there are also a bit odd, like first installing rtpproxy, and then replacing it with rtpengine.
Maybe you can reach out to the author of the tutorial. You need to understand how the individual components work together in the end to be able to debug it. Maybe somebody else figured out on this list how to do it for an updated Kamailio.
Cheers,
Henning
-- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://gilawa.com
-----Original Message----- From: luis.ramost--- via sr-users sr-users@lists.kamailio.org Sent: Montag, 16. September 2024 02:14 To: sr-users@lists.kamailio.org Cc: luis.ramost@pucp.edu.pe Subject: [SR-Users] About error running PCSCF
Hi community:
I am trying to run the Kamailio IMS, but I have the next error in the
module
PCSCF
I installed the Kamailio on a VM Machine, with UBuntu 18.04
Commands: $ sudo -i # mkdir -p /var/run/kamailio_pcscf #kamailio -f /etc/kamailio_pcscf/kamailio_pcscf.cfg -P
/kamailio_pcscf.pid -DD
-E -e
Output: loading modules under config path: /usr/lib64/kamailio/modules_k/:/usr/lib64/kamailio/modules/:/usr/lib/kama ilio/modules_k/:/usr/lib/kamailio/modules/:/usr/lib/x86_64-linux- gnu/kamailio/modules/:/usr/local/lib64/kamailio/modules 0(470) ERROR: <core> [core/modparam.c:164]: set_mod_param_regex(): parameter <delete_delay> of type <2:int> not found in module
<ims_registrar_pcscf> 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in
config
file /etc/kamailio_pcscf/kamailio_pcscf.cfg, line 399, column 51: Can't
set
module parameter 0(470) ERROR: <core> [core/modparam.c:164]: set_mod_param_regex(): parameter <ipsec_preferred_ealg> of type <1:string> not found in module
<ims_ipsec_pcscf> 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in
config
file /etc/kamailio_pcscf/kamailio_pcscf.cfg, line 417, column 59: Can't
set
module parameter 0(470) ERROR: <core> [core/modparam.c:164]: set_mod_param_regex(): parameter <recv_mode> of type <2:int> not found in module <ims_qos> 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in
config
file /etc/kamailio_pcscf/kamailio_pcscf.cfg, line 435, column 35: Can't
set
module parameter 0(470) ERROR: <core> [core/modparam.c:164]: set_mod_param_regex(): parameter <dialog_direction> of type <2:int> not found in module
<ims_qos> > 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config > file /etc/kamailio_pcscf/kamailio_pcscf.cfg, line 436, column 42: Can't set > module parameter > 0(470) INFO: pv [pv_shv.c:60]: shvar_init_locks(): locks array size 16 > 0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find > command ipsec_forward (params 2) > 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config > file /etc/kamailio_pcscf/route/register.cfg, line 260, column 42: unknown > command, missing loadmodule? > > 0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find > command ipsec_create (params 2) > 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config > file /etc/kamailio_pcscf/route/register.cfg, line 264, column 77: unknown > command, missing loadmodule? > > 0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find > command ipsec_forward (params 2) > 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config > file /etc/kamailio_pcscf/route/mo.cfg, line 114, column 31: unknown > command, missing loadmodule? > > 0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find > command ipsec_forward (params 2) > 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config > file /etc/kamailio_pcscf/route/mo.cfg, line 180, column 33: unknown > command, missing loadmodule? > > 0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find > command ipsec_forward (params 2) > 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config > file /etc/kamailio_pcscf/route/mt.cfg, line 11, column 34: unknown > command, missing loadmodule? > > 0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find > command ipsec_forward (params 2) > 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config > file /etc/kamailio_pcscf/route/mt.cfg, line 99, column 42: unknown > command, missing loadmodule? > > ERROR: bad config file (10 errors) > 0(470) WARNING: <core> [core/mem/q_malloc.c:487]: qm_free(): > WARNING: free(0) called from cdp_avp: cdp_avp_mod.c: > cdp_avp_destroy(226) > 0(470) INFO: cdp [cdp_mod.c:255]: cdp_exit(): CDiameterPeer child stopping > ... > 0(470) INFO: cdp [cdp_mod.c:257]: cdp_exit(): ... CDiameterPeer child > stopped > 0(470) ERROR: ims_ipsec_pcscf [ims_ipsec_pcscf_mod.c:309]: > mod_destroy(): Error destroying spi generator > 0(470) ERROR: ims_ipsec_pcscf [ims_ipsec_pcscf_mod.c:313]: > mod_destroy(): Error destroying port generator > > I guided form this tutorial: https://ryantheelder.github.io/blog/2023/VoLTE/ > > Please if somebody would help me, I appreciate it > > Finally my objective is to connect with srsRAN and open5GS to have VoLTE > service. > > Best wishes, > Luis > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe > send an email to sr-users-leave@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply only to the > sender! > Edit mailing list options or unsubscribe:
Hello Luis,
I am the author of the tutorial here - https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/. That tutorial is also not up-to-date. However, you can use the latest master branch of kamailio, along with instructions here (installing dependencies etc) - https://github.com/herlesupreeth/docker_open5gs/blob/master/ims_base/Dockerf... and configuration files from master branch of this repo https://github.com/herlesupreeth/Kamailio_IMS_Config .
As pointed out earlier, rtpproxy is not needed. It was a step I added to test out VoIP (not IMS) calling. All you need is RTPEngine to test out IMS.
Hope it helps.
BR, Supreeth
On Mon, 16 Sept 2024 at 17:22, LUIS FELIPE RAMOS TORRES via sr-users < sr-users@lists.kamailio.org> wrote:
Hello Henning:
Is this tutorial updated? https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/
I don´t know about it. And also I guess that it is installed on Ubuntu 18 version.
Cheers, Luis
El lun, 16 sept 2024 a las 1:32, Henning Westerholt (hw@gilawa.com) escribió:
Hello,
the tutorial is using a Kamailio version that its long end of life (5.3.x).
Some of the instructions given there are also a bit odd, like first installing rtpproxy, and then replacing it with rtpengine.
Maybe you can reach out to the author of the tutorial. You need to understand how the individual components work together in the end to be able to debug it. Maybe somebody else figured out on this list how to do it for an updated Kamailio.
Cheers,
Henning
-- Henning Westerholt - https://skalatan.de/blog/ Kamailio services - https://gilawa.com
-----Original Message----- From: luis.ramost--- via sr-users sr-users@lists.kamailio.org Sent: Montag, 16. September 2024 02:14 To: sr-users@lists.kamailio.org Cc: luis.ramost@pucp.edu.pe Subject: [SR-Users] About error running PCSCF
Hi community:
I am trying to run the Kamailio IMS, but I have the next error in the
module
PCSCF
I installed the Kamailio on a VM Machine, with UBuntu 18.04
Commands: $ sudo -i # mkdir -p /var/run/kamailio_pcscf #kamailio -f /etc/kamailio_pcscf/kamailio_pcscf.cfg -P
/kamailio_pcscf.pid -DD
-E -e
Output: loading modules under config path:
/usr/lib64/kamailio/modules_k/:/usr/lib64/kamailio/modules/:/usr/lib/kama
ilio/modules_k/:/usr/lib/kamailio/modules/:/usr/lib/x86_64-linux- gnu/kamailio/modules/:/usr/local/lib64/kamailio/modules 0(470) ERROR: <core> [core/modparam.c:164]: set_mod_param_regex(): parameter <delete_delay> of type <2:int> not found in module
<ims_registrar_pcscf> 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error
in config
file /etc/kamailio_pcscf/kamailio_pcscf.cfg, line 399, column 51: Can't
set
module parameter 0(470) ERROR: <core> [core/modparam.c:164]: set_mod_param_regex(): parameter <ipsec_preferred_ealg> of type <1:string> not found in module
<ims_ipsec_pcscf> 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error
in config
file /etc/kamailio_pcscf/kamailio_pcscf.cfg, line 417, column 59: Can't
set
module parameter 0(470) ERROR: <core> [core/modparam.c:164]: set_mod_param_regex(): parameter <recv_mode> of type <2:int> not found in module <ims_qos> 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error
in config
file /etc/kamailio_pcscf/kamailio_pcscf.cfg, line 435, column 35: Can't
set
module parameter 0(470) ERROR: <core> [core/modparam.c:164]: set_mod_param_regex(): parameter <dialog_direction> of type <2:int> not found in module
<ims_qos> > 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config > file /etc/kamailio_pcscf/kamailio_pcscf.cfg, line 436, column 42: Can't set > module parameter > 0(470) INFO: pv [pv_shv.c:60]: shvar_init_locks(): locks array size 16 > 0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find > command ipsec_forward (params 2) > 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config > file /etc/kamailio_pcscf/route/register.cfg, line 260, column 42: unknown > command, missing loadmodule? > > 0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find > command ipsec_create (params 2) > 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config > file /etc/kamailio_pcscf/route/register.cfg, line 264, column 77: unknown > command, missing loadmodule? > > 0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find > command ipsec_forward (params 2) > 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config > file /etc/kamailio_pcscf/route/mo.cfg, line 114, column 31: unknown > command, missing loadmodule? > > 0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find > command ipsec_forward (params 2) > 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config > file /etc/kamailio_pcscf/route/mo.cfg, line 180, column 33: unknown > command, missing loadmodule? > > 0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find > command ipsec_forward (params 2) > 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config > file /etc/kamailio_pcscf/route/mt.cfg, line 11, column 34: unknown > command, missing loadmodule? > > 0(470) ERROR: <core> [core/cfg.y:3399]: yyparse(): cfg. parser: failed to find > command ipsec_forward (params 2) > 0(470) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config > file /etc/kamailio_pcscf/route/mt.cfg, line 99, column 42: unknown > command, missing loadmodule? > > ERROR: bad config file (10 errors) > 0(470) WARNING: <core> [core/mem/q_malloc.c:487]: qm_free(): > WARNING: free(0) called from cdp_avp: cdp_avp_mod.c: > cdp_avp_destroy(226) > 0(470) INFO: cdp [cdp_mod.c:255]: cdp_exit(): CDiameterPeer child stopping > ... > 0(470) INFO: cdp [cdp_mod.c:257]: cdp_exit(): ... CDiameterPeer child > stopped > 0(470) ERROR: ims_ipsec_pcscf [ims_ipsec_pcscf_mod.c:309]: > mod_destroy(): Error destroying spi generator > 0(470) ERROR: ims_ipsec_pcscf [ims_ipsec_pcscf_mod.c:313]: > mod_destroy(): Error destroying port generator > > I guided form this tutorial: https://ryantheelder.github.io/blog/2023/VoLTE/ > > Please if somebody would help me, I appreciate it > > Finally my objective is to connect with srsRAN and open5GS to have VoLTE > service. > > Best wishes, > Luis > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe > send an email to sr-users-leave@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply only to the > sender! > Edit mailing list options or unsubscribe:
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: