Re: [Freeswitch-users] mod_cdr_csv and mysql

2009-09-08 Thread Michael Collins
On Tue, Sep 8, 2009 at 8:50 AM, Hristo Benev wrote: > Hello, > > I saw an sql option in mod_cdr_csv. > > For my surprise it wrote sql code in Master.csv file instead of recording > to mysql database (already setup as ODBC) > > Is that normal or I'm missing something? > The purpose of the SQL te

Re: [Freeswitch-users] mod_cdr_csv and mysql

2009-09-08 Thread Diego Viola
Hi Hristo, I recommend that you take a look at mod_event_socket or ESL/FSR, you should make a script that listens for the CHANNEL_HANGUP_COMPLETE and get all the CDR vars from that event, once you do that you can send the CDR info to the db or do anything else. You can find an example of how to d

[Freeswitch-users] mod_cdr_csv and mysql

2009-09-08 Thread Hristo Benev
Hello, I saw an sql option in mod_cdr_csv. For my surprise it wrote sql code in Master.csv file instead of recording to mysql database (already setup as ODBC) Is that normal or I'm missing something? I read on the wiki that there is additional perl script to load csv to mysql. Should I do it