Hello,
I'm trying to configure the accounting module to log messages to
syslog by following the instructions here:
http://www.openser.org/docs/modules/1.1.x/acc.html
I've included these lines where appropriate according to the example
on that page. The meaningful parts of the code are as follows:
loadmodule "/usr/local/lib64/openser/modules/acc.so"
modparam("acc", "log_level", 1)
modparam("acc", "log_flag", 1)
route
{
if (method=="INVITE" || method=="BYE" ||
method=="CANCEL")
{
setflag(1); /* set for accounting (the same value as in log_flag!)
} }
However this is not causing any information to be logged to syslog.
Any idea?
Thanks in advance,
Daniel
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
Make sure you put a line at the top of your config like:
log_facility=LOG_LOCAL6
The number at the end can vary, it depends on what Log facilities you
have "free" on your system.