Replicating all DB tables between all FS nodes would eventually require to setup switchname all the same like using one common shared DB.
But just synching all tables will make each FS node to update its clients presence with others?
My understanding is that the presence update process starts with a client sip event, like register, which turns the FS to send presence updates to its subscribers, and finally to update the sip_presence table.
So just updating the DB tables with other clients presence status will not trigger the FS to send presence updates.
Easy, put your MariaDb in master-master replication mode (update to maria, mysql wont be useful)Here is a little how to
--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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org