Iñaki Baz Castillo wrote: > 2009/7/9 Iñaki Baz Castillo <[email protected]>: > >> Hi, I restart OpenSIPS and perform a presence SUBSCRIBE. >> I clearly see in MySQL logs a query to the xcap table: >> >> select doc from xcap where username='alice' AND domain='domain.org' >> AND doc_type=2 >> >> After a while, I un-susbcribe and subscribe again. This time I don't >> see the query to xcap table and the previous subscription status is >> retrieved. Why? >> > > I think that it's supposed to work with OpenXCAp using "OpenSIPS" > backend, so OpenXCAP will notify OpenSIPS (via opensips-mi-proxy) > about XCAP updates, so the presence module will read them in order to > generate nupdated notifications. > > Unfortunatelly I cannot get "OpenSIPS" backend working in OpenXCAP :( > http://openxcap.org/ticket/99 > > > 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 _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
