Hi,

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

   menuselect/menuselect --check-deps   menuselect.makeopts
   Generating embedded module rules ...
   make[1]: Nothing to be done for `all'.
   make[1]: Nothing to be done for `all'.
   make[1]: Nothing to be done for `all'.
      [CC] cdr_addon_mysql.c -> cdr_addon_mysql.o
   cdr_addon_mysql.c: In function 'mysql_log':
   cdr_addon_mysql.c:214: error: 'struct ast_cdr' has no member named
   'team'
   cdr_addon_mysql.c:215: error: 'struct ast_cdr' has no member named
   'team'
   cdr_addon_mysql.c:215: error: 'struct ast_cdr' has no member named
   'team'
   make[1]: *** [cdr_addon_mysql.o] Error 1
   make: *** [cdr] Error 2
   asterisk-IBM:/usr/src/asterisk-addons-1.4.7#


Any idea how to solve this problem?
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to