[Serusers] pa module fails

Guty queyeah at adinet.com.uy
Mon Mar 20 16:23:30 CET 2006


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?

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060320/e89e0018/attachment.htm>


More information about the sr-users mailing list