On 12/27/10 1:40 PM, Daniel-Constantin Mierla wrote:
On 12/27/10 11:52 AM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
the LCR module got refurbished and changed
completely the database
structure, but the scripts to create the tables for db_text and
db_berkeley engines seem to be not maintained in this case.
yes, unless they can
be generated automatically from the schema files.
I tried with dbtext and the lcr tables are created ok.
Noa, what specific version are you using? Seems to be installed from
packages, right? Which distro? Then the problem might be in the
packaging specs. I did it from sources and all tables are created. Can
you send the output of: ls /usr/share/kamailio/dbtext/kamailio/
OK, it proved to be
something different -- the new lcr tables for db
text were not in the remote repository. I had them locally, probably due
to local db schema generation, so my install worked fine.
I uploaded them on remote repository.
Noa, you need to fetch latest version from git branch 3.1 in order to
get them (I provided the link to a turorial using git in previous
message). Over the night, the new nightly debian builds should have them
included.
Juha, they are automatically generated in the source tree, but
sometimes it needs to adjust other files (e.g., kamctl, kamdbctl) when
the names of tables change.
Juha, can the files for former lcr module tables 'gw' and 'lcr' be
removed?
Cheers,
Daniel
--
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
http://www.asipto.com