Hi All,
Just went from 3.0 to 3.0.3 and when I try to start I get:
Not starting kamailio: invalid configuration file!
0(13110) ERROR: <core> [modparam.c:143]: set_mod_param_regex: parameter <radius_config> not found in module <acc> 0(13110) : <core> [cfg.y:3333]: parse error in config file //etc/kamailio/kamailio.cfg, line 146, column 74: Can't set module parameter 0(13110) ERROR: <core> [modparam.c:143]: set_mod_param_regex: parameter <radius_flag> not found in module <acc> 0(13110) : <core> [cfg.y:3333]: parse error in config file //etc/kamailio/kamailio.cfg, line 147, column 33: Can't set module parameter 0(13110) ERROR: <core> [modparam.c:143]: set_mod_param_regex: parameter <radius_missed_flag> not found in module <acc> 0(13110) : <core> [cfg.y:3333]: parse error in config file //etc/kamailio/kamailio.cfg, line 148, column 40: Can't set module parameter 0(13110) ERROR: <core> [modparam.c:143]: set_mod_param_regex: parameter <radius_extra> not found in module <acc> 0(13110) : <core> [cfg.y:3333]: parse error in config file //etc/kamailio/kamailio.cfg, line 163, column 43: Can't set module parameter ERROR: bad config file (4 errors)
Has something changed in the radius accounting module?
Thanks, Brian
When you compiled kamailio, have you enabled radius? ENABLE_RADIUS_ACC=true
Regards, Ovidiu Sas
On Wed, Sep 8, 2010 at 9:51 AM, dotnetdub dotnetdub@gmail.com wrote:
Hi All, Just went from 3.0 to 3.0.3 and when I try to start I get: Not starting kamailio: invalid configuration file! 0(13110) ERROR: <core> [modparam.c:143]: set_mod_param_regex: parameter <radius_config> not found in module <acc> 0(13110) : <core> [cfg.y:3333]: parse error in config file //etc/kamailio/kamailio.cfg, line 146, column 74: Can't set module parameter 0(13110) ERROR: <core> [modparam.c:143]: set_mod_param_regex: parameter <radius_flag> not found in module <acc> 0(13110) : <core> [cfg.y:3333]: parse error in config file //etc/kamailio/kamailio.cfg, line 147, column 33: Can't set module parameter 0(13110) ERROR: <core> [modparam.c:143]: set_mod_param_regex: parameter <radius_missed_flag> not found in module <acc> 0(13110) : <core> [cfg.y:3333]: parse error in config file //etc/kamailio/kamailio.cfg, line 148, column 40: Can't set module parameter 0(13110) ERROR: <core> [modparam.c:143]: set_mod_param_regex: parameter <radius_extra> not found in module <acc> 0(13110) : <core> [cfg.y:3333]: parse error in config file //etc/kamailio/kamailio.cfg, line 163, column 43: Can't set module parameter ERROR: bad config file (4 errors)
Has something changed in the radius accounting module? Thanks, Brian
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
On 8 September 2010 15:00, Ovidiu Sas osas@voipembedded.com wrote:
When you compiled kamailio, have you enabled radius? ENABLE_RADIUS_ACC=true
Regards, Ovidiu Sas
Ovidiu,
Oops! Thanks - I forgot this step.
in modules_k/acc/Makefile
uncomment: ENABLE_RADIUS_ACC=true
3.0.3 working fine and has gotten rid of the dialog error I previously asked about.
Thanks, Brian
On 9/8/10 8:24 PM, dotnetdub wrote:
On 8 September 2010 15:00, Ovidiu Sas <osas@voipembedded.com mailto:osas@voipembedded.com> wrote:
When you compiled kamailio, have you enabled radius? ENABLE_RADIUS_ACC=true Regards, Ovidiu Sas
Ovidiu,
Oops! Thanks - I forgot this step.
in modules_k/acc/Makefile
uncomment: ENABLE_RADIUS_ACC=true
3.0.3 working fine and has gotten rid of the dialog error I previously asked about.
fyi, next version has a dedicated acc_radius module: http://sip-router.org/docbook/sip-router/branch/master/modules_k/acc_radius/...
Since you are using radius, maybe the time allows you to test it a bit and report if it works.
Note that acc module still includes the radius part, but you must not compile the support for it in order to use acc_radius. The benefit is that acc_radius can be compiled and packaged separately, without messing with compile options for acc module (and forget them).
Thanks, Daniel
Ovidiu,
Oops! Thanks - I forgot this step.
in modules_k/acc/Makefile
uncomment: ENABLE_RADIUS_ACC=true
3.0.3 working fine and has gotten rid of the dialog error I previously asked about.
fyi, next version has a dedicated acc_radius module:
http://sip-router.org/docbook/sip-router/branch/master/modules_k/acc_radius/...
Since you are using radius, maybe the time allows you to test it a bit and report if it works.
Note that acc module still includes the radius part, but you must not compile the support for it in order to use acc_radius. The benefit is that acc_radius can be compiled and packaged separately, without messing with compile options for acc module (and forget them).
Thanks, Daniel
Hi Daniel,
Be delighted to once 3.1 is ready..
Thanks, Brian
Radius can be enabled without modifying the Makefile. Before compiling set ENABLE_RADIUS_ACC=true ENABLE_RADIUS_ACC=true make ENABLE_RADIUS_ACC=true make install
Regards, Ovidiu Sas
On Wed, Sep 8, 2010 at 2:24 PM, dotnetdub dotnetdub@gmail.com wrote:
On 8 September 2010 15:00, Ovidiu Sas osas@voipembedded.com wrote:
When you compiled kamailio, have you enabled radius? ENABLE_RADIUS_ACC=true
Regards, Ovidiu Sas
Ovidiu, Oops! Thanks - I forgot this step. in modules_k/acc/Makefile uncomment: ENABLE_RADIUS_ACC=true 3.0.3 working fine and has gotten rid of the dialog error I previously asked about. Thanks, Brian