[Serusers] Accounting with SER

Jan Janak jan at iptel.org
Tue Jan 13 11:00:16 CET 2004


Make sure that you have record routing turned on and also that you set
the accounting flag also for BYE transactions.

  Jan.

On 12-01 22:00, Fábio Silvestri wrote:
> 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
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list