[Serusers] Radius accounting

Naresh Parmar naresh_parmar14 at yahoo.com
Fri Jul 22 16:28:30 CEST 2005


hi, tried this configuration as well...still cannot see anything in the /usr/local/var/log/radius/radacct directory.......is there something else tht might be missing??

Alberto Cruz <acruz at tekbrain.com> wrote:You should add something like this at your ser.cfg:

modparam("acc","radius_config","/etc/radiusclient-ng/radiusclient.conf")
modparam("acc", "service_type", 15)
modparam("acc", "radius_flag", 1)
modparam("acc", "radius_missed_flag", 3)
modparam("acc", "report_ack", 0)

And after sanity checks block:
        #---------------------------------------------
        #Checking for the Radius accounting messages
        #---------------------------------------------
        if (method=="INVITE") {
                log(1, "INVITE MESSAGE RECEIVED - START ACCOUNTING\n");
                setflag(1);
        };
        if (method=="BYE" || method=="CANCEL") {
                log (1, "%method  - STOP ACCOUNTING\n");
                setflag(1);
        };
        setflag(3);

Regards

Alberto Cruz

Naresh Parmar wrote:
folks,
 
i m using free radius server with SER. just trying to figure out how can i make the accounting work...have done everything in the Radius-Howto but still am not seeing anything in the /usr/local/var/log/radius/radacct directory...any clue...??



---------------------------------
Start your day with Yahoo! - make it your home page 

---------------------------------
_______________________________________________Serusers mailing listserusers at lists.iptel.orghttp://lists.iptel.org/mailman/listinfo/serusers  


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050722/45e9d89d/attachment.htm>


More information about the sr-users mailing list