<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.6332" name=GENERATOR>
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana color=#000080 size=2>So,you mean OMA mode must be used 
with openxcap and opensips to receive the presence.winfo message.</FONT></DIV>
<DIV><FONT color=#000080>Is it possible when I just use the IETF 
mode?</FONT></DIV>
<DIV><FONT color=#000080>Or may I modify some code to implememt this feature due 
to I have only IETF implementaion now.</FONT></DIV>
<DIV><FONT color=#000080></FONT>&nbsp;</DIV>
<DIV><FONT color=#000080>BR,</FONT></DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2013-03-01 </FONT></DIV><FONT 
face=Verdana color=#000080 size=2>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>zhengyumingnanjing</SPAN> 
</FONT></DIV>
<HR color=#b5c4df SIZE=1>

<DIV><FONT face=Verdana size=2><STRONG>发件人:</STRONG> Sa鷏_Ibarra_Corretg 
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>发送时间:</STRONG> 2013-02-28&nbsp; 17:23:58 
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>收件人:</STRONG> OpenSIPS users mailling 
list </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>抄送:</STRONG> </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>主题:</STRONG> Re: [OpenSIPS-Users] The 
NOTIFY message of presence.winfo is notsent from opensips. </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>
<DIV>Hi,</DIV>
<DIV></DIV>
<DIV>On&nbsp;Feb&nbsp;28,&nbsp;2013,&nbsp;at&nbsp;1:56&nbsp;AM,&nbsp;Yuming&nbsp;Zheng&nbsp;wrote:</DIV>
<DIV></DIV>
<DIV>&gt;&nbsp;Hi,</DIV>
<DIV>&gt;&nbsp;</DIV>
<DIV>&gt;&nbsp;This&nbsp;is&nbsp;my&nbsp;scenario:</DIV>
<DIV>&gt;&nbsp;</DIV>
<DIV>&gt;&nbsp;</DIV>
<DIV>&gt;&nbsp;based&nbsp;on&nbsp;OpenSIPS&nbsp;(1.9.0-unstable-notls&nbsp;(i386/linux))&nbsp;and&nbsp;openxcap&nbsp;2.0.1,</DIV>
<DIV>&gt;&nbsp;</DIV>
<DIV>&gt;&nbsp;Two&nbsp;UAs&nbsp;is&nbsp;involved,Alice&nbsp;and&nbsp;Bob,and&nbsp;Bob&nbsp;have&nbsp;subscribed&nbsp;to&nbsp;the&nbsp;presence.winfo&nbsp;of&nbsp;himself&nbsp;</DIV>
<DIV>&gt;&nbsp;when&nbsp;startup,and&nbsp;then&nbsp;Alice&nbsp;try&nbsp;to&nbsp;add&nbsp;Bob&nbsp;as&nbsp;a&nbsp;buddy,Alice&nbsp;update&nbsp;the&nbsp;resource-list&nbsp;of&nbsp;XCAP</DIV>
<DIV>&gt;&nbsp;table,and&nbsp;then&nbsp;openxcap&nbsp;send&nbsp;a&nbsp;mi&nbsp;command&nbsp;&nbsp;mi_refreshWatchers&nbsp;to&nbsp;opensips&nbsp;througth&nbsp;the&nbsp;</DIV>
<DIV>&gt;&nbsp;opensips-mi-proxy,and&nbsp;opensips&nbsp;received&nbsp;this&nbsp;command:&nbsp;&nbsp;:mi_refreshWatchers:#012"sip:Bob@172.22.198.1"#012"presence"#0120"#012</DIV>
<DIV>&gt;&nbsp;just&nbsp;as&nbsp;:mi_refreshWatchers:&nbsp;"sip:Bob@172.22.198.1"&nbsp;"presence"&nbsp;"0",but&nbsp;Bob&nbsp;cannot&nbsp;</DIV>
<DIV>&gt;&nbsp;receive&nbsp;a&nbsp;Notify&nbsp;message&nbsp;of&nbsp;presence.winfo.</DIV>
<DIV>&gt;&nbsp;Is&nbsp;this&nbsp;my&nbsp;configuration&nbsp;problem?</DIV>
<DIV>&gt;&nbsp;</DIV>
<DIV>&gt;&nbsp;My&nbsp;configuraton&nbsp;of&nbsp;opensips&nbsp;is:</DIV>
<DIV>&gt;&nbsp;loadmodule&nbsp;"xcap.so"</DIV>
<DIV>&gt;&nbsp;modparam("xcap",&nbsp;"db_url","mysql://opensips:opensipsrw@127.0.0.1/opensips")</DIV>
<DIV>&gt;&nbsp;modparam("xcap",&nbsp;"integrated_xcap_server",&nbsp;1)</DIV>
<DIV>&gt;&nbsp;modparam("xcap",&nbsp;"xcap_table",&nbsp;"xcap")</DIV>
<DIV>&gt;&nbsp;</DIV>
<DIV>&gt;&nbsp;####&nbsp;PRESENCE&nbsp;modulesd</DIV>
<DIV>&gt;&nbsp;loadmodule&nbsp;"presence.so"</DIV>
<DIV>&gt;&nbsp;modparam("presence",&nbsp;"db_url","mysql://opensips:opensipsrw@127.0.0.1/opensips")&nbsp;</DIV>
<DIV>&gt;&nbsp;modparam("presence",&nbsp;"server_address",&nbsp;"sip:127.0.0.1:5060")</DIV>
<DIV>&gt;&nbsp;</DIV>
<DIV>&gt;&nbsp;</DIV>
<DIV>&gt;&nbsp;loadmodule&nbsp;"presence_xml.so"</DIV>
<DIV>&gt;&nbsp;##&nbsp;TODO:&nbsp;research&nbsp;the&nbsp;source&nbsp;to&nbsp;confirm&nbsp;these&nbsp;settings.</DIV>
<DIV>&gt;&nbsp;modparam("presence_xml",&nbsp;"force_active",&nbsp;0)</DIV>
<DIV>&gt;&nbsp;modparam("presence_xml",&nbsp;"xcap_server",&nbsp;"127.0.0.1")</DIV>
<DIV>&gt;&nbsp;##modparam("presence_xml",&nbsp;"xcap_table",&nbsp;"xcap")</DIV>
<DIV>&gt;&nbsp;##modparam("presence_xml",&nbsp;"pidf_manipulation",&nbsp;1)</DIV>
<DIV>&gt;&nbsp;</DIV>
<DIV>&gt;&nbsp;After&nbsp;digged&nbsp;a&nbsp;little,the&nbsp;watchers&nbsp;and&nbsp;active-watchers&nbsp;is&nbsp;not&nbsp;changed.</DIV>
<DIV>&gt;&nbsp;We&nbsp;try&nbsp;to&nbsp;adding&nbsp;a&nbsp;SUBSCRIBE&nbsp;action&nbsp;from&nbsp;Alice&nbsp;to&nbsp;Bob&nbsp;after&nbsp;put&nbsp;the&nbsp;xcap&nbsp;document,</DIV>
<DIV>&gt;&nbsp;and&nbsp;then&nbsp;Bob&nbsp;received&nbsp;the&nbsp;presence.winfo&nbsp;Notify&nbsp;message.</DIV>
<DIV>&gt;&nbsp;So&nbsp;which&nbsp;condition&nbsp;trigger&nbsp;the&nbsp;Notify&nbsp;message&nbsp;of&nbsp;presence.winfo&nbsp;in&nbsp;opensips?</DIV>
<DIV>&gt;&nbsp;</DIV>
<DIV></DIV>
<DIV>presence.winfo&nbsp;notifications&nbsp;are&nbsp;triggered&nbsp;when&nbsp;an&nbsp;active&nbsp;subscription&nbsp;changes&nbsp;authorization&nbsp;state.&nbsp;By&nbsp;active&nbsp;I&nbsp;mean&nbsp;a&nbsp;SUBSCRIBE&nbsp;was&nbsp;sent&nbsp;and&nbsp;a&nbsp;2XX&nbsp;response&nbsp;was&nbsp;received.&nbsp;Since&nbsp;you&nbsp;modified&nbsp;resource-lists&nbsp;and,&nbsp;unless&nbsp;you&nbsp;are&nbsp;using&nbsp;the&nbsp;OMA&nbsp;mode,&nbsp;it&nbsp;has&nbsp;nothing&nbsp;to&nbsp;do&nbsp;with&nbsp;authorization,&nbsp;there&nbsp;is&nbsp;no&nbsp;presence.winfo&nbsp;event&nbsp;to&nbsp;be&nbsp;generated.</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>Regards,</DIV>
<DIV></DIV>
<DIV>--</DIV>
<DIV>Saúl&nbsp;Ibarra&nbsp;Corretgé</DIV>
<DIV>AG&nbsp;Projects</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>_______________________________________________</DIV>
<DIV>Users&nbsp;mailing&nbsp;list</DIV>
<DIV>Users@lists.opensips.org</DIV>
<DIV>http://lists.opensips.org/cgi-bin/mailman/listinfo/users</DIV></FONT></DIV></BODY></HTML>