[Freeswitch-users] storing csv file in mysql database

Anthony Minessale anthony.minessale at gmail.com
Fri Sep 26 06:23:18 PDT 2008


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 at 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 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
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080926/24af198f/attachment-0002.html 


More information about the FreeSWITCH-users mailing list