Problem compiling cdr_mysql

Hello:

I just got Asterisk 1.2.7 running from source, and was hoping to get
FreePBX installed on top of it.

I’ve got just about all of the required packages installed now EXCEPT for
cdr_mysql.

I tried to compile this (from the asterisk-addons-1.0.9 source), had to tweak
some Makefile parameters (position of the /asterisk/include, for example), and
am now stuck on an error in the :

[code:1]app_addon_sql_mysql.c: In function ‘del_identifier’:
app_addon_sql_mysql.c:163: error: ‘AST_LIST_REMOVE’ undeclared (first use in th
is function)
app_addon_sql_mysql.c:163: error: (Each undeclared identifier is reported only
once
app_addon_sql_mysql.c:163: error: for each function it appears in.)
make: *** [app_addon_sql_mysql.o] Error 1[/code:1]

Anyone run across this yet? Or can you suggest an alternative source for “cdr_mysql” (I have FC4 running now, will be upgrading to FC5 soon.

Thanks,
Charlie

You need to get asterisk-addons-1.2.2 from www.asterisk.org to use with Asterisk 1.2.7.1. The version you have is too old.