[sr-dev] [kamailio/kamailio] How to resolve these mod_param errors in Kamailio 5.3.1? More info below: (#2355)

MaabSaleeem notifications at github.com
Thu Jun 11 10:45:48 CEST 2020


This is the error I get when I run ./kamailio -f /etc/kamailio/kamailio.cfg -E

-----------------------------------------------------------
loading modules under config path: /usr/lib64/kamailio/modules_k/:/usr/lib64/kamailio/modules/:/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/
 0(28369) ERROR: <core> [core/modparam.c:140]: set_mod_param_regex(): parameter <dst_avp> of type <1> not found in module <dispatcher>
 0(28369) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 378, column 61: Can't set module parameter
 0(28369) ERROR: <core> [core/modparam.c:140]: set_mod_param_regex(): parameter <grp_avp> of type <1> not found in module <dispatcher>
 0(28369) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 379, column 61: Can't set module parameter
 0(28369) ERROR: <core> [core/modparam.c:140]: set_mod_param_regex(): parameter <cnt_avp> of type <1> not found in module <dispatcher>
 0(28369) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 380, column 61: Can't set module parameter
 0(28369) ERROR: <core> [core/modparam.c:140]: set_mod_param_regex(): parameter <sock_avp> of type <1> not found in module <dispatcher>
 0(28369) CRITICAL: <core> [core/cfg.y:3539]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 381, column 63: Can't set module parameter
ERROR: bad config file (4 errors)

--------------------------------------------------------------

These are the lines 378-381 from the config file 

modparam("dispatcher", "dst_avp", "$avp(DISPATCHER_DST_AVP)")
modparam("dispatcher", "grp_avp", "$avp(DISPATCHER_GRP_AVP)")
modparam("dispatcher", "cnt_avp", "$avp(DISPATCHER_CNT_AVP)")
modparam("dispatcher", "sock_avp", "$avp(DISPATCHER_SOCK_AVP)")

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2355
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200611/25c40bc3/attachment.html>


More information about the sr-dev mailing list