This can be elegantly done by improving the xcap-diff module. When an XCAP server has an update for a document for a given user it should Publish this to the PA for Event=xcap-diff. The module then should internally cause a refresh_watchers()
Adrian On Jul 10, 2009, at 3:46 PM, Iñaki Baz Castillo wrote: > 2009/7/10 Anca Vamanu <[email protected]>: >> Yes, you are right. This is the reason why the table is queried >> only the >> first time. It is assumed that OpenXCAP will announce it when a >> change >> occurs. > > Anca, what about if OpenSIPS runs with other XCAP server (also in > "integrated_mode" using xcap table)? > Would make sense an option in presence module > "always_query_xcap_table"? > - If "no" (default value) the current behaviour would take place. > - If "yes", the XCAP table would be queried every time. > > This would allow XCAP updates (XCAP table modifications) being updated > in presence module (when not using OpenXCAP with "OpenSIPS" backend > and opensips-mi-proxy). > > > > > -- > Iñaki Baz Castillo > <[email protected]> > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
