[SR-Users] Querying in-memory location table (dmq_usrloc)

Gholamreza Sabery gr.sabery at gmail.com
Sun Jun 16 12:11:28 CEST 2019


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 at 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 at lists.kamailio.org> im Auftrag von
> Gholamreza Sabery <gr.sabery at 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190616/db955487/attachment.html>


More information about the sr-users mailing list