<br><br><div class="gmail_quote">On Fri, Sep 24, 2010 at 1:29 AM,  <span dir="ltr">&lt;<a href="mailto:covici@ccs.covici.com">covici@ccs.covici.com</a>&gt;</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;">
OK, thanks for that -- so am I correct that the XML will appear as<br>
standard input to the script?  And I guess I will have to write out the<br>
.csv myself which will be a pain, but its really convenient to have<br>
that.<br></blockquote><div><br>I think it depends on your environment but yes, usually it comes in via STDIN. You are probably better off using CGI.pm than manually hacking the input. Since this question has come up more than once I created a simple Perl CGI script that gets called from a Web server. More info here:<br>
<a href="http://wiki.freeswitch.org/wiki/Mod_xml_cdr#Example_CGI_Script">http://wiki.freeswitch.org/wiki/Mod_xml_cdr#Example_CGI_Script</a><br><br>Tinker with that and see if it helps you with handling your CDRs.<br>-MC<br>
<br></div></div><br>