[Freeswitch-users] Presence with shared database

Adam Kuśmirek amkusmirek at gmail.com
Mon Aug 10 14:08:16 MSD 2015


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 at gmail.com>
> To: FreeSWITCH Users Help <freeswitch-users at 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?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150810/ae512d02/attachment.html 


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