<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Malgun Gothic";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Malgun Gothic";}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Times New Roman","serif";
        color:#17365D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:85.05pt 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple style='word-wrap: break-word;
-webkit-nbsp-mode: space;-webkit-line-break: after-white-space'>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'>Hi,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'>I am trying to
get an RLS server setup working and find the following issue.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'>Client sends
SUBSCRIBE with list URI. RLS expands the list URI to individual URIs.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'>Sends
individual subscribe to Presence Server (co-located)<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'>Presence server
responds with 202 or 200 response code.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'>I have an ngrep
on port 5060 and I can see NOTIFY being sent by the presence server.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'>Along with the
log<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'>Send_notify_request:
NOTIFY <client SIP URI> via <presence server URI> on behalf of
<contact URI> for event presence.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'>However, when
the contact presence status changes and is PUBLISHed, RLS does not NOTIFY the
client.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'>In the logs I
can see the error 0 dialogs found.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'>Please let me
know of any specific configuration required to make this work.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'>Regards<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'>Sanjeev<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;color:#17365D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> users-bounces@lists.opensips.org
[mailto:users-bounces@lists.opensips.org] <b>On Behalf Of </b>Adrian Georgescu<br>
<b>Sent:</b> Wednesday, October 21, 2009 8:59 PM<br>
<b>To:</b> OpenSIPS users mailling list<br>
<b>Subject:</b> Re: [OpenSIPS-Users] RLS Services: subscription expanded to 0 contacts.<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>There are two major issues related to the implementing of
such feature:<o:p></o:p></p>
<div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=MsoNormal>1. You expose your server to information provisioned in a
remote system<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>2. OpenSIPS child may block waiting for the response from
the remote XCAP server<o:p></o:p></p>
<div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";
color:black'>So though this feature is well defined in the standards, it can
introduce a lot of problems for the operator that implements it. <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";
color:black'><o:p> </o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";
color:black'>--<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";
color:black'>Adrian<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";
color:black'><o:p> </o:p></span></p>
</div>
</div>
<p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";
color:black'><o:p> </o:p></span></p>
</div>
<p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";
color:black'><br>
<br>
</span><o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<div>
<p class=MsoNormal>On Oct 21, 2009, at 10:55 AM, Sanjeev BA wrote:<o:p></o:p></p>
</div>
<p class=MsoNormal><br>
<br>
<o:p></o:p></p>
<div>
<div>
<div>
<p class=MsoNormal><span style='color:#262626'>Hi,</span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='color:#262626'>I am facing the issue posted
previously.</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='color:#262626'> </span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p></o:p></span></p>
</div>
<pre><span style='color:black'>It is very clear what happens. Your rls-services document looks like this:<o:p></o:p></span></pre><pre><span
style='color:black'><rls-services xmlns:rl="<a
href="urn:ietf:params:xml:ns:resource-lists">urn:ietf:params:xml:ns:resource-lists</a>" <o:p></o:p></span></pre><pre><span
style='color:black'>xmlns="<a href="urn:ietf:params:xml:ns:rls-services">urn:ietf:params:xml:ns:rls-services</a>"><o:p></o:p></span></pre><pre><span
style='color:black'> <service uri="sip:<a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">alice at net1.test</a>;pres-list=Default"><o:p></o:p></span></pre><pre><span
style='color:black'> <o:p></o:p></span></pre><pre><span
style='color:black'><resource-list><a
href="http://xcap.net1.test/xcap-root/resource-lists/users/sip%3aalice%40net1.test/index/~~/resource-lists/list%5b@name=%22Default%22%5d%3c/resource-list">http://xcap.net1.test/xcap-root/resource-lists/users/sip%3aalice%40net1.test/index/~~/resource-lists/list%5b@name=%22Default%22%5d</resource-list</a>><o:p></o:p></span></pre><pre><span
style='color:black'> <packages><o:p></o:p></span></pre><pre><span
style='color:black'> <package>presence</package><o:p></o:p></span></pre><pre><span
style='color:black'> </packages><o:p></o:p></span></pre><pre><span
style='color:black'> </service><o:p></o:p></span></pre><pre><span
style='color:black'></rls-services>]<o:p></o:p></span></pre><pre><span
style='color:black'> <o:p></o:p></span></pre><pre><span style='color:black'>It has a reference to a resouce-list document where the list is actually <o:p></o:p></span></pre><pre><span
style='color:black'>defined. Unfortunately opensips does not have support for this. It only <o:p></o:p></span></pre><pre><span
style='color:black'>works with the list being defined inside the rls-services document. This <o:p></o:p></span></pre><pre><span
style='color:black'>is on the list of improvements and will be included until the next major <o:p></o:p></span></pre><pre><span
style='color:black'>release.<o:p></o:p></span></pre><pre><span
style='color:black'> <o:p></o:p></span></pre>
<div>
<p class=MsoNormal><span style='color:#262626'>I am using OpenSIPS 1.5. Is it
addressed in the release or do I need to upgrade to 1.6?</span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='color:#262626'> </span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='color:#262626'>Regards,</span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='color:#262626'>Sanjeev</span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='color:#262626'> </span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='color:#262626'> </span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";
color:black'>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>