Re: Sca in cluster/load balancer

Ben Kaufman via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <DM4PR11MB5407D1BC76923A60C58EFEC1A466A@DM4PR11MB5407.namprd11.prod.outlook.com>
I think what you're looking for is to have one Kamailio server be able to write presence information into a database, and have other kamailio servers detect those change and send NOTIFY messages, and I don't think that this will work in that manner based on the documentation:


  *
The call-info subscriber information is stored in memory and is periodically written to the database. Call state information is stored in memory. A future release may periodically write call state to the database, as well. The database is purely for restoring subscriptions after a restart of the application server. Subscriber information is also flushed to the database when the service is stopped.

There are probably other ways of getting what you want here, like maintaining subscriber information in memory on each individual host (you don't want to send NOTIFY from each server to a single UA for every event, right?), and replicating call state information via DMQ to trigger the notifications.  But that's just a quick guess.

Regards,
Kaufman


Kaufman
Senior Voice Engineer



E: [email protected]







SIP.US Client Support: 800.566.9810  |  SIPTRUNK Client Support: 800.250.6510  |  Flowroute Client Support: 855.356.9768

[img]<https://www.sip.us>
[img]<https://www.siptrunk.com>
[img]<https://www.flowroute.com>




________________________________
From: mauro.celli76--- via sr-users <[email protected]>
Sent: Thursday, May 29, 2025 9:25 AM
To: [email protected] <[email protected]>
Cc: [email protected] <[email protected]>
Subject: [SR-Users] Re: Sca in cluster/load balancer

CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Thanks! Work!
Now, is there a way to get the module to work on a kamailio cluster? I don't see anything in the documentation...
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.