Hi all,
I am trying to limit the concurrent calls of a customer, but we have multiple Kamailio servers in our platform. I have the dialog module up and running and it is storing its data in a database, but when I use get_profile_size, it will only return the number of dialogs in that profile for the current machine, it does not add the others. How can I get Kamailio to add the others, i.e. how can I get Kamailio to consult the database to get the correct size. Now, Kamailio seems to only write to the database, but not read from it.
Best regards,
MICHAEL JEPSON
What is the db_mode of the dialog module set to? I suggest trying 1 as a value. http://www.kamailio.org/docs/modules/4.4.x/modules/dialog.html#idp44282476
From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Michael Jepson Sent: 26 September 2016 12:07 To: Kamailio (SER) - Users Mailing List sr-users@lists.sip-router.org Subject: [SR-Users] Dialog sharing between Kamailio servers
Hi all,
I am trying to limit the concurrent calls of a customer, but we have multiple Kamailio servers in our platform. I have the dialog module up and running and it is storing its data in a database, but when I use get_profile_size, it will only return the number of dialogs in that profile for the current machine, it does not add the others. How can I get Kamailio to add the others, i.e. how can I get Kamailio to consult the database to get the correct size. Now, Kamailio seems to only write to the database, but not read from it.
Best regards,
MICHAEL JEPSON