Maybe you should write:
modparam("uri_db", "db_url",
"mysql://ser:heslo@localhost/ser")
Regards
Asep Saifudin wrote:
Hi Alberto,
All necessari module I have include in ser.cfg.
loadmodule "/usr/local/lib/ser/modules/acc.so"
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
loadmodule "/usr/local/lib/ser/modules/avp.so"
loadmodule "/usr/local/lib/ser/modules/avp_db.so"
loadmodule "/usr/local/lib/ser/modules/avp_radius.so"
loadmodule "/usr/local/lib/ser/modules/avpops.so"
loadmodule "/usr/local/lib/ser/modules/check_ua.so"
loadmodule "/usr/local/lib/ser/modules/dispatcher.so"
loadmodule "/usr/local/lib/ser/modules/diversion.so"
loadmodule "/usr/local/lib/ser/modules/domain.so"
loadmodule "/usr/local/lib/ser/modules/exec.so"
loadmodule "/usr/local/lib/ser/modules/flatstore.so"
loadmodule "/usr/local/lib/ser/modules/gflags.so"
loadmodule "/usr/local/lib/ser/modules/group.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/mediaproxy.so"
loadmodule "/usr/local/lib/ser/modules/msilo.so"
loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/options.so"
loadmodule "/usr/local/lib/ser/modules/pa.so"
loadmodule "/usr/local/lib/ser/modules/print.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/speeddial.so"
loadmodule "/usr/local/lib/ser/modules/textops.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/uri.so"
loadmodule "/usr/local/lib/ser/modules/uri_db.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
~Asep
2006/7/13, Alberto Cruz <acruz(a)tekbrain.com <mailto:acruz@tekbrain.com>>:
Di you already include the following line before the uri params ?:
loadmodule "/usr/lib/ser/modules/uri_db.so"
Regards
Alberto Cruz
Asep Saifudin wrote:
Hi All,
I have problem with URI module. Here my uri parameter setting :
# -- uri params --
modparam("uri", "db_url",
"sql://ser:heslo@localhost/ser")
modparam("uri", "uri_table", "uri")
modparam("uri", "uri_user_column", "username")
modparam("uri", "uri_domain_column", "domain")
modparam("uri", "uri_uriuser_column", "uri_user")
modparam("uri", "subscriber_table", "subscriber")
modparam("uri", "subscriber_user_column", "username")
modparam("uri", "subscriber_domain_column", "domain")
And I got message error like these below :
linuxfedora5# ser -c
0(32960) set_mod_param_regex: parameter <db_url> not found in
module <uri>
0(32960) parse error (203,20-21): Can't set module parameter
0(32960) set_mod_param_regex: parameter <uri_table> not found in
module <uri>
0(32960) parse error (204,20-21): Can't set module parameter
0(32960) set_mod_param_regex: parameter <uri_user_column> not
found in module <uri>
0(32960) parse error (205,20-21): Can't set module parameter
0(32960) set_mod_param_regex: parameter <uri_domain_column> not
found in module <uri>
0(32960) parse error (206,20-21): Can't set module parameter
0(32960) set_mod_param_regex: parameter <uri_uriuser_column> not
found in module <uri>
0(32960) parse error (207,20-21): Can't set module parameter
0(32960) set_mod_param_regex: parameter <subscriber_table> not
found in module <uri>
0(32960) parse error (208,20-21): Can't set module parameter
0(32960) set_mod_param_regex: parameter <subscriber_user_column>
not found in module <uri>
0(32960) parse error (209,20-21): Can't set module parameter
0(32960) set_mod_param_regex: parameter
<subscriber_domain_column> not found in module <uri>
0(32960) parse error (210,20-21): Can't set module parameter
ERROR: bad config file (8 errors)
0(32960) CHECK_UA - destroing module
linuxfedora5#
Does anyone help me to solve this problem ?
Thanks,
Asep
------------------------------------------------------------------------
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org <mailto:Serusers@lists.iptel.org>
http://lists.iptel.org/mailman/listinfo/serusers