[Freeswitch-users] where to put perl code to add cdr info
covici at ccs.covici.com
covici at ccs.covici.com
Fri Sep 24 18:58:51 PDT 2010
Thanks I will look at that -- nice to have an example.
Michael Collins <msc at freeswitch.org> wrote:
> On Fri, Sep 24, 2010 at 1:29 AM, <covici at ccs.covici.com> wrote:
>
> > OK, thanks for that -- so am I correct that the XML will appear as
> > standard input to the script? And I guess I will have to write out the
> > .csv myself which will be a pain, but its really convenient to have
> > that.
> >
>
> 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:
> http://wiki.freeswitch.org/wiki/Mod_xml_cdr#Example_CGI_Script
>
> Tinker with that and see if it helps you with handling your CDRs.
> -MC
>
> ----------------------------------------------------
> Alternatives:
>
> ----------------------------------------------------
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici at ccs.covici.com
More information about the FreeSWITCH-users
mailing list