[Users] using the acc module

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Dec 6 16:25:07 CET 2006


Hi Daniel,

are you doing any stateful forward for the requests? are you sure that 
they are 2xx completed?

regards,
bogdan

Daniel Burge wrote:

> 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 at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>





More information about the sr-users mailing list