[Users] using the acc module
Daniel Burge
dan at bluewavetelecom.com
Tue Dec 5 23:27:34 CET 2006
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
More information about the sr-users
mailing list