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