[Asterisk-Users] cdr_addon_mysql compile error
Asterisk VOIP
asterisk at cape.com
Fri Jan 30 08:41:26 MST 2004
On Thu, 29 Jan 2004 20:01:05 -0600, Tilghman Lesher wrote
> On Thursday 29 January 2004 19:40, Asterisk VOIP wrote:
> > almost got it. I now get the following in the CLI,
> > ERROR[1226054960]: cdr_addon_mysql.c:203 mysql_log: Failed to insert
> > into database. db is setup correctly.
>
> You probably have a single field missing or misspelled. Recheck your
> table definition.
>
> > asterisk is started with /usr/sbin/asterisk -vvvvc but the only
> > messages I find are, LOG_ERROR, in the CLI. Where are the LOG_DEBUG
> > messages?
>
> They aren't actually logged to disk or to the CLI unless you
> configure them to go there. Look in /etc/asterisk/logger.conf.
>
> -Tilghman
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
got it! last question.... the uniqueid and userfield info
is empty for all calls. should I "Add a CFLAGS+=-DMYSQL_LOGUNIQUEID to the
Makefile" for cdr_addon_mysql.c and do a make clean make install to get the
uniqueid info? what about the userfield info?
thanks for all of your help.
-wr
More information about the asterisk-users
mailing list