On 30-06 10:45, Andrei Pelinescu-Onciul wrote:
On Jun 30, 2009 at 09:18, Klaus Darilion
<klaus.mailinglists(a)pernau.at> wrote:
Daniel-Constantin Mierla wrote:
On 06/29/2009 11:27 PM, Klaus Darilion wrote:
pa module includes srdb2 - shouldn't it
include srdb1?
srdb1 is Kamailio DB api and srdb2 is SER DB api.
strange, because some errors were gone when I changed to srdb1. Very
strange.
Well, some ser modules were never updated to the new ser db api (srdb2
in sip-router). They still use the old ser api.
srdb1 is the kamilio api which is in fact ser/openser old api plus some
updates and function prototype changes. srdb1 is very close to the
original api and that's why you get closer to success when trying it.
srdb2 is a complete rewrite and very different from the other apis.
Now some of the modules that do not compile might be removed anyway
(e.g. I believe avpops functionality in ser is covered by the script avp
support + the db_ops module and I don't think anybody did use that
module for a very long time). For the others there are several options:
1. update them to srdb2 (the future)
2. update them to use srdb1
This is what I have been thinking too, updating them to srdb1 is easy,
compared to updating them to the new db api.
Jan.