I have build freeradius with mysql, and it work.

But when i test radtest ue_imeisv_check default 127.0.0.1 1812 testing123

server written detail file, but not write to radacct table and written to radpostauth.

 

radius.conf accounting configuration

 

#

#  Accounting.  Log the accounting data.

#

accounting {

        #

        #  Create a 'detail'ed log of the packets.

        #  Note that accounting requests which are proxied

        #  are also logged in the detail file.

        detail

#       daily

 

        #  Update the wtmp file

        #

        #  If you don't use "radlast", you can delete this line.

        unix

 

        #

        #  For Simultaneous-Use tracking.

        #

        #  Due to packet losses in the network, the data here

        #  may be incorrect.  There is little we can do about it.

        radutmp

#       sradutmp

 

        #  Return an address to the IP Pool when we see a stop record.

#       main_pool

 

        #

        #  Log traffic to an SQL database.

        #

        #  See "Accounting queries" in sql.conf

        sql

 

 

        #  Cisco VoIP specific bulk accounting

#       pgsql-voip

 

}

Reply via email to