[Asterisk-Users] MtSQL CDR logging

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Thu Nov 6 13:04:08 MST 2003


On Thursday 06 November 2003 12:17, WipeOut wrote:
> Tilghman Lesher wrote:
> >On Thursday 06 November 2003 05:16, WipeOut wrote:
> >>It would appear that the "uniqueid" field is not being populated
> >> in the MySQL CDR DB.. Is this an obsolete field or is a bug?
> >
> >Use the source, Luke.  You need to define MYSQL_LOGUNIQUEID at
> > compile time for it to use that field.
>
> How is this done?

You have two options:
1. Add a CFLAGS+=-DMYSQL_LOGUNIQUEID to the Makefile.
2. Add a #define MYSQL_LOGUNIQUEID to the top of the sourcefile.

> Why is it not enabled by default if the field is there by default?

Because it wasn't there originally, so it would have broken
existing installations.

-Tilghman




More information about the asterisk-users mailing list