[Serusers] pa module fails

Vaclav Kubart vaclav.kubart at iptel.org
Mon Apr 10 08:39:16 CEST 2006


I made a snapshot silently (it is on the
ftp://ftp.iptel.org/pub/ser/presence/) because I'm going to do more
changes there this week (configuration will differ and people always try
their old config file and complain if it doesn't work).

There are some new things: 
 - authorization of MESSAGEs (not standardized),
 - storing watchers when presentity is offline and sending them in
   watcherinfo after presentity subscribes to it
 - separated XCAP queries from handle_rls_susbcription function
 - added function for test if presentity is online
 - RLS module is able to subscribe to external users
 - more stable PA and RLS modules and a bit optimized
 - updated presence handbook

Will be in next snapshot:
 - separated XCAP queries into standalone xcap module (libraries and PA
   and RLS modules will be independent on libcurl) ... done on CVS yet
 - PA module will be able to subscribe to users (for clients unable to
   send PUBLISH)

	Vaclav

On Fri, Apr 07, 2006 at 09:53:23PM -0300, Guty wrote:
> 
> Hi, do you have any news about new presence snapshot?
> Is there anything new?
> Saludos,
> Gustavo.
> 
> 
> -----Mensaje original-----
> De: Vaclav Kubart [mailto:vaclav.kubart at iptel.org] 
> Enviado el: martes, 21 de marzo de 2006 12:08
> Para: Guty
> CC: serusers at lists.iptel.org
> Asunto: Re: [Serusers] pa module fails
> 
> I think, that presence modules are only in source version - there are
> not debian packages with them (the best is CVS head). Please wait
> shortly for new presence snapshot...
> 	Vaclav
> 	
> On Tue, Mar 21, 2006 at 11:52:34AM -0300, Guty wrote:
> > I'm using ser 0.9.6. First I try with the stable version of all packages,
> > didn't work, then I downloaded different versions of pa module, unstable,
> > testing, sarge... but the error is still the same.
> > Do you know any configuration that work with presence?
> > 
> > 
> > -----Mensaje original-----
> > De: Vaclav Kubart [mailto:vaclav.kubart at iptel.org] 
> > Enviado el: martes, 21 de marzo de 2006 3:37
> > Para: Guty
> > CC: serusers at lists.iptel.org
> > Asunto: Re: [Serusers] pa module fails
> > 
> > You probably use old ser version. Don't you? I think, that presence
> > modules in stable ser versions were always old.
> > 	Vaclav
> > 	
> > On Mon, Mar 20, 2006 at 12:23:30PM -0300, Guty wrote:
> > > Hi,
> > > 
> > > I've configured my Ser for presence handling, but i get some error son
> my
> > > ser.cfg file:
> > > 
> > >  
> > > 
> > >  0(1761) set_mod_param_regex: pa matches module pa
> > > 
> > >  0(1761) set_mod_param_regex: parameter <auth> not found in module <pa>
> > > 
> > >  0(1761) parse error (75,20-21): Can't set module parameter
> > > 
> > >  0(1761) set_mod_param_regex: pa matches module pa
> > > 
> > >  0(1761) set_mod_param_regex: parameter <winfo_auth> not found in module
> > > <pa>
> > > 
> > >  0(1761) parse error (76,20-21): Can't set module parameter 
> > > 
> > >  
> > > 
> > > My file includes the following:
> > > 
> > >  
> > > 
> > > loadmodule "/usr/lib/ser/modules/pa.so"
> > > 
> > >  
> > > 
> > >
> >
> ----------------------------------------------------------------------------
> > > ----------------------
> > > 
> > >  
> > > 
> > > # -- pa params --
> > > 
> > > modparam("pa", "use_db", 1)
> > > 
> > > modparam("pa", "db_url", "mysql://ser:heslo@localhost:3306/ser")
> > > 
> > > modparam("pa", "auth", "none")
> > > 
> > > modparam("pa", "winfo_auth", "none")
> > > 
> > >  
> > > 
> > >
> >
> ----------------------------------------------------------------------------
> > > ----------------------
> > > 
> > >  
> > > 
> > >         if (method=="SUBSCRIBE") {
> > > 
> > >                 if (!t_newtran()) {
> > > 
> > >                         sl_reply_error();
> > > 
> > >                 };
> > > 
> > >                 log(1, "Handle Subscribe");
> > > 
> > >                 handle_subscription("registrar"); # uses uid from AVP
> > > 
> > > (get_to_uid)
> > > 
> > >                 break;
> > > 
> > >         };
> > > 
> > >  
> > > 
> > >         if (method=="PUBLISH") {
> > > 
> > >                 if (!t_newtran()) {
> > > 
> > >                    log(1, "newtran error\n");
> > > 
> > >                    sl_reply_error();
> > > 
> > >                 };
> > > 
> > >                 log(1, "Handle Publish");
> > > 
> > >                 handle_publish("registrar");
> > > 
> > >                 break;
> > > 
> > >         };
> > > 
> > > I've installed SER 0.9.6-0.1 for Debian , ser-mysql-module 0.9.6-0.1 for
> > > Debian, and ser-pa-module 0.9.6-0.1 for Debian
> > > 
> > > Any idea of what is going wrong?
> > > 
> > >  
> > > 
> > 
> > > _______________________________________________
> > > Serusers mailing list
> > > serusers at lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list