[Asterisk-Dev] Current database abstraction effort ?
cw_asn at fibertel.com.ar
Wed Dec 31 10:21:14 MST 2003
> As I'm planning some work that will require external database support
> (in order to be fully dynamic and potentially shared by different
> Asterisk servers), I have to solve this issue first.
> It's definetly not a major issue, but before starting to work on it
> I'd like to know what the community has to say about it.
> I found a few references to the way the FreeRadius people did it, and
> I would probably make something similar, although there a a few things
> in their design that I would make otherwise.
I think that the best part of this could be to use ODBC routines implemented
by Brian, and I believe that it would not be very difficult to write this
module (I'm thinking mainly in routing stuff).
> Finally, Asterisk uses the db1 library to store some local dynamic
> data. The db.h interface could be kept as-is and optionnally work with
> this new database backend for tasks that do not require full SQL
> syntax (although a there shall be a way to specify if the caller is
> expecting its data to be local or shared amongst servers).
I agree with that.
More information about the asterisk-dev