you have 2 options in the category of just doing it simple.
1) write a cron job to kill -HUP `cat /usr/local/freeswitch/logs/freeswitch.pid` then when the cdr file rotates parse and insert it into the db.
2) alter the template in cdr_csv.conf.xml so it directly creates sql statements instead of CSV data and do the same as option 1 but a lot easier.
For anything more advanced than that it would take a lot more understanding on your part and explanation on mine.
On Fri, Sep 26, 2008 at 7:27 AM, preetha Ayyappan <preetha.ayyappan@gmail.com> wrote:
_______________________________________________hi,
I am getting the call records saved in the folder cdr-csv.I need to save this cdr details in mysql database.Is it possible to do?If yes please assist me to do this.
Thanks
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
http://www.freeswitch.org
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400
_______________________________________________
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
http://www.freeswitch.org