[Serusers] Accounting with SER

Fábio Silvestri fabio at informatec.com.br
Tue Jan 13 01:00:14 CET 2004


Hello!

I got accounting to mysql working now, but I have only logs for INVITE and ACK, 
how can I enable log for calls when are finished?

I think I have to do this for acconting the duration of the calls!

Regards.


Olle E. Johansson wrote:
> Fábio Silvestri wrote:
> 
>> I have recompile acc module to enable mysql support, and set this 
>> lines on my ser.cfg:
>>
>> loadmodule "/usr/lib/ser/modules/acc.so"
>>
>> modparam("acc", "log_level", 1)
>> modparam("acc", "log_flag", 1 )
>> modparam("acc", "log_fmt", "miocfsu" )
>>
>> setflag(1);
>>
>> But I can't see any messages from acounting on mysql and syslog!
>> What does I'm doing wrong?
> 
> You are not reading the manual :-)
> http://iptel.org/ser/doc/modules/html/acc.html
> 
> Search for the db_* flags and functions.
> 
> /Olle
> 

-- 
|o
|o
|o Fabio Silvestri
|o fabio at informatec.com.br
|o ICQ: 1667351
|o




More information about the sr-users mailing list