hello
Now it is doing loging of accounting under
/usr/local/var/log/radius/radacct/. i have to add the
following to my ser.cfg
loadmodule "/usr/local/lib/ser/modules/acc.so"
modparam("acc", "radius_config",
"/usr/local/etc/radiusclient/radiusclient.conf")
modparam("acc", "log_level", 1)
modparam("acc", "log_flag" , 1)
modparam("acc", "radius_flag", 1)
route{
setflag(1);
if (method=="INVITE") record_route();
}
thanks
Kamran
hello Bruno Lopes F. Cabral
where are those logs.
i have followed this doc
http://www.iptel.org/ser/doc/ser_radius/ser_radius.html
how to setflag
are you talking about
"4.2. Accounting Configuration
To enable RADIUS accounting simply use
radius_log_flag and radius_log_missed_flag parameters
instead of log_flag and log_missed_flag. Mark
transactions that should be logged with flags
configured in the parameters."
from this document
i cant find radius_log_flag in SER
ser-0.8.14/modules/acc/Makefile
i have changed ser-0.8.14/modules/acc/Makefile and
recompile this SER but still not getting any response
at RADIUS side
----------------------------------------------
#ser-0.8.14/modules/acc/Makefile
include ../../Makefile.defs
auto_gen=
NAME=acc.so
LIBS=
# uncomment the next line if you wish to enable SQL
accounting
#DEFS+=-DSQL_ACC
# uncomment the next two lines if you wish to enable
RADIUS accounting
DEFS+=-DRAD_ACC -I$(LOCALBASE)/include
LIBS=-L$(LOCALBASE)/lib -lradiusclient
include ../../Makefile.modules
----------------------------------------------------
These logs you'll have to look onto RADIUS
server,
not SER config. you'll need to check if you
setflag'ed
correctly SER so it would actually generate the
RADIUS
>start and stop records
>
>>Kamran Ahmad wrote:
>> i have done this
>>
>>http://www.iptel.org/ser/doc/ser_radius/ser_radius.html.
>> one thing i cant find any log under
>> /usr/local/var/log/radius/radacct
>> or
>> /var/log/radius/radacct
>> i dont know how to invoke accounting
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/