Hi,

I'm migrating my kamailio.cfg from the 3.3.1 release to 5.0.0 and encounter the 
following errors :

Mar 16 12:56:45 vm-vse02-siprouter1 systemd[1]: Starting SYSV: Kamailio is a 
fast, reliable and flexible SIP Server....
Mar 16 12:56:45 vm-vse02-siprouter1 kamailio[6644]: Not starting : invalid 
configuration file!
Mar 16 12:56:45 vm-vse02-siprouter1 kamailio[6644]: 0(6652) ERROR: <core> 
[core/modparam.c:141]: set_mod_param_regex(): parameter <ds_probing_threshhold> 
of type <2> not found in module <dispatcher>
Mar 16 12:56:45 vm-vse02-siprouter1 kamailio[6644]: 0(6652) CRITICAL: <core> 
[core/cfg.y:3404]: yyerror_at(): parse error in config file 
//etc/kamailio/kamailio.cfg, line 295, column 49: Can't set module parameter
Mar 16 12:56:45 vm-vse02-siprouter1 kamailio[6644]: 0(6652) WARNING: <core> 
[core/cfg.y:3378]: warn_at(): warning in config file 
//etc/kamailio/kamailio.cfg, line 971, column 6-13: constant value in if(...)
Mar 16 12:56:45 vm-vse02-siprouter1 kamailio[6644]: ERROR: bad config file (1 
errors)
Mar 16 12:56:45 vm-vse02-siprouter1 kamailio[6644]: 0(6652) INFO: <core> 
[core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
Mar 16 12:56:45 vm-vse02-siprouter1 systemd[1]: kamailio.service: control 
process exited, code=exited status=1
Mar 16 12:56:45 vm-vse02-siprouter1 systemd[1]: Failed to start SYSV: Kamailio 
is a fast, reliable and flexible SIP Server..
Mar 16 12:56:45 vm-vse02-siprouter1 systemd[1]: Unit kamailio.service entered 
failed state.

Below the extract of my kamailio.cfg file :

modparam("dispatcher", "list_file", DISPATCHER_FILE)
modparam("dispatcher", "ds_probing_mode", 1)
modparam("dispatcher", "ds_probing_threshhold",3)
modparam("dispatcher", "flags", 2)
modparam("dispatcher", "attrs_avp", "$avp(dsattrs)")
modparam("dispatcher", "dst_avp", "$avp(dsdst)")
modparam("dispatcher", "grp_avp", "$avp(dsgrp)")
modparam("dispatcher", "cnt_avp", "$avp(dscnt)")
modparam("dispatcher", "ds_hash_size", 8)
modparam("dispatcher", "ds_ping_interval", 10)
modparam("dispatcher", "force_dst", 1)

For the dispatcher error :
I don't find any change (eg in the Changelog for 5.0.0.) regarding the 
dispatcher module.
So is it a bug in the dispatcher module or have I to change it to something 
else ?

For the SCTP API error :
I don't know what to do here.

Thanks to people that can help me on these 2 errors

Cordialement
Patrick GINHOUX

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to