<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"<a href="mailto:sip%3ABob@172.22.198.1">sip:Bob@172.22.198.1</a>"#012"presence"#0120"#012</span></div>
<div><span style="white-space:pre-wrap">just as :mi_refreshWatchers: "<a href="mailto:sip%3ABob@172.22.198.1">sip:Bob@172.22.198.1</a>" "presence" "0",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 "xcap.so"</span></div><div><span style="white-space:pre-wrap">modparam("xcap", "db_url","mysql://<a href="http://opensips:opensipsrw@127.0.0.1/opensips">opensips:opensipsrw@127.0.0.1/opensips</a>")</span></div>
<div><span style="white-space:pre-wrap">modparam("xcap", "integrated_xcap_server", 1)</span></div><div><span style="white-space:pre-wrap">modparam("xcap", "xcap_table", "xcap")</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 "presence.so"</span></div><div>
<span style="white-space:pre-wrap">modparam("presence", "db_url","mysql://<a href="http://opensips:opensipsrw@127.0.0.1/opensips">opensips:opensipsrw@127.0.0.1/opensips</a>") </span></div><div>
<span style="white-space:pre-wrap">modparam("presence", "server_address", "sip:<a href="http://127.0.0.1:5060">127.0.0.1:5060</a>")</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 "presence_xml.so"</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("presence_xml", "force_active", 0)</span></div><div><span style="white-space:pre-wrap">modparam("presence_xml", "xcap_server", "127.0.0.1")</span></div>
<div><span style="white-space:pre-wrap">##modparam("presence_xml", "xcap_table", "xcap")</span></div><div><span style="white-space:pre-wrap">##modparam("presence_xml", "pidf_manipulation", 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>