<div dir="ltr">Best reports you get directly from SQL database. Accounting - CDR table. Not best idea to do this above live system, you should work on replica or export in different system for example. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">čt 15. 10. 2020 v 19:17 odesílatel Matthias Hohl <<a href="mailto:matthias.hohl@telematica.at">matthias.hohl@telematica.at</a>> napsal:<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" style="overflow-wrap: break-word;"><div class="gmail-m_4303662450560241855WordSection1"><p class="MsoNormal"><span lang="EN-US">First:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">You create a peering group and define a “contract” for this peering group.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Vial “Reseller and Peering Contracts” you can define a Billing Profile for this peering group of this contract.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">That’s it.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Second:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">You have to merge all cdr files at the end of the day manually. SPCE is generating 2 cdr files each hour. You can define this interval also via config.yml or in customtt. Don’t know now in detail.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Anyway, a monthly file will not be generated automatically.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Download it to a directory and open CMD, then use “copy *.cdr 2020-10.cdr”<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Also “That’s it.” </span><span lang="EN-US" style="font-family:"Segoe UI Emoji",sans-serif">😊</span><span lang="EN-US"><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm"><p class="MsoNormal"><b><span lang="DE">Von:</span></b><span lang="DE"> Diego Ramos <<a href="mailto:diego.ramos1@gmail.com" target="_blank">diego.ramos1@gmail.com</a>> <br><b>Gesendet:</b> Donnerstag, 15. Oktober 2020 16:58<br><b>An:</b> <a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a><br><b>Betreff:</b> [Spce-user] Reports and cdr<u></u><u></u></span></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">Hi,<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><p class="MsoNormal"><span class="gmail-m_4303662450560241855gmail-povykd">How do I get a separate usage report by peerings group or peerings servers?</span><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span class="gmail-m_4303662450560241855gmail-povykd">And how do I remove the cdr with ngcp-cdr-exporter with a period of the last 30 days. In the system it generates day by day and I don't know how to generate one at the end of the month.</span><u></u><u></u></p></div><div><div><div id="gmail-m_4303662450560241855gmail-tw-target"><div id="gmail-m_4303662450560241855gmail-kAz1tf"><div id="gmail-m_4303662450560241855gmail-tw-target-text-container"><pre><span lang="EN">Diego Ramos </span><u></u><u></u></pre></div></div></div></div></div></div></div></div>-- <br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com" rel="noreferrer" target="_blank">https://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com</a><br>
</blockquote></div>