[Freeswitch-users] storing csv file in mysql database

preetha Ayyappan preetha.ayyappan at gmail.com
Sat Sep 27 01:26:39 PDT 2008


Actually now I can able to save the call detail records in the database
through php.But the csv file does not contains the disposition details.How
can i get the disposition in csv file?

Thanks.


On 9/26/08, Anthony Minessale <anthony.minessale at gmail.com> wrote:
>
> 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
>
>
> _______________________________________________
> 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
>
>


-- 
Preetha.A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080927/01b78e4a/attachment-0002.html 


More information about the FreeSWITCH-users mailing list