[Asterisk-Users] cdr_odbc not logging integers eg duration

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Mon Jan 19 10:56:29 MST 2004


Hi!

> > I've just noticed that since swapping from the direct mysql 
> > cdr driver to cdr_odbc, the call duration (and anything else 
> > that's an integer) isn't logged - anyone else seen this and 
> > know the reason.  The cdr_odbc driver gives no error messages 
> > and records any string based fields correctly.
> 
> Hm, my bet would be to check if the database definition is correct, this has
> been modified slightly in the recent past. It works just fine for me (after
> I figured out I needed that userfield appended)...

This could also be an issue with unixODBC or mySQL or their interplay 
with cdr_odbc, so better make sure to check all sides and maybe use the 
occasion to upgrade mySQL.

Cheers, Philipp




More information about the asterisk-users mailing list