[Freeswitch-users] Distributed presence
Emrah
lists at kavun.ch
Wed Jun 8 21:22:16 MSD 2016
Hello list,
I have multiple FS servers and I am trying to share presence info across them using a PGSQL database.
I cannot share the same hostname and use PGSQL in the core that way for 2 reasons,
1. The DB is on a remote server and there is some latency. It’s ok to update and show presence but not to conduct all operations. Also, if the DB server fails, everything needs to keep on running normally.
2. I need to be able to distinguish channels and calls on a per server basis.
Worst case, I could probably forfeit point 1 if FS can keep on running if the DB crashes, if it’s the only way. But I cannot share the same hostnames across all boxes.
I already have odbc-dsn configured for my internal profile, as well as:
<param name="presence-probe-on-register" value="true"/>
<param name="manage-shared-appearance" value="true"/>
<param name="dbname" value="sip_presence"/>
For dbname, I put the name of a database I saw FS created and which I assumed would match the purpose… But I couldn’t find much documentation about it. Any hints would be appreciated. That particular table (sip_presence) stays empty and presence isn’t shared.
Thanks for any help and all the best,
Emrah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160608/801c90b1/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list