[OpenSIPS-Users] XCAP table is just queried the first time

Anca Vamanu anca at opensips.org
Fri Jul 10 14:47:47 CEST 2009


Iñaki Baz Castillo wrote:
> 2009/7/9 Iñaki Baz Castillo <ibc at aliax.net>:
>   
>> 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




More information about the Users mailing list