Welcome
=======

Bayonnedb offers a modular plugin database server which proves realtime
transaction services using open protocols for telephony servers like
Bayonne and Pre-Viking, and for PBX monitoring systems like Babylon.  This
is done thru a modular threaded database server that can respond to
multiple actions concurrently and which can plugin different backend
database services and storage engines such as Postgres, as needed at
runtime.

Postgresql Setup
================

At minimum one needs to create a "bayonne" user and database table in your 
postgresql server, using the createuser and createdb commands.  The name 
can be different if you modify the username and database name specified in 
/etc/bayonnedb.conf, but this action must still be performed by the 
database administrator.

After creating the database you need to create tables.  At minimum the 
server table must be created, by "bayonnedb --create server".  Additional 
tables will be needed for each service module you plan to install.  These
should also be done with the --create option.  You can create all your 
service tables together, as for example: "bayonnedb --create server cdr".

Tables are created by BayonneDB by it assuming the identity of the user 
specified in the config file.  Hence the database itself must be created 
by the postgresql administrator first.


