<div dir="ltr">Staz,<br><div><br></div><div>Hi thanks for the reply, I forgot I think to mention about my config</div><div><br></div><div>loadmodule "db_flatstore.so"<br>modparam("db_flatstore", "flush", 1)<br>modparam("db_flatstore", "suffix", ".log_SERVERIP")<br></div><div><br></div><div>loadmodule "acc.so"<br>/* what special events should be accounted ? */<br>modparam("acc", "early_media", 1)<br>modparam("acc", "report_cancels", 1)<br>/* by default we do not adjust the direct of the sequential requests.<br> if you enable this parameter, be sure the enable "append_fromtag"<br> in "rr" module */<br>modparam("acc", "detect_direction", 0)<br>modparam("acc", "extra_fields", "db: callerid->callerid; ani->ani; prefix->prefix; src_ip->src_ip; dst_ip->dst_ip; acctid->acctid; carrierid->carrierid; ruleid->ruleid; lrn->lrn; orig_ani->orig_ani")<br>#modparam("acc", "extra_fields", "db: callerid->callerid; ani->ani; prefix->prefix; src_ip->src_ip; dst_ip->dst_ip; acctid->acctid; carrierid->carrierid; ruleid->ruleid;")<br>modparam("acc", "db_url", "flatstore:/var/log/acc")<br></div><div><br></div><div>Is there a proper placement of</div><div>do_accounting("db|log", "cdr|missed|failed");<br></div><div><br></div><div>In my config I have this in the route before</div><div><br></div><div>dp_translate($(avp(groupid){<a href="http://s.int">s.int</a>}), "$rU", $rU, $var(dp_attr));<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 7, 2020 at 1:39 AM Stas Kobzar <<a href="mailto:staskobzar@gmail.com">staskobzar@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>You should create the file with headers. You can copy required storage file from here:</div><div><a href="https://github.com/OpenSIPS/opensips/tree/master/scripts/dbtext/opensips" target="_blank">https://github.com/OpenSIPS/opensips/tree/master/scripts/dbtext/opensips</a><br></div><div><br></div><div>And, of course, make sure you have good owner and permissions set to the file.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 6, 2020 at 1:26 PM Vic Jolin <<a href="mailto:adjolin@gmail.com" target="_blank">adjolin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>What are the reasons why flatstore files are not being created?</div><div><br></div><div>Im seeing this output in a binary journal file, and not from a normal log file I have my output logs in /var/log/messages (but we do not see it coming here as well)</div><div><br></div><div><br></div><div><br></div><div>ACC: call ended: created=1596585092;call_start_time=1596585108;duration=5;ms_duration=5268;setuptime=16;method=INVITE;from_tag=13c1b24f27e408db;to_tag=ZtNe611a9391D;call_id=2a2ac4f263616c6c0015c430<br></div><div><br></div><div>But no flatstore file created or updated</div><div><br></div><div>But there is no flatstore files created. Is this a server issue? A resource like HD write speed? or some misconfiguration?</div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>