<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000"><D IV>Hi to 
all,</DIV><D IV></DIV><D IV>I could hardly make kamailio log cdr to db but it 
just logs successful calls.I need cdr of unsuccessful calls also.I used to use 
asterisk so in cdr I need duration and billsec separately.As far as I understand 
kamailio can give only one of them.Is there a way to get them?
<DIV></DIV><D IV>
<DIV></DIV><D IV>Here is my acc configuration:
<DIV></DIV><D IV>
<DIV></DIV><D IV>
<DIV></DIV><D IV>#!ifdef WITH_ACCDB
<DIV></DIV><D IV>modparam("acc", "cdr_enable", 1)
<DIV></DIV><D IV>modparam("acc", "early_media", 0)
<DIV></DIV><D IV>modparam("acc", "report_ack", 1)
<DIV></DIV><D IV>modparam("acc", "report_cancels", 1)
<DIV></DIV><D IV>modparam("acc", "detect_direction", 0)
<DIV></DIV><D IV>modparam("acc", "db_url", "mysql://root: 
secret@localhost/mydb")
<DIV></DIV><D IV>modparam("acc", "log_flag", FLT_ACC)
<DIV></DIV><D IV>modparam("acc", "db_missed_flag", FLT_ACCMISSED)
<DIV></DIV><D IV>modparam("acc", "db_table_missed_calls", "missed_calls")
<DIV></DIV><D IV>modparam("acc", "db_flag", 1)
<DIV></DIV><D IV>modparam("acc", "db_missed_flag", 3)
<DIV></DIV><D IV>modparam("acc", 
"db_extra","src_user=$fU;src_domain=$fd;src_ip=$si;dst_user=$rU;dst_domain=$rd")
<DIV></DIV><D IV>#!endif
<DIV></DIV><D IV>
<DIV></DIV><D IV>What should I exactly do?Can someone help?
<DIV></DIV><D IV>
<DIV></DIV><D IV>Thanks in Advance.
<DIV></DIV><D IV>
<DIV></DIV><D IV>BETÜL CERİT
<DIV></DIV>
<DIV></DIV>
<DIV></DIV></BODY></HTML>