[Serusers] pa module fails

Vaclav Kubart vaclav.kubart at iptel.org
Tue Mar 21 07:37:22 CET 2006


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