I am really in favor of separating things here. The switch's job is to reliably generate CDRs and not to deal with the business logic. FreeSWITCH does the first part for you, the second part really is up to you or some other software like the ones discussed here.<div>
<br></div><div>Mixing these 2 roles into the core could lead to several problems in which I have already ran into in the past. FreeSWITCH even takes one step further which is posting the files to you on a web server if you want, so....</div>
<div><br></div><div>JM</div><div><br><div class="gmail_quote">On Sat, May 22, 2010 at 11:39 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote"><div class="im">On Sat, May 22, 2010 at 2:04 PM, Vitalii Colosov <span dir="ltr"><<a href="mailto:vetali100@gmail.com" target="_blank">vetali100@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Well, big telcos will anyway use big mediation systems (whether they really need them or not :-) ), but for most other implementations one consolidated table for CDRs might be enough for all practical purposes.<div><br></div>
</blockquote></div><div>You also need to decide if you really want to limit yourself to CSV's. The mod_xml_cdr module is extremely powerful and maybe lend itself to the whole "CDR daemon" concept. You could have your daemon listen for POSTs from xml_cdr or you could just have it scoop up the .xml files from freeswitch/log/xml-cdr/ and process them. (Either way would work but if you have it use the HTTP POST method you could more easily build a distributed model.)<br>
<br>I'm partial to mod_xm_cdr because it gives a very complete picture of what happened on the call.<br>-MC<br><br></div></div>
<br>_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>