<div dir="ltr"><div><span style="white-space:pre-wrap">Hi,</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">This is my scenario:</span></div><div><span style="white-space:pre-wrap"><br>
</span></div><div><span style="white-space:pre-wrap">based on OpenSIPS (1.9.0-unstable-notls (i386/linux)) and openxcap 2.0.1,</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Two UAs is involved,Alice and Bob,and Bob have subscribed to the presence.winfo of himself </span></div>
<div><span style="white-space:pre-wrap">when startup,and then Alice try to add Bob as a buddy,Alice update the resource-list of XCAP</span></div><div><span style="white-space:pre-wrap">table,and then openxcap send a mi command  mi_refreshWatchers to opensips througth the </span></div>
<div><span style="white-space:pre-wrap">opensips-mi-proxy,and opensips received this command:  :mi_refreshWatchers:#012&quot;<a href="mailto:sip%3ABob@172.22.198.1">sip:Bob@172.22.198.1</a>&quot;#012&quot;presence&quot;#0120&quot;#012</span></div>
<div><span style="white-space:pre-wrap">just as :mi_refreshWatchers: &quot;<a href="mailto:sip%3ABob@172.22.198.1">sip:Bob@172.22.198.1</a>&quot; &quot;presence&quot; &quot;0&quot;,but Bob cannot </span></div><div><span style="white-space:pre-wrap">receive a Notify message of presence.winfo.</span></div>
<div><span style="white-space:pre-wrap">Is this my configuration problem?</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">My configuraton of opensips is:</span></div>
<div><span style="white-space:pre-wrap">loadmodule &quot;xcap.so&quot;</span></div><div><span style="white-space:pre-wrap">modparam(&quot;xcap&quot;, &quot;db_url&quot;,&quot;mysql://<a href="http://opensips:opensipsrw@127.0.0.1/opensips">opensips:opensipsrw@127.0.0.1/opensips</a>&quot;)</span></div>
<div><span style="white-space:pre-wrap">modparam(&quot;xcap&quot;, &quot;integrated_xcap_server&quot;, 1)</span></div><div><span style="white-space:pre-wrap">modparam(&quot;xcap&quot;, &quot;xcap_table&quot;, &quot;xcap&quot;)</span></div>
<div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">#### PRESENCE modulesd</span></div><div><span style="white-space:pre-wrap">loadmodule &quot;presence.so&quot;</span></div><div>
<span style="white-space:pre-wrap">modparam(&quot;presence&quot;, &quot;db_url&quot;,&quot;mysql://<a href="http://opensips:opensipsrw@127.0.0.1/opensips">opensips:opensipsrw@127.0.0.1/opensips</a>&quot;) </span></div><div>
<span style="white-space:pre-wrap">modparam(&quot;presence&quot;, &quot;server_address&quot;, &quot;sip:<a href="http://127.0.0.1:5060">127.0.0.1:5060</a>&quot;)</span></div><div><span style="white-space:pre-wrap"><br></span></div>
<div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">loadmodule &quot;presence_xml.so&quot;</span></div><div><span style="white-space:pre-wrap">## TODO: research the source to confirm these settings.</span></div>
<div><span style="white-space:pre-wrap">modparam(&quot;presence_xml&quot;, &quot;force_active&quot;, 0)</span></div><div><span style="white-space:pre-wrap">modparam(&quot;presence_xml&quot;, &quot;xcap_server&quot;, &quot;127.0.0.1&quot;)</span></div>
<div><span style="white-space:pre-wrap">##modparam(&quot;presence_xml&quot;, &quot;xcap_table&quot;, &quot;xcap&quot;)</span></div><div><span style="white-space:pre-wrap">##modparam(&quot;presence_xml&quot;, &quot;pidf_manipulation&quot;, 1)</span></div>
<div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">After digged a little,the watchers and active-watchers is not changed.</span></div><div><span style="white-space:pre-wrap">We try to adding a SUBSCRIBE action from Alice to Bob after put the xcap document,</span></div>
<div><span style="white-space:pre-wrap">and then Bob received the presence.winfo Notify message.</span></div><div><span style="white-space:pre-wrap">So which condition trigger the Notify message of presence.winfo in opensips?</span></div>
<div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Best Regard,</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">Frank.zheng</span></div>
</div>