[OpenSIPS-Users] About db_mode of the usrlocl module
Liviu Chircu
liviu at opensips.org
Mon Sep 2 11:24:19 CEST 2013
Hello Chen-Che,
What version are you using? I haven't been able to replicate this
behaviour on any of the two usrloc db modes of the /master/ branch.
Best regards,
Liviu Chircu
OpenSIPS Dev
http://www.opensips-solutions.com
On 09/02/2013 05:53 AM, microx wrote:
> Hi all,
>
> The usrloc module provides 4 types of db_mode. When trying to use the
> write-through and write-back schemes, I find that the locations are not
> stored into the location table in the database as I expect. For example,
> when employing the write-through scheme, I cannot find the new registered
> user in the location table even 10 seconds after a user has registered. With
> the write-back scheme, setting "modparam("usrloc", "timer_interval", 60)",
> "query_flush_time=60", or "query_buffer_size" does not lead to registered
> users to be stored into the location table.
>
> I use the configuration below which works well for db_mode = 3 (DB-only). I
> wonder how I can let the registered locations stored at the memory as well
> as the database? Thanks for any comment.
>
> Best regards,
> Chen-Che
>
> modparam("usrloc", "db_mode", 1)
> modparam("usrloc", "nat_bflag", "NAT_BFLAG")
> modparam("usrloc", "timer_interval", 120)
>
> if (!save("location", "sf"))
> sl_reply_error();
>
>
>
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/About-db-mode-of-the-usrlocl-module-tp7587684.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130902/616ca76a/attachment-0001.htm>
More information about the Users
mailing list