<div dir="ltr"><div>Ok, found this:</div><div><br></div><div>DBHOST=localhost<br>DBUSER=exporter<br>DBPASS=XXXXXXXXXXXXX<br>DBDB=accounting</div><div><br></div><div>in /etc/ngcp-cdr-exporter/cdr-exporter.conf</div><div><br></div><div>Restarting Mediator gives me this:</div><div><br></div><div>Jul 2 12:29:07 sipwise (debug) mediator[16939]: Writing pid file.<br>Jul 2 12:29:07 sipwise (info) mediator[16939]: ACC acc database host='localhost', port='3306', user='kamailio', name='kamailio'<br>Jul 2 12:29:07 sipwise (info) mediator[16939]: CDR acc database host='localhost', port='3306', user='mediator', name='accounting'<br>Jul 2 12:29:07 sipwise (info) mediator[16939]: PROV database host='localhost', port='3306', user='mediator', name='provisioning'<br>Jul 2 12:29:07 sipwise (info) mediator[16939]: STATS database host='localhost', port='3306', user='mediator', name='stats'<br>Jul 2 12:29:07 sipwise (debug) mediator[16939]: Setting up mysql connections.<br>Jul 2 12:29:07 sipwise (info) mediator[16939]: Up and running, daemonized=1, pid-path='/var/run/mediator.pid', interval=10</div><div><br></div><div>No mention of a DBUSER exporter though. Am I barking up the right tree?</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 2, 2019 at 12:17 PM qabane me <<a href="mailto:qabaneitsolutions@gmail.com">qabaneitsolutions@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"><div>Hi</div><div><br></div><div>Thanks for the quick response. Indeed they show unexported. <br></div><div><br></div><div>
<span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">You can investigate by executing it from commandline.</span> > I am not sure what you mean by that and/or what to fix :-(?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 2, 2019 at 12:13 PM Rene Krenn <<a href="mailto:rkrenn@sipwise.com" target="_blank">rkrenn@sipwise.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 lang="DE-AT"><div class="gmail-m_6310424331750219161gmail-m_3906122386308085513WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">If you check accounting.cdr databse tables, what export_status do the records there show?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">If „unexported“, cdr-exporter is not running properly; eg. it’s dbuser is rejected. You can investigate by executing it from commandline.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)">br<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:11pt;font-family:"Calibri",sans-serif" lang="DE">Von:</span></b><span style="font-size:11pt;font-family:"Calibri",sans-serif" lang="DE"> Spce-user [mailto:<a href="mailto:spce-user-bounces@lists.sipwise.com" target="_blank">spce-user-bounces@lists.sipwise.com</a>] <b>Im Auftrag von </b>qabane me<br><b>Gesendet:</b> Dienstag, 2. Juli 2019 12:08<br><b>An:</b> Spce-user <<a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a>><br><b>Betreff:</b> [Spce-user] no cdrs after upgrade - mediator is running<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">Hi there<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">We upgraded our sipwise to 4.5.12. I have just picked up that the cdrs appear to not be generated. Mediator is running, the CDR log shows:<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Jul 2 12:04:15 sipwise (debug) mediator[4291]: Overall 2131068 CDRs created so far.<br>Jul 2 12:04:18 sipwise (debug) mediator[4291]: Overall 2131071 CDRs created so far.<br>Jul 2 12:04:21 sipwise (debug) mediator[4291]: Overall 2131073 CDRs created so far.<br>Jul 2 12:04:24 sipwise (debug) mediator[4291]: Overall 2131079 CDRs created so far.<br>Jul 2 12:04:27 sipwise (debug) mediator[4291]: Overall 2131083 CDRs created so far.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">So all appears to be working. It does create the various files in the /home/jail/home/resellers/default directory, but they are blank. There are no files though at all in the /system directory since the upgrade.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Any ideas what could be missing?<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></blockquote></div>
</blockquote></div>