[sr-dev] PUA in db_mode "0" (memory based storage): Any reason, why a database must be defined?!?!?

Peter Dunkley peter.dunkley at crocodile-rcs.com
Sun Aug 19 13:11:53 CEST 2012


Hi,

The original mode of operation (before DB only was added) for PUA and RLS
was to use in-memory storage that is periodically backed-up to a database.
 This allows the memory contents to be restored from the database if
Kamailio is restarted.  This behaviour has been preserved as mode 0.

There is no memory only (no database at all) mode of operation in PUA or RLS.

Regards,

Peter

> Hi,
>
> i've just noticed the following:
> The PUA-Docs state, that you can either use the memory (0) or the database
> (2):
> http://kamailio.org/docs/modules/devel/modules_k/pua.html#id2548705
>
> The module, however, demands to define a valid database, to which the
> module even connects even though it should use just the memory....
>
> In the code, i found no reference, where the database is used when in
> "memory-mode".
>
> Is there any particular reason for this?
>
> Thanks,
> Carsten
>
>
>
>
>
>
> --
> Carsten Bock
> CEO (Geschäftsführer)
>
> ng-voice GmbH
> Schomburgstr. 80
> D-22767 Hamburg / Germany
>
> http://www.ng-voice.com
> mailto:carsten at ng-voice.com
>
> Office +49 40 34927219
> Fax +49 40 34927220
>
> Sitz der Gesellschaft: Hamburg
> Registergericht: Amtsgericht Hamburg, HRB 120189
> Geschäftsführer: Carsten Bock
> Ust-ID: DE279344284
>
> Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
> http://www.ng-voice.com/imprint/
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>


-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd




More information about the sr-dev mailing list