Hi Lanvin,
(please keep the sr-users list in CC)
the modules works on my machine:
henning@linux:~/repositories/kamailio> killall kamailio ;
./src/kamailio -f etc/kamailio.cfg -L src/modules/ -Y /tmp -a no -E -e -d
Listening on
udp: 127.0.0.1 [127.0.0.1]:5060
udp: 192.168.188.25 [192.168.188.25]:5060
tcp: 127.0.0.1 [127.0.0.1]:5060
tcp: 192.168.188.25 [192.168.188.25]:5060
Aliases:
henning@linux:~/repositories/kamailio> ps aux |grep kamailio
henning 15948 0.1 0.1 166776 14900 ? S 15:33 0:00
./src/kamailio -f etc/kamailio.cfg -L src/modules/ -Y /tmp -a no -E -e -d
henning 15949 0.0 0.0 166776 4224 ? S 15:33 0:00
./src/kamailio -f etc/kamailio.cfg -L src/modules/ -Y /tmp -a no -E -e -d
[...]
Here the diff to the default cfg in git master:
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index c0e618719..dbc911fb0 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -309,6 +309,14 @@ loadmodule "pike.so"
loadmodule "debugger.so"
#!endif
+
+loadmodule "ims_dialog"
+loadmodule "ims_usrloc_pcscf"
+loadmodule "ims_ipsec_pcscf"
+loadmodule "ims_registrar_pcscf"
+modparam("ims_dialog", "dlg_flag", 4)
+
+
Cheers,
Henning
Am 04.02.20 um 11:55 schrieb Lanvin ADON:
loadmodule "ims_dialog"
loadmodule "ims_usrloc_pcscf"
#loadmodule "ims_registrar_pcscf"
#!ifdef WITH_IPSEC
loadmodule "ims_ipsec_pcscf"
#!endif
loadmodule "ims_registrar_pcscf"
Feb 4 11:53:27 pcscf kamailio[17616]: 0(17618) ERROR:
ims_registrar_pcscf [ims_registrar_pcscf_mod.c:268]: mod_init(): can't
bind ims_ipsec_pcscf
Feb 4 11:53:27 pcscf kamailio[17616]: 0(17618) ERROR: <core>
[core/sr_module.c:849]: init_mod(): Error while initializing module
ims_registrar_pcscf
(/opt/pcscf/lib64/kamailio/modules/ims_registrar_pcscf.so)
Feb 4 11:53:27 pcscf kamailio[17616]: ERROR: error while initializing
modules
Feb 4 11:53:28 pcscf kamailio[17620]: 0(17622) ERROR:
ims_registrar_pcscf [ims_registrar_pcscf_mod.c:268]: mod_init(): can't
bind ims_ipsec_pcscf
Feb 4 11:53:28 pcscf kamailio[17620]: 0(17622) ERROR: <core>
[core/sr_module.c:849]: init_mod(): Error while initializing module
ims_registrar_pcscf
(/opt/pcscf/lib64/kamailio/modules/ims_registrar_pcscf.so)
Feb 4 11:53:28 pcscf kamailio[17620]: ERROR: error while initializing
modules
Feb 4 11:53:28 pcscf kamailio[17623]: 0(17625) ERROR:
ims_registrar_pcscf [ims_registrar_pcscf_mod.c:268]: mod_init(): can't
bind ims_ipsec_pcscf
Feb 4 11:53:28 pcscf kamailio[17623]: 0(17625) ERROR: <core>
[core/sr_module.c:849]: init_mod(): Error while initializing module
ims_registrar_pcscf
(/opt/pcscf/lib64/kamailio/modules/ims_registrar_pcscf.so)
Feb 4 11:53:28 pcscf kamailio[17623]: ERROR: error while initializing
modules
Feb 4 11:53:29 pcscf kamailio[17626]: 0(17628) ERROR:
ims_registrar_pcscf [ims_registrar_pcscf_mod.c:268]: mod_init(): can't
bind ims_ipsec_pcscf
Feb 4 11:53:29 pcscf kamailio[17626]: 0(17628) ERROR: <core>
[core/sr_module.c:849]: init_mod(): Error while initializing module
ims_registrar_pcscf
(/opt/pcscf/lib64/kamailio/modules/ims_registrar_pcscf.so)
Feb 4 11:53:29 pcscf kamailio[17626]: ERROR: error while initializing
modules
Feb 4 11:53:29 pcscf kamailio[17629]: 0(17631) ERROR:
ims_registrar_pcscf [ims_registrar_pcscf_mod.c:268]: mod_init(): can't
bind ims_ipsec_pcscf
Feb 4 11:53:29 pcscf kamailio[17629]: 0(17631) ERROR: <core>
[core/sr_module.c:849]: init_mod(): Error while initializing module
ims_registrar_pcscf
(/opt/pcscf/lib64/kamailio/modules/ims_registrar_pcscf.so)
Feb 4 11:53:29 pcscf kamailio[17629]: ERROR: error while initializing
modules
On Tue, Feb 4, 2020 at 11:46 AM Henning Westerholt <hw(a)skalatan.de
<mailto:hw@skalatan.de>> wrote:
Hello Lanvin,
try to load it before and see if it starts then.
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com <https://gilawa.com/>
*From:* Lanvin ADON <lanvin.adon(a)gmail.com
<mailto:lanvin.adon@gmail.com>>
*Sent:* Tuesday, February 4, 2020 11:45 AM
*To:* Henning Westerholt <hw(a)skalatan.de <mailto:hw@skalatan.de>>
*Subject:* Re: [SR-Users] P-CSCF not starting- Kamailio 5.3
Hello Henning
ims_ipsec_pcscf is loaded after.
loadmodule "ims_dialog"
loadmodule "ims_usrloc_pcscf"
loadmodule "ims_registrar_pcscf"
#!ifdef WITH_IPSEC
loadmodule "ims_ipsec_pcscf"
#!endif
Thanks
Lanvin ADON
On Tue, Feb 4, 2020 at 11:06 AM Henning Westerholt <hw(a)skalatan.de
<mailto:hw@skalatan.de>> wrote:
Hello,
just a guess, but do you load the ims_ipsec_pcscf module
before the ims_registrar_pcscf module?
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com <https://gilawa.com/>
*From:* sr-users <sr-users-bounces(a)lists.kamailio.org
<mailto:sr-users-bounces@lists.kamailio.org>> *On Behalf Of
*Lanvin ADON
*Sent:* Tuesday, February 4, 2020 8:54 AM
*To:* sr-users(a)lists.kamailio.org
<mailto:sr-users@lists.kamailio.org>
*Subject:* [SR-Users] P-CSCF not starting- Kamailio 5.3
Hi All,
I'm installing an IMS core with Kamailio 5.3 release. The
P-CSCF is not starting with the following error message.
Feb 4 07:01:32 pcscf kamailio[13878]: 0(13880) DEBUG: <core>
[core/sr_module.c:638]: find_mod_export_record(): export of
<bind_ims_ipsec_pcscf> not found (flags 0)
Feb 4 07:01:32 pcscf kamailio[13878]: 0(13880) ERROR:
ims_registrar_pcscf [ims_registrar_pcscf_mod.c:268]:
mod_init(): can't bind ims_ipsec_pcscf
Feb 4 07:01:32 pcscf kamailio[13878]: 0(13880) ERROR: <core>
[core/sr_module.c:849]: init_mod(): Error while initializing
module ims_registrar_pcscf
(/opt/pcscf/lib64/kamailio/modules/ims_registrar_pcscf.so)
Feb 4 07:01:32 pcscf kamailio[13878]: ERROR: error while
initializing modules
For the configuration file, I'm using the example files in the
source.
--
Regards
Lanvin ADON
--
Cordialement,
Lanvin ADON
--
*/
/*
Cordialement,
Lanvin ADON