Re: [OpenSIPStack] SQLite Database for OSBC
Brought to you by:
joegenbaclor
From: Joegen E. B. <jb...@so...> - 2007-05-30 13:50:26
|
Kolneath SOMETH wrote: > > Hi everyone, > > I wonder where/how the database files are stored (embedded)...and > which .cxx files concerns. > > Thanks and Best regards, > Kolneath SOMETH > By default, SQLite support is not enabled in OpenSIPStack. The main purpose of the SQLite classes is for registration recovery. This is to make sure that if ever OpenSBC is restarted from a crash, previous registrations are recovered. For more details see the following methods: BOOL RegistrationDatabase::PrepareContactRecoveryDB() BOOL RegistrationDatabase::AddRegistrationRecovery() To enable the SQLite classes you need to set HAS_CPPSQLITE in ossbuildopts.h Joegen |