Hello, db_mode set to 1 ensures consistency with database in real time, while still using the cache for lookups, so it might be a better alternative than db_mode set to 3.
Cheers, Daniel On 02/11/16 07:19, Gholamreza Sabery wrote: > Than is because of your db_mode. If you want everything to be written > in the database use db_mode 3. For more information read this: > > http://kamailio.org/docs/modules/stable/modules/usrloc.html#usrloc.p.db_mode > > On Wed, Nov 2, 2016 at 6:38 AM, Никитенко Виталий <v1...@yandex.ru > <mailto:v1...@yandex.ru>> wrote: > > Hi all! > I have kamailio 4.2.3 with options > modparam ( "usrloc", "db_url", DBURL) > modparam ( "usrloc", "db_mode", 2) > > But not all registred users displayed in table "location". When > viewed "kamctl ul show" displays > Domain :: location table = 1024 records = 1172 max_slot = 5 > But "location" table has 651 rows. Why not all users saved to > mysql table? > Thank! > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing > list > sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users> > > > > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users