[Serusers] Accounting with SER

Greg Fausak greg at august.net
Mon Jul 7 23:38:13 CEST 2003

Syslog is a standard unix facility.
Normally, in a standard linux install, you will see
a file named /var/log/messages.  That is where the
accounting information will be written.
You can groom this, for instance, if you want to
direct the messages from SER to a special file, using
the syslog facility.  You will need to look at the manual
page, ie:
man syslog.conf
to get some ideas about this.
The syslog entries are enabled with the lines:
loadmodule "/usr/ser/lib/ser/modules/acc.so"
modparam("acc", "log_level", 1)
modparam("acc", "log_flag", 1 )
modparam("acc", "log_fmt", "miocfsu" )
I can't comment on the accounting module for mysql, but I imagine
that is described by the accounting README.txt file in the appropriate
module directory.
Our implementation scans the syslog files and writes into a postgres
database the call accounting stuff.
There is a bit of a learning curve involved with this.  However, the
programming documentation is very good and this list is great for
when you get stumped, but only then :-)
Greg Fausak
Addaline.com, Inc.

-----Original Message-----
From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org] On
Behalf Of Director General: NEFACOMP
Sent: Monday, July 07, 2003 3:17 PM
To: serusers
Subject: [Serusers] Accounting with SER

I would like to get more information on accounting with SER.
Ok, I followed the documentation about accounting but it doesn't give
enough information about how to retrieve the accounting information. It
just says that Reports are by DEFAULT sent to the syslog facility. Where
is that syslog? How do I retreive that information? Is it possible to
put that information in the MySQL database? How?
That is by DEFAULT; so, is it possible to change that default location?
Some gurus will realize how NEWBIE I am in the Linux World.
Please help me.
NZEYIMANA Emery Fabrice
NEFA Computing Services, Inc.
P.O. Box 5078 Kigali
Office Phone: +250-51 11 06
Office Fax: +250-50 15 19
Mobile: +250-08517768
Email: dg at nefacomp.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20030707/665cf4cc/attachment.htm>

More information about the sr-users mailing list