Dear Henning,
Thanks for your reply.
Replication works correctly (this can be confirmed by kamctl ul show, which
shows contacts on all servers). However the lookup() function does not find
it!
On Sun, Jun 16, 2019 at 1:48 PM Henning Westerholt <hw(a)skalatan.de> wrote:
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(a)lists.kamailio.org> im Auftrag von
Gholamreza Sabery <gr.sabery(a)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.