[SR-Users] Kamailio CDR "best practices"

Daniel-Constantin Mierla miconda at gmail.com
Mon Jul 31 16:35:11 CEST 2017



On 31.07.17 13:18, Yu Boot wrote:
> How to make Kamailio write "normal" CDRs?

Can you provide more details about what you consider a 'normal' CDR? It
is hard to guess what you expect here.


> acc cdr module writes start time and end time in unixtime format, that
> is very uncomfortable.

Which format would you consider more appropriate?

>
> Fnd stcond question - how to make Kamailio to write CDR in ordinary
> text file?
>
You can get accounting records/cdrs into a syslog file, and you can
configure syslog daemon to write those into a dedicated file -- see the
readme of acc module for log facility as well as the manual of your
syslog daemon application.

An alternative is to use db_flatstore module as a database driver.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com




More information about the sr-users mailing list