<div><div dir="auto">Flat db store and cgrates looks promising. Thanks everyone.</div><br><div class="gmail_quote"><div>On Sun, 6 May 2018 at 12:43 AM, Abdul Basit <<a href="mailto:basit.engg@gmail.com">basit.engg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">You can use cgrates for CDR parsing from flat file system </div><br><div class="gmail_quote"><div>On Sat, 5 May 2018 11:54 pm Ben Newlin, <<a href="mailto:Ben.Newlin@genesys.com" target="_blank">Ben.Newlin@genesys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div class="m_1659016073291651007m_375319087534858714WordSection1">
<p class="MsoNormal">We use the db_flatstore module to have Opensips write the CDRs from the ACC module directly to a file. We have a second application which reads the file and processes the CDRs separately.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="color:black">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:black">Ben Newlin</span><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Users <<a href="mailto:users-bounces@lists.opensips.org" rel="noreferrer" target="_blank">users-bounces@lists.opensips.org</a>> on behalf of Aqs Younas <<a href="mailto:aqsyounas@gmail.com" rel="noreferrer" target="_blank">aqsyounas@gmail.com</a>><br>
<b>Reply-To: </b>OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" rel="noreferrer" target="_blank">users@lists.opensips.org</a>><br>
<b>Date: </b>Saturday, May 5, 2018 at 3:32 AM<br>
<b>To: </b>OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org" rel="noreferrer" target="_blank">users@lists.opensips.org</a>><br>
<b>Subject: </b>Re: [OpenSIPS-Users] What would be the best way to get CDRs from opensips considering opensips handles heavy traffic load<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><a name="m_1659016073291651007_m_375319087534858714__MailOriginalBody" rel="noreferrer">Thanks for reply. Opensips handles around 2000 concurrent calls with cps of 40 at the peak time. I see when opensips writes in ACC and my portal runs queries on the same table, opensips process almost comes to
halt and a restart is always needed to make it alive. <u></u><u></u></a></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>I want opensips to do something like just write CDRS in file/post somewhere or put in rabbitmq queue and do continue with processing sip traffic. Also, i would prefer to have something built-in
instead of building my own CDRs.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>Best Regards,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>Aqs Younas<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span>On Sat, 5 May 2018 at 5:46 AM, Jon Abrams <</span><a href="mailto:ffshoh@gmail.com" rel="noreferrer" target="_blank"><span>ffshoh@gmail.com</span><span></span></a><span>>
wrote:<u></u><u></u></span></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span>If you don't need them immediately, you can use the old fashion write CDRS to syslog. Rotate the log file every so often to process the CDRs. Journald is too slow
for this though - you must use rsyslog or syslog-ng.<br>
<br>
If you use the builtin OpenSIPS accounting and need results more real-time, then I'd look at RADIUS accounting. If you generate your own CDRs, then there are the event datagram and rabbitmq modules that provide opportunities.<u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span>Out of curiosity, what do you consider heavy traffic?<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span>- Jon<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span>On Fri, May 4, 2018 at 4:32 PM, Aqs Younas <</span><a href="mailto:aqsyounas@gmail.com" rel="noreferrer" target="_blank"><span>aqsyounas@gmail.com</span><span></span></a><span>>
wrote:<u></u><u></u></span></p>
</div>
</div>
<div>
<div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal"><span>Greeting list,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>I would like to ask expert option, how they are getting CDRs from opensips which handles heavy traffic.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>Actually I don't want to have opensips mantain database connections and write records in a single table acc. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>Best Regards,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>Aqs Younas<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</blockquote>
</div>
</div>
<div>
<div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span>_______________________________________________<br>
Users mailing list<br>
</span><a href="mailto:Users@lists.opensips.org" rel="noreferrer" target="_blank"><span>Users@lists.opensips.org</span><span></span></a><span><br>
</span><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank"><span>http://lists.opensips.org/cgi-bin/mailman/listinfo/users</span><span></span></a><span><u></u><u></u></span></p>
</blockquote>
</div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<p class="MsoNormal"><span>_______________________________________________<br>
Users mailing list<br>
</span><a href="mailto:Users@lists.opensips.org" rel="noreferrer" target="_blank"><span>Users@lists.opensips.org</span><span></span></a><span><br>
</span><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank"><span>http://lists.opensips.org/cgi-bin/mailman/listinfo/users</span><span></span></a><span><u></u><u></u></span></p>
</blockquote>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" rel="noreferrer" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer 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></div>