From: Darrick H. <dha...@dj...> - 2007-03-06 15:48:46
|
Pawel Pastuszak wrote: > Hi Darrick, > > Asterisk only supports sqlite 2 not sqlite 3 because of that i > modifited the orginal cdr_sqlite.c and full converted it to sqlite3 > because i useing it my self. > > So here are the file, all you need to do is patch the makefile the > patch is include in the zip file > Pawel, Thanks for the file and patch. I'm not sure we're going to use it in the 0.4 branch. Someone would have to give me a pretty convincing reason why sqlite3 is better than sqlite2. If there's really no good reason, I'm going to stay with sqlite2 for two reasons. 1). Less patches to maintain and 2). sqlite2 support is what is officially in asterisk 1.2. That being sadi, if you have a good reason to use sqlite3 instead of sqlite2, please let me know and I'll reconsider it. Kristian may want to include the sqlite3 module in trunk. That's totally up to him. I'll have versions of astlinux built from the 0.4 branch with properly compiled sqlite and cdr_sqlite (as well as cdr and apps for postgresql) shortly. Please test when it's out. Darrick > > Pawel Pastuszak > paw...@gm... <mailto:paw...@gm...> > > > > *From: * Darrick Hartman <dha...@dj... > <mailto:dha...@dj...>> >> *Date: * March 6, 2007 2:58:18 AM EST (CA) >> *To: * AstLinux Users Mailing List >> <ast...@li... >> <mailto:ast...@li...>> >> *Subject: * *Re: [Astlinux-users] sqlite cdr* >> *Reply-To: * AstLinux Users Mailing List >> <ast...@li... >> <mailto:ast...@li...>> >> >> walter trucci wrote: >>> You are great! >> I don't think I'd go quite that far...more notes below. >>> >>> 2007/3/5, Darrick Hartman < dha...@dj... >>> <mailto:dha...@dj...> >>> <mailto:dha...@dj... >>> <mailto:dha...@dj...>>>: >>> >>> Darrick Hartman wrote: >>>> walter trucci wrote: >>> >>>> Thanks. These are helpful. Looks like sqlite is linking >>> against stuff >>>> improperly. I haven't used it, only started building it at the >>> request >>>> of others. >>>> >>> >>> I found the problem and will take care of it tomorrow. I >>> almost have >>> the cdr_sqlite stuff right too. >>> >>> >> After some further digging, it appears that asterisk-1.2x will only >> support sqlite2 (not sqlite3--which compiles so nicely. sqlite2 >> requires a patch to do cross-compiling). sqlite3 may or may not be >> supported by asterisk-1.4. (The mantis bug tracker wasn't >> exactly clear >> on this.) For my purposes in the 0.4 branch, sqlite2 is the way >> we have >> to go since we'll be staying with asterisk-1.2 in that branch. >> >> I'm redoing the sqlite package in 0.4 branch and will have that >> and the >> cdr stuff ready to go tomorrow. Assuming it builds cleanly >> (building >> right now), I just need to clean up the hacks I put in the >> asterisk.mk <http://asterisk.mk> >> file. >> >> Darrick >> >> -- >> Darrick Hartman >> DJH Solutions, LLC >> http://www.djhsolutions.com >> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> >> _______________________________________________ >> Astlinux-users mailing list >> Ast...@li... >> <mailto:Ast...@li...> >> https://lists.sourceforge.net/lists/listinfo/astlinux-users >> <https://lists.sourceforge.net/lists/listinfo/astlinux-users> >> >> Donations to support AstLinux are graciously accepted via PayPal >> to pa...@kr... <mailto:pa...@kr...>. > > > > --- Wojtek > > > > -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com |