<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello all,<div class=""><br class=""></div><div class="">I have installed Opensips 2.1.1 on Debian 8.2 and migrated a configuration that was working on Opensips 1.11. All is fine except that the ACC module seems no longer to write CDR in mysql database.</div><div class="">Just to be sure, I have replaced my opensips.cfg by the trunking sample and I have the same issue : ACC data are written in syslog file but never in mysql DB although the "db_url" parameter is set.</div><div class=""><br class=""></div><div class="">Note that I get no error at start and that the mysql DB is working well with the other modules especially the dialog module. It was also working without any problem in Opensips 1.11.</div><div class=""><br class=""></div><div class="">Here is my "acc" config based on the trunking sample config :</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(83, 48, 225); background-color: rgb(0, 0, 0);" class="">#### ACCounting module</div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class="">loadmodule "acc.so"</div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class="">/* what special events should be accounted ? */</div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class="">modparam("acc", "early_media", 0)</div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class="">modparam("acc", "report_cancels", 0)</div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class="">/* by default we do not adjust the direct of the sequential requests.</div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class="">&nbsp;&nbsp;&nbsp;if you enable this parameter, be sure the enable "append_fromtag"</div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class="">&nbsp;&nbsp;&nbsp;in "rr" module */</div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class="">modparam("acc", "detect_direction", 0)</div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class="">modparam("acc", "failed_transaction_flag", "ACC_FAILED")</div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class="">/* account triggers (flags) */</div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class="">modparam("acc", "log_level", 1)</div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class="">modparam("acc", "log_flag", "ACC_DO")</div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class="">modparam("acc", "log_missed_flag", "ACC_MISSED")</div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(83, 48, 225); background-color: rgb(0, 0, 0);" class=""><span style="color: rgb(41, 249, 20);" class="">modparam("acc", "db_url","mysql:</span>//opensips:password@localhost/opensips")&nbsp;</div></div><div class=""><br class=""></div><div class="">Here is a syslog extract I get after a call :</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class="">Nov&nbsp; 2 10:19:10 nvopensips03 /usr/local/opensips/sbin/opensips[1880]: Do accounting</div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class="">Nov&nbsp; 2 10:19:10 nvopensips03 /usr/local/opensips/sbin/opensips[1863]: ACC: transaction answered: timestamp=1446455950;method=INVITE;from_tag=6997206237350283298;to_tag=a02d8118-4701e60a-13c4-55022-38886-30eed03f-38886;call_id=6997206237350283298-1446455950-1032;code=200;reason=OK</div><div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);" class="">Nov&nbsp; 2 10:19:20 nvopensips03 /usr/local/opensips/sbin/opensips[1857]: ACC: transaction answered: timestamp=1446455960;method=BYE;from_tag=6997206237350283298;to_tag=a02d8118-4701e60a-13c4-55022-38886-30eed03f-38886;call_id=6997206237350283298-1446455950-1032;code=200;reason=OK</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Have I missed something ?&nbsp;</div><div class="">Thanks in advanced for any help.</div><div class=""><br class=""></div><div class="">Vincent D.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>