I have created new feature and attached the module sources and config file.<div><br></div><div><a href="http://jira.freeswitch.org/browse/FSMOD-55">http://jira.freeswitch.org/browse/FSMOD-55</a><div><br></div><div>Regards,</div>
<div>Vitalie</div><div><br><br><div class="gmail_quote">2010/6/6 Moises Silva <span dir="ltr"><<a href="mailto:moises.silva@gmail.com">moises.silva@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Oh, genius me ..</div><div><br></div>For starters I guess you can add it as a new feature to JIRA ( <a href="http://jira.freeswitch.org" target="_blank">jira.freeswitch.org</a> )<div><div class="im"><br clear="all">Moises Silva<br>
Senior Software Engineer<br>
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada<br>t. 1 905 474 1990 x 128 | e. <a href="mailto:moy@sangoma.com" target="_blank">moy@sangoma.com</a><br>
<br><br></div><div><div></div><div class="h5"><div class="gmail_quote">On Sun, Jun 6, 2010 at 3:20 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Moises,<div><br><div>Basically this was my question :) - <span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse;color:rgb(80, 0, 80)">what is the best way to share it with the community?</span><br>
<br></div><div>Where can I put the source code?</div><div><br></div><div>Regards,</div><div>Vitalie</div><div><br></div><div><br><div class="gmail_quote">2010/6/6 Moises Silva <span dir="ltr"><<a href="mailto:moises.silva@gmail.com" target="_blank">moises.silva@gmail.com</a>></span><div>
<div></div><div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Vitalie,<div><br></div><div>Where is the source code?<div><div><br clear="all">Moises Silva<br>Senior Software Engineer<br>
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada<br>t. 1 905 474 1990 x 128 | e. <a href="mailto:moy@sangoma.com" target="_blank">moy@sangoma.com</a><br>
<br><br></div><div class="gmail_quote"><div><div></div><div>On Sun, Jun 6, 2010 at 2:13 PM, Vitalii Colosov <span dir="ltr"><<a href="mailto:vetali100@gmail.com" target="_blank">vetali100@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>
Hi team,<div><br></div><div>I 've created first version of <b>mod_cdr_logic</b>.</div><div><div>And I would like to ask you what is the best way to share it with the community?</div><div>It can be provided in contrib dir or I can put it on my personal site, if you think it is better not to include it into contrib dir at this stage.</div>
</div><div><br></div><div>Module exports any channel variables into the provided table using ODBC in core. </div><div>It supports master and backup database (also I will add failover dump into a file in a future version if it will be required).</div>
<div><br></div><div><b>The most important thing of this module is the ability to execute set of Lua or Java scripts before exporting CDR into the table.</b></div><div><b>So one can implement any business logic, set new channel variables based on some conditions, and then export them all into the table as CDR.</b></div>
<div><br></div><div><br></div><div>Config file (attached) contains 3 sections:</div><div><br></div><div>1. Database and table settings</div><div>2. Scripts to be executed before export</div><div>3. Channel variables to be exported (and corresponding table field names).</div>
<div><br></div><div><br></div><div><br></div><div>I would greatly appreciate your inputs!</div><div><br></div><div>P.S. I tested it carefully and it looks stable, but for sure it will need few months of community intensive testing (and bug fixing if any) before being considered fully stable.</div>
<div><br></div><div><b>Also, I would greatly appreciate any comments of the development team on the source code (especially on string concatenation and memory management).</b></div><div><br></div><div>Regards,</div><div>
vIT</div>
<div><br></div><div><br></div><div><br><div class="gmail_quote">2010/5/26 Vitalii Colosov <span dir="ltr"><<a href="mailto:vetali100@gmail.com" target="_blank">vetali100@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Nazim,<div><br></div><div>mod_xml_cdr is able to send CDR to apache server, and I was using it successfully until I created the module that writes CDRs directly into the database. I thought to add some business logic ability and share with the community.</div>
<div><br></div><div>I am sure your idea will also find many grateful users.</div><div><br></div><div>Personally from my side, I wanted to completely avoid using any HTTP servers (many reasons, bottom line - it's just not REALLY needed for such task in many implementations).</div>
<div><br></div><div>I think I will continue working in this direction and it will find some users (like me) who will also use it.</div><div>The only problem here I see is performance - maybe it will not be suitable for really LARGE implementations.</div>
<div><br></div><div>Vitalie</div>
</blockquote></div><br></div>
<br></div></div><div>_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank">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></div></blockquote></div><br></div></div>
<br>_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank">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></div></div><br></div></div>
<br>_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank">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></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></div>