<div dir="ltr">Hi ALL.<div> I try to store cdr in flat files.<div>My config is</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">loadmodule "acc.so"
</span><br>modparam("acc", "detect_direction", 0)
<br>modparam("acc", "extra_fields", "log: src_ip; dst_ip")
<br>modparam("acc", "leg_fields", "log: caller; callee")
<br>modparam("acc", "log_facility", "LOG_DAEMON")<br>
<br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"> if(is_method("INVITE")) {
</span><br> if (check_address("0","$si","$sp","any")){
<br> force_send_socket(udp:<a href="http://172.20.20.30:5060">172.20.20.30:5060</a>);
<br> setflag(CALL_AST);
<br> create_dialog("B");
<br> do_accounting("log", "cdr");<br>}</span></div><div><span style="font-family:monospace"><br></span></div><div><font face="monospace">in cosole debug I see</font></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">ACC: call ended: created=1496654777;call_start_time=1496654780;duration=7;ms_duration=7393;setuptime=3;method=I</span><br>NVITE;from_tag=SDipn2901-1544324631353641441C2115;to_tag=as51263d7c;call_id=SDipn2901-3f6bad0e2bf09ec16aeaedd37abb0661-v300g00030;code=<br>200;reason=OK;src_ip=;dst_ip=;caller=;callee=<br>
</span></div><div><span style="font-family:monospace">But no records in log file</span></div></div></div>