Re: [OpenSIPStack] SQLite Database for OSBC
Brought to you by:
joegenbaclor
From: Joegen E. B. <jb...@so...> - 2007-05-30 14:00:55
|
Joegen E. Baclor wrote: > 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 > > Hold on. By any chance, are you referring to the data stored in the HTTP admin? If this is what you are asking for, the data is being store in the system registry in windows and in .ini files for linux. The default location in linux is $(HOME)/.pwlib_config (there is a dot (.) ) |