[Asterisk-Dev] MSSQL2000 + cdr_odbc.c fix (WAS: problem with cdr_odbc)

Pablo Endres epablo at comvoz.com
Thu May 20 16:22:50 MST 2004


Works ok execpt that the Datetime is now date.
Thinking on a solution

Pablo


On Thu, 2004-05-20 at 18:43, brian wrote:
> http://asterisk.bkw.org/diff/cdr_odbc.diff
> 
> Now this should fix it the proper way.
> 
> bkw
> PS: Thanks for the info klasstek!
> 
> 
> > -----Original Message-----
> > From: asterisk-dev-admin at lists.digium.com [mailto:asterisk-dev-
> > admin at lists.digium.com] On Behalf Of Pablo Endres
> > Sent: Wednesday, May 19, 2004 3:30 PM
> > To: asterisk-dev at lists.digium.com
> > Subject: RE: [Asterisk-Dev] problem with cdr_odbc
> >
> > Oka I fixed the problem with cdr_odbc.  Here's what I did:
> >
> > I found that there was a problem with the freetds driver to
> > MSSQL2000 with the datetime and the prepared statements.
> >
> > So I rewrote the code using SQLExecDirect in it's place.
> >
> > Now how do I summit the code to de CVS?  Maybe just make a patch in the
> > makefile.. so when you compile for freetds you can use this
> > version.
> >
> > Just an idea.
> >
> > Please let me know
> >
> > Pablo
> >
> >
> > --
> > Pablo Endres <epablo at comvoz.com>
> > ComVoz Comunications
> >
> > _______________________________________________
> > Asterisk-Dev mailing list
> > Asterisk-Dev at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-dev
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-dev
> 
> 
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
-- 
Pablo Endres <epablo at comvoz.com>
ComVoz Comunications




More information about the asterisk-dev mailing list