Hi all,
I have problem with Accounting in radius database. The
parameter AcctStopTime of the table named radacct
isn't filled by Openser.
The parameter AcctStartTime is okay.
In my code of Openser I'm using:
...
modparam("acc", "radius_flag", 1)
modparam("acc", "radius_missed_flag", 2)
# set the reporting log level
modparam("acc", "log_level", 1)
# number of the flag which will be used to mark
messages for accounting
modparam("acc", "log_flag", 1)
modparam("acc", "log_missed_flag", 1)
...
# subsequent messages withing a dialog should take the
# path determined by record-routing
if (loose_route())
{
# mark the BYEs -- they are requests within a dialog
if(method=="BYE")
setflag(1);
t_relay();
exit;
};
# process the INVITEs
if(method=="INVITE")
{
# mark the INVITEs for accounting
setflag(1);
# enforce record-routing so the BYEs will come
through this server
record_route();
};
....
Please, can you help me?
Thanks!
Alberto
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com