Re: [Freeswitch-users] Call accounting - CDR's

2009-02-07 Thread Nik Middleton
-users-boun...@lists.freeswitch.org] On Behalf Of Michael Collins Sent: 07 February 2009 00:00 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Call accounting - CDR's Question regarding the xml cdr's Let's say I have a cron job looking at these files and processing them

[Freeswitch-users] Call accounting - CDR's

2009-02-06 Thread Nik Middleton
Hi Guys I'm looking for some pointers on how to collect CDR's and store in mysql. Is there anything built in yet? I can rate the calls as a batch process, I simply need the call data. Regards ___ Freeswitch-users mailing list

Re: [Freeswitch-users] Call accounting - CDR's

2009-02-06 Thread Shelby Ramsey
Nik, There are a bunch of ways to do this ... mod_xml_cdr posts to a url then you can parse and dump ... or you can use mod_cdr_csv which allows you to dictate exactly what you want to collect and then parse the file and dump into mysql. There are also a couple of examples here --

Re: [Freeswitch-users] Call accounting - CDR's

2009-02-06 Thread Nik Middleton
...@lists.freeswitch.org] On Behalf Of Rupa Schomaker (lists) Sent: 06 February 2009 16:27 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Call accounting - CDR's Use the script in scripts/contrib/wasim/ as a starting point. Basically, you log to csv files, and then the script

Re: [Freeswitch-users] Call accounting - CDR's

2009-02-06 Thread Adam Long
AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Call accounting - CDR's Use the script in scripts/contrib/wasim/ as a starting point. Basically, you log to csv files, and then the script periodically picks them up and loads to your DB. This is using mysql as an example

Re: [Freeswitch-users] Call accounting - CDR's

2009-02-06 Thread Ken Rice
and load them into a pgsql db. From: Adam Long ajl...@worldlink.net Reply-To: freeswitch-users@lists.freeswitch.org Date: Fri, 6 Feb 2009 12:30:34 -0500 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Call accounting - CDR's Is mod_cdr_xml asynchronous ... by that I

Re: [Freeswitch-users] Call accounting - CDR's

2009-02-06 Thread Darren Wiebe
Nik Middleton wrote: Hi Guys I’m looking for some pointers on how to collect CDR’s and store in mysql. Is there anything built in yet? I can rate the calls as a batch process, I simply need the call data. Regards

Re: [Freeswitch-users] Call accounting - CDR's

2009-02-06 Thread Nik Middleton
@lists.freeswitch.org Subject: Re: [Freeswitch-users] Call accounting - CDR's Is mod_cdr_xml asynchronous ... by that I mean .. if there is a communication failure how does this effect load on the system or the call for that matter... it wouldn't hold up the progress or delay the turn up of the call or anything

Re: [Freeswitch-users] Call accounting - CDR's

2009-02-06 Thread Nik Middleton
and load them into a pgsql db. From: Adam Long ajl...@worldlink.net Reply-To: freeswitch-users@lists.freeswitch.org Date: Fri, 6 Feb 2009 12:30:34 -0500 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Call accounting - CDR's Is mod_cdr_xml asynchronous ... by that I

Re: [Freeswitch-users] Call accounting - CDR's

2009-02-06 Thread Ken Rice
: [Freeswitch-users] Call accounting - CDR's Mod_xml_cdr will drop a file to the file system on failure to post. You can also leverage this drop a file to the file system and run a CDR processor locally. We handle call rates in the 500+ range using the local file system as a caching mechanism

Re: [Freeswitch-users] Call accounting - CDR's

2009-02-06 Thread Rupa Schomaker (lists)
...@lists.freeswitch.org [mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Ken Rice Sent: 06 February 2009 17:40 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Call accounting - CDR's Mod_xml_cdr will drop a file to the file system on failure

Re: [Freeswitch-users] Call accounting - CDR's

2009-02-06 Thread Shelby Ramsey
Just out of curiosity ... You actually set the values in xml_cdr_conf.xml to an invalid value ... and then FS tries it and then dumps it into the err_dir? Nik, Just configure the xml_conf_cdr and it will post all of the channel variables to your web server ... you can look at the variables and

Re: [Freeswitch-users] Call accounting - CDR's

2009-02-06 Thread Ken Rice
: [Freeswitch-users] Call accounting - CDR's Just out of curiosity ... You actually set the values in xml_cdr_conf.xml to an invalid value ... and then FS tries it and then dumps it into the err_dir? Nik, Just configure the xml_conf_cdr and it will post all of the channel variables to your web server

Re: [Freeswitch-users] Call accounting - CDR's

2009-02-06 Thread Shelby Ramsey
Even better ... Thanks Ken! SDR ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users

Re: [Freeswitch-users] Call accounting - CDR's

2009-02-06 Thread Nik Middleton
Guy's, Thanks for all the responses; it's truly refreshing to get so much valuable input. I'm reading the docs furiously, but I still don't know what I don't know yet. But given time I will return the favor to those that come later. Regards

Re: [Freeswitch-users] Call accounting - CDR's

2009-02-06 Thread Michael Collins
Thanks for all the responses; it's truly refreshing to get so much valuable input. I'm reading the docs furiously, but I still don't know what I don't know yet. But given time I will return the favor to those that come later. Sounds good! If you feel up to doing any wiki documentation

Re: [Freeswitch-users] Call accounting - CDR's

2009-02-06 Thread Michael Collins
Question regarding the xml cdr's Let's say I have a cron job looking at these files and processing them. How does FS create them. Does a MV occur from some other DIR, as otherwise it's possible I might try and open an in progress record. No worries - the file isn't available until it's