[asterisk-users] cdr_addon_mysql - additional fields

Marcin J. Kowalczyk marcin.kowalczyk at ccig.pl
Mon Jul 7 12:05:16 CDT 2008


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080707/c2005101/attachment.htm 


More information about the asterisk-users mailing list