0 Replies Last post: Aug 19, 2008 10:44 AM by Guest  
Guest

Aug 19, 2008 10:44 AM

Changes in OpenSBC directory and config structure

Hi Everyone,

I've patched OpenSBC/OpenSIPStack just a while ago. This patch changes
the log, registry and default config directory of OpenSBC in both
windows and unix flavors. This is to assure that OpenSBC always has
write access to the directory. The location of this directory as
presented below MAY be bypassed using the '-f' or '--config-dir' command
line switch.

Example:

#./opensbc -d -p pidfile -f /var/home/foo/foobar/opensbc

Summary is below:

UNIX
Logs - $(HOME)/.opensipstack/OpenSBC/logs
Registry - $(HOME)/.opensipstack/OpenSBC/registry
Config - $(HOME)/.opensipstack/OpenSBC/opensbc.ini

WINDOWS
Logs - C:\Documents and Settings\%user%\Application
Data\OpenSIPStack\OpenSBC\logs
Registry- C:\Documents and Settings\%user%\Application
Data\OpenSIPStack\OpenSBC\registry
Config -
HKEY_LOCAL_MACHINE\SOFTWARE\opensipstack.org\OpenSBC\CurrentVersion

Cheers,
Joegen