On 30.11.2015 10:23, Daniel-Constantin Mierla wrote:
for generating the sql script, run in root folder of kamailio sources:

make dbschema

The sql scripts will be placed in subfolders of utils/kamctl/.

For generating the html docs, iirc, the commands are:

- in lib/srdb1/schema:

make docbook-xml

- then in doc/databases/kamailio:

make html

Then a htables.html should be generated.

I didn't have the time to check everything, as I saw the commands issue error messages regarding the ID 'id', when doing validations.

Thank you.

Updated also http://www.kamailio.org/dokuwiki/doku.php/development:db-schema?&#database_schemas

Stefan