<HTML >
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">

                                                                <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-16">
<META HTTP-EQUIV="EXPIRES" CONTENT="0">
<META HTTP-EQUIV="EXPIRESABSOLUTE" CONTENT="Tue, 01 Jun 1999 12:00:00 GMT">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="PRIVATE">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<TITLE></TITLE>

<META content="MSHTML 6.00.2900.2838" name=GENERATOR></HEAD>
                                                        <BODY >
                                                                <DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Hi,<BR><BR>Would that correction be a solution to my case 
?<BR>If so, which version should I try (CVS or snapshot) ?<BR>And what 
configuration is correct ?<BR><BR>Thanks,<BR>ilker<BR><BR>-----Original 
Message-----<BR>From: serusers-bounces@lists.iptel.org [<A 
href="mailto:serusers-bounces@lists.iptel.org">mailto:serusers-bounces@iptel.org</A>] 
On Behalf Of Vaclav Kubart<BR>Sent: Thursday, May 11, 2006 11:33 AM<BR>To: 
Miguel Freitas<BR>Cc: serusers@lists.iptel.org<BR>Subject: Re: [Serusers] SER and XCAP 
Server<BR><BR>I have corrected it on CVS and added new snapshot version 4.1 with 
this correction on ftp.iptel.org. It is not tested like normal snapshot, but it 
seems to be working for the first look.<BR><BR>The settings<BR>&nbsp; 
modparam("rls", "db_mode", 1)<BR>says that only resource list subscriptions 
(subscriptions to resource lists NOT subscriptions to standalone users) will be 
stored into database. If you want to store subscriptions to standalone users and 
published information you have to set<BR>&nbsp; modparam("pa", "use_db", 
1)<BR><BR>[more information about module parameters you can read in presence 
handbook in description of PA and RLS 
module]<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Vaclav<BR><BR>On Wed, 
May 10, 2006 at 06:13:06PM +0100, Miguel Freitas wrote:<BR>&gt; just glad of 
being useful<BR>&gt;<BR>&gt; Thanks for your feedback!<BR>&gt;<BR>&gt; One last 
question: subscriptions are stored on the SER DB?<BR>&gt; I have 
&lt;modparam("rls", "db_mode", 1)&gt; on the config file<BR>&gt;<BR>&gt; 
Miguel<BR>&gt;<BR>&gt;<BR>&gt; On 5/10/06, Vaclav Kubart 
&lt;vaclav.kubart@iptel.org&gt; wrote:<BR>&gt; &gt;<BR>&gt; &gt;&gt;<BR>&gt; 
&gt;&gt;<BR>&gt; &gt;&gt; I was missing line<BR>&gt; 
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; lookup_user("To");<BR>&gt; &gt;<BR>&gt; &gt;It 
was missing in the presence handbook too - it will be corrected in<BR>&gt; 
&gt;next version.<BR>&gt; &gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Shouldn't the 
resource list of subscriptions be stored on the SER DB?<BR>&gt; &gt;&gt; Because 
I'm getting that Waning all the time and I can't find any<BR>&gt; &gt;&gt; entry 
related with subscriptions (table rls_subscription, ...)<BR>&gt; &gt;<BR>&gt; 
&gt;No DB is not problem there. I will correct it in CVS - this warning<BR>&gt; 
&gt;will not be displayed if parameter will be 
"0".<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; &gt;I have captured SIP and HTTP 
packets with Ethereal, sending file..<BR>&gt; &gt;&gt; (It doesn't include 
packets changed between SER and apache because<BR>&gt; &gt;&gt; they<BR>&gt; 
&gt;are<BR>&gt; &gt;&gt; on the same machine and I don't have access to it right 
now) SER<BR>&gt; &gt;&gt; and apache on 193.136.93.140 SIP domain = 
itav140.av.it.pt eyeBeam<BR>&gt; &gt;&gt; &lt;sip:4004@193.136.93.252&gt; and 
&lt;sip:4002@193.136.92.68 &gt; After<BR>&gt; &gt;&gt; register, client 
&lt;sip:4002@193.136.92.68 &lt;sip:4002@193.136.92.68&gt;&gt;<BR>&gt; &gt;&gt; 
changes his status to Away (packet 53) &lt;sip:4004&gt; receives the new<BR>&gt; 
&gt;&gt; presence status of &lt;sip:4002&gt; (packet 55 and<BR>&gt; 
&gt;75)<BR>&gt; &gt;&gt; But when &lt;sip:4002&gt; renew his PUBLISH (packet 79) 
he doesn't<BR>&gt; &gt;&gt; include a message body with his presence 
state.<BR>&gt; &gt;&gt; So, the subsequent NOTIFY received by &lt;sip:4004&gt; 
(packet 85)<BR>&gt; &gt;&gt; doesn't<BR>&gt; &gt;include<BR>&gt; &gt;&gt; the 
presence status Away any more, even thou &lt;sip:4002&gt; hasn't<BR>&gt; 
&gt;&gt; changed<BR>&gt; &gt;his<BR>&gt; &gt;&gt; status.<BR>&gt; &gt;&gt; After 
that, the client &lt;sip:4004&gt; shows &lt;sip:4002&gt; as Available,<BR>&gt; 
&gt;&gt; when he<BR>&gt; &gt;is<BR>&gt; &gt;&gt; Away.<BR>&gt; &gt;<BR>&gt; 
&gt;Bingo! You have found a bug in SER - thanks! I have read it in RFC<BR>&gt; 
&gt;now, and in the case of empty body needs the state be refreshed, not<BR>&gt; 
&gt;cleared as was done. I will correct it soon.<BR>&gt; &gt;<BR>&gt; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Vaclav<BR>&gt; &gt;<BR>&gt; 
&gt;<BR><BR>_______________________________________________<BR>Serusers mailing 
list<BR>serusers@lists.iptel.org<BR><A 
href="http://lists.iptel.org/mailman/listinfo/serusers">http://mail.iptel.org/mailman/listinfo/serusers</A><BR></FONT></P>
<!--445D5241795C-->
<br><br><a href="http://387555.sigclick.mailinfo.com/sigclick/000C0601/04034E04/05044D06/13414162.jpg"><img src="http://387555.signature1.mailinfo.com/confirm2.6/000C0601/04034E04/05044D06/13414162.jpg" border="0" nosend="1"></a><!--445D5241795C//--></DIV>
                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">
                                                                        <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">_____________________________________________________________________________________________________________________________________________</DIV>
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa,&nbsp; icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz&nbsp; ve&nbsp; tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.&nbsp; Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez. </DIV>
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential&nbsp; information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however,&nbsp; sender&nbsp; cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.</DIV>
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">_____________________________________________________________________________________________________________________________________________</DIV>
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana" ALIGN="justify">
</DIV>
</DIV>
</DIV></BODY></HTML>