[OpenSIPS-Users] user location cluster

volga629 at networklab.ca volga629 at networklab.ca
Wed Jun 6 10:30:14 EDT 2018


Hello Everyone,
We have the following config

#### USeR LOCation module
loadmodule "usrloc.so"
modparam("usrloc", "db_url", "postgres://uri/db")
modparam("usrloc", "use_domain", 1)
modparam("usrloc", "working_mode_preset", "federation-cachedb-cluster")
modparam("usrloc", "location_cluster", 1)
modparam("usrloc", "cachedb_url", 
"mongodb://10.100.101.9:27017/opensips_prod01.userlocation")
modparam("usrloc","nat_bflag","NATED_CALLEE")


In our setup we have mongodb cluster with 2 mongos  to serve 
application. Is possible in modparam("usrloc", "cachedb_url" "uri")
specify URI in format like mongodb module where you specify 
mongodb:replica://primary mongos:port,backup mongos:port ?


volga629






More information about the Users mailing list