[SR-Users] syslog CDR time format

Yu Boot yu at yu-boot.ru
Fri Aug 18 17:27:08 CEST 2017


Hello.

Can't get 'date-time' format timestamps in syslog CDRs, while SQL CDRs 
are OK.

According to acc module documentation:

modparam("acc", "cdr_enable", 1)
modparam("acc", "time_format", "%Y-%m-%d %H:%M:%S")
modparam("acc", "time_mode", 3)
modparam("acc", "cdr_facility", "LOG_DAEMON")

syslog:

NOTICE: acc [acc_cdr.c:352]: log_write_cdr(): start_time=1503068984.627; 
end_time=1503068991.250; duration=6.623; src_user=100; 
src_domain=a.b.c.d; src_ip=e.f.g.h; dst_ouser=200; dst_user=200; 
dst_domain=k.l.m.n




More information about the sr-users mailing list