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

zhengyumingnanjing zhengyumingnanjing at gmail.com
Fri Mar 1 04:40:07 CET 2013


So,you mean OMA mode must be used with openxcap and opensips to receive the presence.winfo message.
Is it possible when I just use the IETF mode?
Or may I modify some code to implememt this feature due to I have only IETF implementaion now.

BR,


2013-03-01 



zhengyumingnanjing 



发件人: Sa鷏_Ibarra_Corretg 
发送时间: 2013-02-28  17:23:58 
收件人: OpenSIPS users mailling list 
抄送: 
主题: Re: [OpenSIPS-Users] The NOTIFY message of presence.winfo is notsent from opensips. 
 
Hi,
On Feb 28, 2013, at 1:56 AM, Yuming Zheng wrote:
> 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@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?
> 
presence.winfo notifications are triggered when an active subscription changes authorization state. By active I mean a SUBSCRIBE was sent and a 2XX response was received. Since you modified resource-lists and, unless you are using the OMA mode, it has nothing to do with authorization, there is no presence.winfo event to be generated.
Regards,
--
Saúl Ibarra Corretgé
AG Projects
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130301/f11615dc/attachment.htm>


More information about the Users mailing list