[OpenSIPS-Users] Shared Presence

Ross Beer beer.ross at googlemail.com
Wed Nov 11 18:34:12 CET 2009


Hi,

Is it possible to replicate presence between two servers? I have a MySQL
cluster that replicates all of the tables except location as this is handled
at SIP level.

The problem I can see is that the active_watches table has a 'socket_info'
field that stores where the user subscribed which means that only the server
that received the subscribe sends the updates to the client.

To get around this problem with registrations I add a path and then forward
on the request. I tried this with subscribe messages and this worked well,
however when a PUA client registers it only updates the local database and
does not send the t_replicate to the other server.

Is there a way I can get both servers to update for PUA clients?

Thanks,

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091111/43ccb9f8/attachment.htm 


More information about the Users mailing list