<div dir="ltr"><div>Thanks a lot for the reply. </div><div>this is a PBX for my soho. it does not worth to run a separate machine.</div><div>all I want is to present the csv file in a webpage to be human readable.</div><div>
the calls will not exceed 70 per week.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 24, 2014 at 1:46 PM, Chris Bagnall <span dir="ltr"><<a href="mailto:asterisk@lists.minotaur.cc" target="_blank">asterisk@lists.minotaur.cc</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 24 Apr 2014, at 11:36, binary dreamer <<a href="mailto:dreamer.binary@gmail.com">dreamer.binary@gmail.com</a>> wrote:<br>
> I am running asterisk and all of my CDRs are in the default csv.<br>
> the system is so limited to ram (only 256) and I cannot run MySQL or any other program to give CDRs a fancy view.<br>
<br>
</div>As an aside, have you considered running your CDR storage/viewing on a separate machine? You don't have to log CDRs on the same box as you run asterisk.<br>
<div><br>
> at the moment the only other software running is nginx for a static webpage with guidance on the system.<br>
</div><div>> is there a way to present to a webpage the CDRs from the csv, please?<br>
<br>
</div>You can almost certainly do this if you want using the standard string handling functions in $middleware_of_choice, but the lack of indexing on text files will make this *very* slow for search queries etc.. The RAM/CPU requirements associated with loading huge chunks of text data into memory, manipulating them, then displaying the results will likely exceed that of a DB.<br>
<br>
Unless you only want a recent call log, you really want to do this in a database.<br>
<br>
Kind regards,<br>
<br>
Chris<br>
<span class="HOEnZb"><font color="#888888">--<br>
This email is made from 100% recycled electrons<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</font></span></blockquote></div><br></div>