Hi!
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 have to set db_flag and db_missed_flag.
Jan.
On 09-01 11:28, Fábio Silvestri wrote:
Hi!
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?
--
|o |o |o Fabio Silvestri |o fabio@informatec.com.br |o ICQ: 1667351 |o
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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
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
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@informatec.com.br |o ICQ: 1667351 |o
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers