Hello,

Yes we enabled manage-presence.
According to documentation dbname is used to share presence between profiles.

What we want to achieve is to share presence between hosts.

We investigated some presence source code and found that there are sql queries that ask for specific FS host. We modified SELECT statements and UPDATES of version parameter, so they have no host in WHERE clause. After mod_sofia recompilation everything works fine.

It seems that the only way to share presence between hosts is to set the same hostname in switch.xml for every FS node, but we cannot do this because we need host information for other services.

I wonder why FS checks whether the subscription was made on a host that sets up the connection. Maybe this is a bug in the concept and it should be removed.

Regards
Adam Kusmirek



---------- Wiadomość przekazana dalej ----------
From: "Ítalo Rossi" <italorossib@gmail.com>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc: 
Date: Fri, 7 Aug 2015 22:42:37 -0500
Subject: Re: [Freeswitch-users] Presence with shared database
Hard to say without more info, where's your configs?

Did you enabled the manage-presence in your profile? and set the dbname?