[Serusers] PA error sending notifies

İlker Aktuna (Koç.net) ilkera at koc.net
Tue May 16 10:28:53 CEST 2006


Hi again,

Forgive me as I don't understand as much as you about Ser configuration.
I still have questions:

Should I change the configuration as you described ( authorize_message("im-rules.xml") ) ?
I am using Eyebeam client; would that make a change for me ?
After those changes did you succeed in receiving the Xcap authorization message/notification ?

What else should I change ?

Should I use im-rules.xml ? Should I change something in Eyebeam client for using this file ?

You said you had merged two configs and now you don't get the same problem. How did you merge the configs ?
An example configuration would be very helpful to me, if you solved the issue.

Thanks,
ilker

-----Original Message-----
From: samuel [mailto:samu60 at gmail.com]
Sent: Tuesday, May 16, 2006 10:53 AM
To: İlker Aktuna (Koç.net)
Cc: Vaclav Kubart; serusers at lists.iptel.org
Subject: Re: [Serusers] PA error sending notifies

If you are using XCAP authentication for MESSAGEs, there's a function called authorize_message that needs to have as parameter the file name of the IM ruleset.
For user sam, in xcap-root/im-rules/users/sam/im-rules.xml there are the rules for this function. The XML file is similar to the presence-rules but has important differences (correct me if I'm wrong,
Vaclav!!!):
*it only has a blacklist parameter (no whitelist!!) *the namespace is different (so be carefull in copy&paste from the
presence-rules!!!) and, as Vaclav poitned out "proprietary" from iptel.


About the structure I have: x86 debian testing. Libraries versions I don't know exactly but the ones in the testing repository EXCEPT a library which I had to get for serweb from the stable version...but it's not affecting SER part.

Samuel.
2006/5/16, İlker Aktuna   (Koç. net  ) <ilkera at koc.net>:
>
>
>
>
> Hi,
>
> What did  you mean by following:
>
> >Instead of
> >>
> >> if (authorize_message("http://localhost/xcap")) {
> >
> >there should be
> >
> >if (authorize_message("im-rules.xml")){
>
> Btw, did you receive my email with following questions :
>
> >> I have the same problem with notification and other presence
> >> messages
> with you.
> >> Can you tell me which Linux distribution you are using Ser on ?
> >> Also please include version numbers for libraries that are required
> >> by
> Ser.
> >>
> >> I am trying to find similarities between yours and my ser server.
>
> Regards,
> ilker
>
> -----Original Message-----
> From: serusers-bounces at lists.iptel.org
> [mailto:serusers-bounces at lists.iptel.org] On Behalf Of samuel
> Sent: Monday, May 15, 2006 7:13 PM
> To: Vaclav Kubart
> Cc: serusers at lists.iptel.org
> Subject: Re: [Serusers] PA error sending notifies
>
> Let's see if I can finish the e-mail before gmail decides it's
> enough...:P
>
> 006/5/15, samuel <samu60 at gmail.com>:
> > Following with the handbook...
>
> >
> > the authorize message in the sample confgi files has as parameter
> > the xcap root while it should have the xml file containing the auth.rules.
>
>
> Instead of
>
> >
> > if (authorize_message("http://localhost/xcap")) {
>
> there should be
>
> if (authorize_message("im-rules.xml")){
>
> >
> >
> >
> > 2006/5/15, samuel <samu60 at gmail.com>:
> > > First of all, I have to thank you for the time you spent writing
> > > the handbook, it's really really helpfull....I wish all SER
> > > related parts had this docs..
> > >
> > > I'll try to get familiar with the code of the notifications and
> > > I'll try to find something....which I don't thing so :P. I'll also
> > > merge the two functionalities (proxy + presence) in a unique
> > > config file to see if it works.
> > > I hope I can provide more info these following days.
> > >
> > > About the missing things in the presence handbook, probably the
> > > most important is the new xcap module because in the sample config
> > > files it's missing.
> > > Another thing is that in the XCAP structure description, the
> > > im-rules directory is missing, which might lead to
> > > misunderstandings. I downloaded the structure from the iptel's ftp
> > > and inside the im-rules there were several files corresponding to
> > > presence-rules which should be either removed or updated with the
> > > im-rules namespaces and removing the whitelist.
> > >
> > > Thanks,
> > >
> > > Samuel.
> > >




 <http://387555.sigclick.mailinfo.com/sigclick/03090007/07044D07/02024B00/10172211.jpg>
_____________________________________________________________________________________________________________________________________________
Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa,  icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz  ve  tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.  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. 
This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential  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,  sender  cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
_____________________________________________________________________________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060516/4890f53b/attachment.htm>


More information about the sr-users mailing list