Hi ... jus trying Kam 3.0.3 ... I get blocked on this error:
ERROR: <core> [db.c:408]: invalid version 0 for table 0 found, expected 6
(check table structure and table "version")
ERROR: auth_db [authdb_mod.c:250]: error during table version check.
It should be checking agains subscriber table version ... but I don't know why
it try to found '0' table ...
if I do a:
insert into version (table_name,table_version) values('0','6');
It get solved ... but thats only a trick.
--
Raúl Alexis Betancor Santana
Dimensión Virtual
Module: sip-router
Branch: master
Commit: b09a0eb16a3f3f6bdb458f2e118d3c5c2b9549cd
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b09a0eb…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Wed Sep 1 10:34:19 2010 +0200
doc: script to generate counter/stats list from C code
Added a perl script that generates counter documentation (name and
description) from a C file (based on the counter definition
array).
It can output txt or docbook.
---
doc/scripts/cdefs2doc/dump_counters.pl | 447 ++++++++++++++++++++++++++++++++
1 files changed, 447 insertions(+), 0 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=b09…
Module: sip-router
Branch: master
Commit: 467d1f2f5a9af24bae6ac3c7057ace961c89684f
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=467d1f2…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Wed Sep 1 11:36:50 2010 +0200
doc: counter_list
Added a new directory (doc/counter_list) complete with Makefiles
for auto-generating the lists with all the counters (stats)
implemented in the code.
Both .txt and docbook format are supported.
E.g.:
make -C doc/counter_list all # generates the docbook and .txt
make -C doc/counter_list/docbook html # html from docbook
---
doc/counter_list/Makefile | 331 +++++++++++++++++++++++++++++++++++++
doc/counter_list/docbook/Makefile | 7 +
2 files changed, 338 insertions(+), 0 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=467…
Hello,
Both on master and kamailio_3.0:
CC (gcc) [M db_berkeley.so] bdb_res.o
bdb_res.c: In function ‘bdb_res_free’:
bdb_res.c:51: error: ‘DBC’ has no member named ‘close’
make: *** [bdb_res.o] Error 1
After checking the documentation, it seems that a function that works
and closes a cursor for versions > 4.2 is c_close(), but this is marked
as deprecated in 4.6, where the close() alternative is also present .
c_close() is still used in several places. My thoughts : either we
replace DBC->close() with DBC->c_close() or , keeping in mind
DB_VERSION, we use both c_close() or close() depending on the version on
the system.
Ideas?
Marius