Hello,
you can share a database between different Kamailio server. Especially if they access only
read-only, this is pretty much a standard scenario.
Regarding keeping a table for the active calls, the dialog module allows you to easily
track current calls. It can also save the information in a database.
Otherwise you can of course also do your own solution, e.g. with the sqlops module.
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com<https://gilawa.com/>
From: sr-users <sr-users-bounces(a)lists.kamailio.org> On Behalf Of Waqar 40
Sent: Friday, July 29, 2022 7:30 AM
To: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
Subject: [SR-Users] Sharing Database between three kamailios
I have three Kamailios in three different servers which are dispatching calls to 9
asterisks in three different servers using load balancing. All these Kamailios are using
databases installed on that servers. As the entries of the dispatcher table are the same
for all the Kamailio, so I want that these Kamailio use a single database installed on one
of the servers. All these Kamailios instances should use the same database which is common
between them. And also I want these Kamailios to write into the database by creating a
table that stores all the active calls in three Kamailios. Is it possible? How can I do
it? Please guide me with somewhat explanation as I am not this much expert in Kamailio.
Waiting for a quick response.
Regards
VoIP Engineer Vicky