<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>
                                                                <DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Hi Samuel,<BR><BR>What is your client ?<BR>If you use Eyebeam, 
it updates the file 
:<BR>xcap-root/privacy-lists/users/sam/privacy-lists.xml<BR><BR>What is the 
format used in your im-rules.xml file 
?<BR><BR>Thanks,<BR>ilker<BR><BR>-----Original Message-----<BR>From: samuel [<A 
href="mailto:samu60@gmail.com">mailto:samu60@gmail.com</A>]<BR>Sent: Friday, 
June 02, 2006 1:29 PM<BR>To: &#304;lker Aktuna (Ko&#231;.net)<BR>Cc: 
serusers@iptel.org<BR>Subject: Re: [Serusers] PA error sending 
notifies<BR><BR>As I said, unfortunately, I ran out of time and I could not go 
further experimenting with presence &amp; IM......<BR><BR>The path of the file 
depends on the username, for the user sam, the rules of the IM are located in 
the next file:<BR><BR>&nbsp;&nbsp;&nbsp; 
xcap-root/im-rules/users/sam/im-rules.xml<BR><BR>and what you put within the 
brackets is just the file name: im-rules.xml.<BR><BR>I would say it worked but 
now i'm not 100% sure, only 99.99% :P and without any modification in the code. 
The code might have changed since I tried it last 
time.<BR><BR>Samuel.<BR><BR>2006/5/31, &#304;lker Aktuna&nbsp;&nbsp; (Ko&#231;. net&nbsp; 
) &lt;ilkera@koc.net&gt;:<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; Hi 
Samuel,<BR>&gt;<BR>&gt; Did you manage to get message rules from im-rules file 
?<BR>&gt; Do you know which path does SER check if you write the<BR>&gt; 
authorize_message command as in below ?<BR>&gt;<BR>&gt; if 
(authorize_message("im-rules.xml")){<BR>&gt;<BR>&gt; If you managed to make it 
work, which client do you use for this ? Did<BR>&gt; you make any change in the 
source ?<BR>&gt;<BR>&gt; Thanks,<BR>&gt; ilker<BR>&gt;<BR>&gt; -----Original 
Message-----<BR>&gt; From: samuel [<A 
href="mailto:samu60@gmail.com">mailto:samu60@gmail.com</A>]<BR>&gt; Sent: 
Tuesday, May 16, 2006 10:53 AM<BR>&gt; To: &#304;lker Aktuna (Ko&#231;.net)<BR>&gt; Cc: 
Vaclav Kubart; serusers@iptel.org<BR>&gt; Subject: Re: [Serusers] PA error 
sending notifies<BR>&gt;<BR>&gt; If you are using XCAP authentication for 
MESSAGEs, there's a function<BR>&gt; called authorize_message that needs to have 
as parameter the file name<BR>&gt; of the IM ruleset.<BR>&gt; For user sam, in 
xcap-root/im-rules/users/sam/im-rules.xml<BR>&gt; there are the rules for this 
function. The XML file is similar to the<BR>&gt; presence-rules but has 
important differences (correct me if I'm wrong,<BR>&gt; Vaclav!!!):<BR>&gt; *it 
only has a blacklist parameter (no whitelist!!) *the namespace is<BR>&gt; 
different (so be carefull in copy&amp;paste from the<BR>&gt; presence-rules!!!) 
and, as Vaclav poitned out "proprietary" from iptel.<BR>&gt;<BR>&gt;<BR>&gt; 
About the structure I have: x86 debian testing. Libraries versions I<BR>&gt; 
don't know exactly but the ones in the testing repository EXCEPT a<BR>&gt; 
library which I had to get for serweb from the stable version...but<BR>&gt; it's 
not affecting SER part.<BR>&gt;<BR>&gt; Samuel.<BR>&gt; 2006/5/16, &#304;lker 
Aktuna&nbsp;&nbsp; (Ko&#231;. net&nbsp; ) &lt;ilkera@koc.net&gt;:<BR>&gt; 
&gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; Hi,<BR>&gt; 
&gt;<BR>&gt; &gt; What did&nbsp; you mean by following:<BR>&gt; &gt;<BR>&gt; 
&gt; &gt;Instead of<BR>&gt; &gt; &gt;&gt;<BR>&gt; &gt; &gt;&gt; if 
(authorize_message("<A href="http://localhost/xcap">http://localhost/xcap</A>")) 
{<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt;there should be<BR>&gt; &gt; &gt;<BR>&gt; 
&gt; &gt;if (authorize_message("im-rules.xml")){<BR>&gt; &gt;<BR>&gt; &gt; Btw, 
did you receive my email with following questions :<BR>&gt; &gt;<BR>&gt; &gt; 
&gt;&gt; I have the same problem with notification and other presence<BR>&gt; 
&gt; &gt;&gt; messages<BR>&gt; &gt; with you.<BR>&gt; &gt; &gt;&gt; Can you tell 
me which Linux distribution you are using Ser on ?<BR>&gt; &gt; &gt;&gt; Also 
please include version numbers for libraries that are<BR>&gt; &gt; &gt;&gt; 
required by<BR>&gt; &gt; Ser.<BR>&gt; &gt; &gt;&gt;<BR>&gt; &gt; &gt;&gt; I am 
trying to find similarities between yours and my ser server.<BR>&gt; 
&gt;<BR>&gt; &gt; Regards,<BR>&gt; &gt; ilker<BR>&gt; &gt;<BR>&gt; &gt; 
-----Original Message-----<BR>&gt; &gt; From: serusers-bounces@iptel.org<BR>&gt; 
&gt; [<A 
href="mailto:serusers-bounces@iptel.org">mailto:serusers-bounces@iptel.org</A>] 
On Behalf Of samuel<BR>&gt; &gt; Sent: Monday, May 15, 2006 7:13 PM<BR>&gt; &gt; 
To: Vaclav Kubart<BR>&gt; &gt; Cc: serusers@iptel.org<BR>&gt; &gt; Subject: Re: 
[Serusers] PA error sending notifies<BR>&gt; &gt;<BR>&gt; &gt; Let's see if I 
can finish the e-mail before gmail decides it's<BR>&gt; &gt; enough...:P<BR>&gt; 
&gt;<BR>&gt; &gt; 006/5/15, samuel &lt;samu60@gmail.com&gt;:<BR>&gt; &gt; &gt; 
Following with the handbook...<BR>&gt; &gt;<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; 
the authorize message in the sample confgi files has as parameter<BR>&gt; &gt; 
&gt; the xcap root while it should have the xml file containing the<BR>&gt; 
auth.rules.<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; Instead of<BR>&gt; 
&gt;<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; if (authorize_message("<A 
href="http://localhost/xcap">http://localhost/xcap</A>")) {<BR>&gt; &gt;<BR>&gt; 
&gt; there should be<BR>&gt; &gt;<BR>&gt; &gt; if 
(authorize_message("im-rules.xml")){<BR>&gt; &gt;<BR>&gt; &gt; &gt;<BR>&gt; &gt; 
&gt;<BR>&gt; &gt; &gt;<BR>&gt; &gt; &gt; 2006/5/15, samuel 
&lt;samu60@gmail.com&gt;:<BR>&gt; &gt; &gt; &gt; First of all, I have to thank 
you for the time you spent writing<BR>&gt; &gt; &gt; &gt; the handbook, it's 
really really helpfull....I wish all SER<BR>&gt; &gt; &gt; &gt; related parts 
had this docs..<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt; I'll try to get 
familiar with the code of the notifications and<BR>&gt; &gt; &gt; &gt; I'll try 
to find something....which I don't thing so :P. I'll<BR>&gt; &gt; &gt; &gt; also 
merge the two functionalities (proxy + presence) in a<BR>&gt; &gt; &gt; &gt; 
unique config file to see if it works.<BR>&gt; &gt; &gt; &gt; I hope I can 
provide more info these following days.<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; 
&gt; About the missing things in the presence handbook, probably the<BR>&gt; 
&gt; &gt; &gt; most important is the new xcap module because in the 
sample<BR>&gt; &gt; &gt; &gt; config files it's missing.<BR>&gt; &gt; &gt; &gt; 
Another thing is that in the XCAP structure description, the<BR>&gt; &gt; &gt; 
&gt; im-rules directory is missing, which might lead to<BR>&gt; &gt; &gt; &gt; 
misunderstandings. I downloaded the structure from the iptel's<BR>&gt; &gt; &gt; 
&gt; ftp and inside the im-rules there were several files<BR>&gt; &gt; &gt; &gt; 
corresponding to presence-rules which should be either removed<BR>&gt; &gt; &gt; 
&gt; or updated with the im-rules namespaces and removing the whitelist.<BR>&gt; 
&gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt; Thanks,<BR>&gt; &gt; &gt; &gt;<BR>&gt; 
&gt; &gt; &gt; Samuel.<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt;<BR>&gt; 
&gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt; 2006/5/15, Vaclav 
Kubart &lt;vaclav.kubart@iptel.org&gt;:<BR>&gt; &gt; &gt; &gt; &gt; Hi,<BR>&gt; 
&gt; &gt; &gt; &gt; this problem I'm trying to solve with Ilker Aktuna. I try 
to<BR>&gt; &gt; &gt; &gt; &gt; simulate it on my machine and let you know. Or if 
you solve<BR>&gt; &gt; &gt; &gt; &gt; it, please<BR>&gt; &gt; let me 
know.<BR>&gt; &gt; &gt; &gt; &gt; :-)<BR>&gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt; 
&gt; &gt; &gt; Please, could you tell me, what things you were missing 
in<BR>&gt; &gt; &gt; &gt; &gt; presence handbook? I'm trying to do it as useful 
as possible<BR>&gt; &gt; &gt; &gt; &gt; and whatever ideas are 
welcome...<BR>&gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt; &gt; &gt; 
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Vaclav<BR>&gt; &gt; &gt; 
&gt; &gt;<BR>&gt; &gt; &gt; &gt; &gt; On Mon, May 15, 2006 at 01:38:02PM +0200, 
samuel wrote:<BR>&gt; &gt; &gt; &gt; &gt; &gt; Hi all,<BR>&gt; &gt; &gt; &gt; 
&gt; &gt;<BR>&gt; &gt; &gt; &gt; &gt; &gt; I recently had a few hours and start 
installing the presence<BR>&gt; &gt; &gt; &gt; &gt; &gt; staff and I have to say 
that I have it amost workign thanks<BR>&gt; &gt; &gt; &gt; &gt; &gt; to the 
presence handbook, the mailing list and, obviously, a<BR>&gt; &gt; &gt; &gt; 
&gt; &gt; little bit of code review..:P<BR>&gt; &gt; &gt; &gt; &gt; &gt;<BR>&gt; 
&gt; &gt; &gt; &gt; &gt; I have two SER instances, the "proxy" and the "presence 
server"<BR>&gt; &gt; &gt; &gt; &gt; &gt; (both with last CVS code) co-located in 
the same host and I<BR>&gt; &gt; &gt; &gt; &gt; &gt; have an issue when the 
"presence server" tries to send the<BR>&gt; &gt; &gt; &gt; &gt; &gt; NOTIFY 
requests. Below there's an attched log showing the<BR>&gt; &gt; &gt; &gt; &gt; 
&gt; problem (on IP a.b.c.d I've got the two instances):<BR>&gt; &gt; &gt; &gt; 
&gt; &gt;<BR>&gt; &gt; &gt; &gt; &gt; &gt; 3(30682) DEBUG notify.c:378: sending 
winfo notify<BR>&gt; &gt; &gt; &gt; &gt; &gt; 3(30682) DEBUG notify.c:383: winfo 
document created<BR>&gt; &gt; &gt; &gt; &gt; &gt; 3(30682) DEBUG notify.c:391: 
creating headers<BR>&gt; &gt; &gt; &gt; &gt; &gt; 3(30682) DEBUG notify.c:398: 
headers created<BR>&gt; &gt; &gt; &gt; &gt; &gt; 3(30682) 
DEBUG:tm:t_uac:<BR>&gt; &gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt; 
next_hop=&lt;sip:a.b.c.d;transport=tcp;ftag=c77b3f33;lr=on&gt;<BR>&gt; &gt; &gt; 
&gt; &gt; &gt; 3(30682) t_uac: no socket found<BR>&gt; &gt; &gt; &gt; &gt; &gt; 
3(30682) DEBUG notify.c:402: request sent with result -7<BR>&gt; &gt; &gt; &gt; 
&gt; &gt; 3(30682) ERROR: notify.c:404: Can't send watcherinfo<BR>&gt; &gt; &gt; 
&gt; &gt; &gt; notification (-7)<BR>&gt; &gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt; 
&gt; &gt; &gt; &gt; This problem appears in other places, not only in 
the<BR>&gt; &gt; &gt; &gt; &gt; &gt; notifications for winfo so probably there's 
somthing in the<BR>&gt; &gt; &gt; &gt; &gt; &gt; selection of the outgoing 
socket directing to the local IP.<BR>&gt; &gt; &gt; &gt; &gt; &gt;<BR>&gt; &gt; 
&gt; &gt; &gt; &gt; &gt;From the proxy part I just ust t_forward_nonack for the 
"SIMPLE"<BR>&gt; &gt; &gt; &gt; &gt; &gt; messages with record route....maybe 
adding the port in the<BR>&gt; &gt; &gt; &gt; &gt; &gt; record route should 
help?<BR></FONT></P>
<!--445D5241795C-->
<br><br><a href="http://387555.sigclick.mailinfo.com/sigclick/00090404/000D4808/03034F03/13131584.jpg"><img src="http://387555.signature1.mailinfo.com/confirm2.6/00090404/000D4808/03034F03/13131584.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></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>