Hello,
radius support is disabled by default in acc module. You should use
acc_radius module instead. Otherwise, you would need to recompile acc
module with extra flags (see modules/acc/Makefile) -- but again, is
recommended to use acc_radius module.
Cheers,
Daniel
On 14/05/15 11:09, ycaner wrote:
Hello Daniel;
i still working on it because acc radius dont trigger itself so don't send
any start and stop actions to freeradius. just send failed transaction ,
when i invoke "acc_rad_request("Some comment");" function. there is
no error
or something else.
i am not good at Radius so need to learn some stuffs. After complete
configuration , i am gonna share my cfg. But firstly , i need to solve this
acc_radius problem.
and when i look acc module in doc , there is information radius but when it
is setted , i got error. i think it is removed from acc.
For Example;
modparam("acc", "radius_config",
"/etc/radiusclient/radiusclient.conf")
---ERROR----
parameter <radius_config> of type <1> not found in module <acc>
0(3528) : <core> [cfg.y:3426]: yyerror_at(): parse error in config file
/usr/local/etc/kamailio/kamailio.cfg, line 193, column 71: Can't set module
parameter
-----------
------kamailio.cfg-------
#!define FLT_ACC 1
#!define FLT_ACCMISSED 2
#!define FLT_ACCFAILED 3
modparam("acc", "log_flag", FLT_ACC)
modparam("acc", "log_missed_flag", FLT_ACCMISSED)
modparam("acc", "cdr_enable", 1)
modparam("acc", "report_ack", 1)
modparam("acc", "report_cancels", 1)
modparam("acc", "detect_direction", 0)
modparam("acc", "early_media", 0)
modparam("acc", "radius_config",
"/etc/radiusclient/radiusclient.conf")
modparam("acc_radius", "radius_extra",
"Sip-Src-IP=$si;Sip-Src-Port=$sp")
modparam("acc_radius",
"radius_config","/etc/radiusclient-ng/radiusclient.conf")
modparam("acc_radius", "radius_flag", FLT_ACC)
modparam("acc_radius", "radius_missed_flag", FLT_ACCMISSED)
modparam("acc_radius", "service_type", 15)
modparam("misc_radius", "radius_config",
"/etc/radiusclient-ng/radiusclient.conf")
modparam("misc_radius", "group_service_type", 12)
modparam("misc_radius", "uri_service_type", 10)
modparam("misc_radius", "caller_extra",
"Calling-Station-Id=$fu")
modparam("misc_radius", "callee_extra",
"SIP-URI-User=$rU;SIP-URI-Host=$rd")
#modparam("misc_radius", "group_extra",
"My-Special=$avp(i:100)")
modparam("misc_radius", "uri_extra",
"Called-Station-Id=$tu")
route[GW_SWITCHING]{
if(!is_method("INVITE")){
return;
}
setflag(FLT_ACCMISSED);
setflag(FLT_ACCFAILED);
setflag(FLT_ACC); # do accounting
.... BLA BLA BLA
}
--------------------------
--
View this message in context:
http://sip-router.1086192.n5.nabble.com/misc-radius-and-auth-radius-configu…
Sent from the Users mailing list archive at
Nabble.com.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users