[Devel] usrloc READONLY patch

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Feb 16 14:11:21 CET 2006


Hi Hendrik,

I have one question: isn't the functionality the same with using any 
current DB mode with save_memory() instead of save() ?

as DB mode is configured, the records will be loaded at startup, but by 
using save_memory() you prevent the DB to be updated from the memory cache.

thanks and regards,
bogdan

Hendrik Scholz wrote:

> Hi!
>
> I contributed this to the Iptel SER five weeks ago and since the
> same use cases apply for OpenSER I prepared a diff against CVS HEAD
> and stored it at 
> http://dump.wormulon.net/patches/openser-usrloc_readonly.diff
>
> Please regenerate the README when committing this since I only changed
> doc/usrloc_user.sgml.
>
> The READONLY db_mode added in this patch allows the sip server
> to load its initial userbase from a database and then run without
> a database afterwards.
>
> This mode comes in handy in distributed setups that use other
> means of location information propagation.
>
> Hendrik
>




More information about the Devel mailing list