[asterisk-users] cdr_adaptive_odbc and custom rdms fields

Steve Finkelstein sf at stevefink.net
Tue Dec 25 14:59:12 CST 2007


No worries!

Does something like this make sense for now?

                //ast_verb(3, "Found adaptive CDR table %s@%s.\n",
tableptr->table, tableptr->connection);
                if(opt_verbose > 2) {
                        ast_verbose(VERBOSE_PREFIX_3, "Found adaptive CDR
table %s@%s.\n", tableptr->table, tableptr->connection);
                }

Prolly my fault.

cc -I/usr/src/asterisk/include -I/usr/local/include
-DAST_MODULE=\"cdr_adaptive_odbc\" -o cdr_adaptive_odbc.o -c
cdr_adaptive_odbc.c
cdr_adaptive_odbc.c: In function 'load_config':
cdr_adaptive_odbc.c:159: error: 'opt_verbose' undeclared (first use in this
function)
cdr_adaptive_odbc.c:159: error: (Each undeclared identifier is reported only
once
cdr_adaptive_odbc.c:159: error: for each function it appears in.)
cdr_adaptive_odbc.c: In function 'odbc_log':
cdr_adaptive_odbc.c:561: error: 'opt_verbose' undeclared (first use in this
function)
make: *** [cdr_adaptive_odbc.o] Error 1



On 12/25/07, Tilghman Lesher <tilghman at mail.jeffandtilghman.com> wrote:
>
> On Tuesday 25 December 2007 14:11:53 Steve Finkelstein wrote:
> > Any ideas on how to properly get this linked against my current
> Asterisk?
> >
> > catalyst*CLI> module load cdr_adaptive_odbc.so
> > [Dec 25 15:11:14] WARNING[22722]: loader.c:363 load_dynamic_module:
> Error
> > loading module 'cdr_adaptive_odbc.so':
> > /usr/lib/asterisk/modules/cdr_adaptive_odbc.so: undefined symbol:
> ast_verb
> > [Dec 25 15:11:14] WARNING[22722]: loader.c:649 load_resource: Module
> > 'cdr_adaptive_odbc.so' could not be loaded.
>
> Crud, I know what's wrong, but unfortunately I can't fix it right now, as
> there's a problem with the repository server (I can't connect).
>
> In the meantime, you can replace in the source everywhere it says
>         ast_verb(3,
> with
>         if (opt_verbose > 2)
>                 ast_verbose(VERBOSE_PREFIX_3
>
> Sorry.  We'll get this fixed as soon as someone with access to that server
> logs on after vacation.
>
> --
> Tilghman
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071225/6bcfebf2/attachment.htm 


More information about the asterisk-users mailing list