[Devel] usrloc READONLY patch

Ovidiu Sas osas at somanetworks.com
Thu Feb 16 16:01:09 CET 2006


save_memory() is not documented on the README.registrar file.
There is a reference to it here: http://openser.org/diffs-0.8.14.php


-ovi

On Thu, 16 Feb 2006, Bogdan-Andrei Iancu wrote:

> 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
>> 
>
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
>



More information about the Devel mailing list