Hello,
not sure if I understood the question correctly. There is nothing special regarding the user location query. Just use the standard lookup location function from usrloc module. If the replication works correctly, both Kamailio should have the data in memory available (depending on your usrloc cfg mode).
Cheers,
Henning
________________________________ Von: sr-users sr-users-bounces@lists.kamailio.org im Auftrag von Gholamreza Sabery gr.sabery@gmail.com Gesendet: Sonntag, 16. Juni 2019 10:08 An: Kamailio (SER) - Users Mailing List Betreff: [SR-Users] Querying in-memory location table (dmq_usrloc)
I am using dmq_usrloc, to replicate user locations across multiple Kamailio instances. Everything works fine. The problem occurs when a user on Kam1 wants to call a user on Kam2. How can I query the in-memory location table to see where the user is registered?
PS: I use a Path header to specify the server that each user is registered on.