Hello I change Makefile like below.
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
And compiled SER with below parameters. make all include_modules=mysql make prefix=/usr/local install include_modules=mysql
Although I can talk between softphones. I could not get record in acc table.
What can be the reason...