[Freeswitch-users] multiple FS presence

Assaf Dahary adahary at gmail.com
Thu Jul 7 12:43:32 MSD 2016


Luis,

 

Thanks for your solution.

It should do the job in my case (and to other projects as well).

 

Regards

 

Assaf 

 

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Luis Daniel Lucio Quiroz
Sent: Wednesday, July 06, 2016 6:02 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] multiple FS presence

 

Easy, put your MariaDb in master-master replication mode (update to maria, mysql wont be useful)

Here is a little how to

 

http://inside-out.xyz/technology/how-to-configure-mariadb-synchronous-replication.html




--

Luis Daniel Lucio Quiroz
CISSP, CISM, CISA
Linux, VoIP and much more fun
www.okay.com.mx

Need LCR? Check out LCR for FusionPBX with FreeSWITCH
Need Billing? Check out Billing for FusionPBX with FreeSWITCH

 

2016-07-06 9:57 GMT-04:00 Assaf Dahary <adahary at gmail.com>:

Hi,

 

I have multiple FS nodes where each of them maintains locally its own MySql DB/tables (created automatically on FS installation with dsn setup).

 

Now I'm looking for a way to share clients presence between the FS nodes.

 

I read the latest discussion on this issue which suggested to use common DB for all FS nodes with the same switchname in the switch.xml.

But this will not work for me as in my case each FS node needs to maintains locally its own Freeswitch DB tables (there is a reason why it is setup like that).

 

In each FS node I see that the sip_presence table is being updated with each sip client event (reg, unreg, etc).

I already have a script that already handles each FS events so I can log all register/unregister/expire events.

  

So my question is, how can I reflect sip client presence events from one FS node to another?

 

Regards

 

Assaf

   


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160707/d1a525b2/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list