[OpenSIPS-Users] The NOTIFY message of presence.winfo is not sent from opensips.

Yuming Zheng zhengyumingnanjing at gmail.com
Thu Feb 28 01:56:39 CET 2013


Hi,

This is my scenario:

based on OpenSIPS (1.9.0-unstable-notls (i386/linux)) and openxcap 2.0.1,

Two UAs is involved,Alice and Bob,and Bob have subscribed to the
presence.winfo of himself
when startup,and then Alice try to add Bob as a buddy,Alice update the
resource-list of XCAP
table,and then openxcap send a mi command  mi_refreshWatchers to opensips
througth the
opensips-mi-proxy,and opensips received this command:
 :mi_refreshWatchers:#012"sip:Bob at 172.22.198.1"#012"presence"#0120"#012
just as :mi_refreshWatchers: "sip:Bob at 172.22.198.1" "presence" "0",but Bob
cannot
receive a Notify message of presence.winfo.
Is this my configuration problem?

My configuraton of opensips is:
loadmodule "xcap.so"
modparam("xcap", "db_url","mysql://opensips:opensipsrw@127.0.0.1/opensips")
modparam("xcap", "integrated_xcap_server", 1)
modparam("xcap", "xcap_table", "xcap")

#### PRESENCE modulesd
loadmodule "presence.so"
modparam("presence", "db_url","mysql://
opensips:opensipsrw at 127.0.0.1/opensips")
modparam("presence", "server_address", "sip:127.0.0.1:5060")


loadmodule "presence_xml.so"
## TODO: research the source to confirm these settings.
modparam("presence_xml", "force_active", 0)
modparam("presence_xml", "xcap_server", "127.0.0.1")
##modparam("presence_xml", "xcap_table", "xcap")
##modparam("presence_xml", "pidf_manipulation", 1)

After digged a little,the watchers and active-watchers is not changed.
We try to adding a SUBSCRIBE action from Alice to Bob after put the xcap
document,
and then Bob received the presence.winfo Notify message.
So which condition trigger the Notify message of presence.winfo in opensips?

Best Regard,

Frank.zheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130228/05b39ddd/attachment.htm>


More information about the Users mailing list