[Serusers] pa module fails

Guty queyeah at adinet.com.uy
Tue Mar 21 15:52:34 CET 2006


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