[SR-Users] Generating db-tables .html file

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 30 09:23:52 CET 2015


Hello,

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.

Cheers,
Daniel

On 26/11/15 14:29, smititelu wrote:
> Hi,
>
> On 26.11.2015 13:48, Daniel-Constantin Mierla wrote:
>> do you want to add the sql to create the new table or you just want
>> to regenerate the html file with the description of db tables?
> I think of both.
>
> I can easily add the generated database script files(e.g.
> utils/kamctl/ dbtext, mysql, etc..). But I don't know how to
> regenerate the .html file with the description of db tables.
>
> Thanks,
> Stefan

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20151130/6f139eb4/attachment.html>


More information about the sr-users mailing list