Hi,
Recompile opensips-1.5.2 with radius support. I guess that will solve the problem. In /opensips-x.x.x/modules/acc/Makefile uncomment the line *ENABLE_RADIUS_ACC=true* Then recompile the opensips. On Mon, Aug 31, 2009 at 7:19 PM, Justin Moore <[email protected]> wrote: > We are in the process of upgrading from OpenSER 1.2.3 to Opensips 1.5. > After migrating over our current script and tweaking a few settings (a few > module names were different etc) It looks like things are pretty much > resolved, the only errors we are receiving now when we attempt to start > opensips is with the acc module. We get the following errors: > > Aug 31 06:29:05 [28434] ERROR:core:set_mod_param_regex: parameter > <radius_config> not found in module <acc> > Aug 31 06:29:05 [28434] CRITICAL:core:yyerror: parse error in config file, > line 159, column 20-21: Can't set module parameter > Aug 31 06:29:05 [28434] ERROR:core:set_mod_param_regex: parameter > <radius_flag> not found in module <acc> > Aug 31 06:29:05 [28434] CRITICAL:core:yyerror: parse error in config file, > line 160, column 20-21: Can't set module parameter > Aug 31 06:29:05 [28434] ERROR:core:set_mod_param_regex: parameter > <radius_missed_flag> not found in module <acc> > Aug 31 06:29:05 [28434] CRITICAL:core:yyerror: parse error in config file, > line 161, column 20-21: Can't set module parameter > Aug 31 06:29:05 [28434] ERROR:core:set_mod_param_regex: parameter > <radius_extra> not found in module <acc> > Aug 31 06:29:05 [28434] CRITICAL:core:yyerror: parse error in config file, > line 176, column 2-3: Can't set module parameter > Aug 31 06:29:05 [28434] ERROR:core:main: bad config file (4 errors) > > The relevant section from the opensips.cfg is: > > # ----- acc params ----- > modparam("acc", "radius_config", "/etc/radiusclient-ng/radiusclient.conf") > modparam("acc", "radius_flag", 25) > modparam("acc", "radius_missed_flag", 26) > modparam("acc", "radius_extra", "User-Name=$Au; \ > Calling-Station-Id=$from; \ > Called-Station-Id=$to; \ > Sip-Translated-Request-URI=$ruri; \ > Sip-RPid=$avp(s:rpid); \ > Source-IP=$si; \ > Source-Port=$sp; \ > Canonical-URI=$avp(s:can_uri); \ > Billing-Party=$avp(s:billing_party); \ > Divert-Reason=$avp(s:divert_reason); \ > X-RTP-Stat=$hdr(X-RTP-Stat); \ > Contact=$hdr(contact); \ > Event=$hdr(event); \ > SIP-Proxy-IP=$avp(s:sip_proxy_ip); \ > ENUM-TLD=$avp(s:enum_tld)") > > I've verified that these are still valid exported parameter names, but I'm > sort of stumped. Does anyone have any ideas? > > Thanks > > Justin > > > -- > Justin Moore > SagiSys LLC > (877)SAGISYS ext. 101 (Toll Free) > (727) 362-1423 (Fax) > http://www.SagiSys.com > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Thanking You, Ashwini BR Naidu
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
