[Home]

Summary:ASTERISK-00889: [patch] Fix for * on PPC not logging integer fields through cdr_odbc
Reporter:iain (iain)Labels:
Date Opened:2004-01-21 13:59:44.000-0600Date Closed:2008-01-15 14:41:56.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) cdr_odbc.diff
Description:cdr_odbc would not log any integer call record fields eg duration, billable seconds etc



****** ADDITIONAL INFORMATION ******

After re-installing mysql and MyODBC the problem was still present.  However, a sample program in MyODBC did write integers correctly.  The difference is in the integer type specified to bind to the database.  It needs to be long as per the attached patch.
Comments:By: Brian West (bkw918) 2004-01-22 00:59:40.000-0600

Ok that makes sense :) my bad we will get this in ASAP... thanks

bkw

By: Mark Spencer (markster) 2004-01-22 15:35:27.000-0600

Fixed in CVS

By: Brian West (bkw918) 2004-01-22 15:36:37.000-0600

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 14:41:56.000-0600

Repository: asterisk
Revision: 2056

U   trunk/cdr/cdr_odbc.c

------------------------------------------------------------------------
r2056 | markster | 2008-01-15 14:41:56 -0600 (Tue, 15 Jan 2008) | 2 lines

ODBC fix for PPC (bug ASTERISK-889)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=2056