<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
 I need help with modifying  cdr_addon_mysql.c I want to have more
fields in cdr table in asterisk. I've tried to modify cdr_addon_mysql.c
and replace userfield with ex team (sed -e 's/userfield/team/g' ). When
I try to recomplie <br>
<br>
<blockquote>menuselect/menuselect --check-deps   menuselect.makeopts<br>
Generating embedded module rules ...<br>
make[1]: Nothing to be done for `all'.<br>
make[1]: Nothing to be done for `all'.<br>
make[1]: Nothing to be done for `all'.<br>
   [CC] cdr_addon_mysql.c -&gt; cdr_addon_mysql.o<br>
cdr_addon_mysql.c: In function 'mysql_log':<br>
cdr_addon_mysql.c:214: error: 'struct ast_cdr' has no member named
'team'<br>
cdr_addon_mysql.c:215: error: 'struct ast_cdr' has no member named
'team'<br>
cdr_addon_mysql.c:215: error: 'struct ast_cdr' has no member named
'team'<br>
make[1]: *** [cdr_addon_mysql.o] Error 1<br>
make: *** [cdr] Error 2<br>
asterisk-IBM:/usr/src/asterisk-addons-1.4.7#<br>
</blockquote>
<br>
Any idea how to solve this problem?<br>
</body>
</html>