Hello,

locations records are loaded from database at startup based on detection of use for registrar functions save/lookup, whose parameters include the name of database table.

But in case you want to use an embedded language, such as Lua, the config interpreter cannot detect if any location tables have to be loaded, thus you have to give them as parameters to usrloc module.

Cheers,
Daniel

On 06/02/14 14:55, Victor V. Kustov wrote:
Hi all!

Please give expanded tips about usrloc preload(). What exactly it
doing?

modparam("usrloc", "db_mode", 0)
modparam("usrloc", "preload", "location")

This case kamailio load from db on startup and operate in memory after?

--
  WBR, Victor
   JID: coy...@bks.tv
   JID: coy...@bryansktel.ru
   I use FREE operation system: 3.12.9-calculate GNU/Linux

_______________________________________________
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://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda


_______________________________________________
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

Reply via email to