Discussion:
[SR-Users] Multiple kamailio sharing single Registration DB
Varghese Paul
2014-10-08 13:06:11 UTC
Permalink
Hi all,

How i can setup multiple kamailio servers should share the single
registration DB.

Requirement: I have two kamailio instances Kamailio-A and Kamalio-B ,both
are sharing the same DB which is postgre*SQL *which is hosted in some other
server.

When a USER AGENT A send a register packet to Kamailio-A it is updating the
registration status in the DB. But in kamailio-B if am doing a
lookup(location) i am getting -1 as return value.

kamctl ul show <USER_AGENT>

404 AOR not found

1. How kamailio retrieving the registrations status ? Is it from the DB or
from the internal cache ?

2. How can i read the registration status from the DB always ?

Let me know if any one need any more information.

Regards

Varghese Paul
Juha Heinanen
2014-10-08 13:45:02 UTC
Permalink
Post by Varghese Paul
1. How kamailio retrieving the registrations status ? Is it from the DB or
from the internal cache ?
2. How can i read the registration status from the DB always ?
you can find the answer in usrloc README. it always a good idea to read
documentation first before posting questions to the mailing list.

-- juha

Loading...