[Users] Mixing uri_db and auth_db

Edgar Barbosa edgar.barbosa at madetowork.com
Mon May 29 17:16:41 CEST 2006


Hi all,

I'm having a weird behaviour when mixing auth_db and uri_db.

With the following openser.cfg, the xlog("L_INFO", "TEST\n") is never
executed... seems that openser just hangs up...

If I remove the uri_db it works...
If I remove the auth_db it works too...
The problem seems to happen when I mix both...

Any idea of what may be wrong?
I'm using the latest version (openser 1.0.1).

Thanks




debug=3         # debug level (cmd line: -dddddddddd)
fork=yes
log_stderror=yes

reply_to_via=no
check_via=no    # (cmd. line: -v)
dns=no           # (cmd. line: -r)
rev_dns=no      # (cmd. line: -R)
port=5060
children=4
fifo="/tmp/ser_fifo"


loadmodule "/usr/lib/openser/modules/mysql.so"
loadmodule "/usr/lib/openser/modules/sl.so"
loadmodule "/usr/lib/openser/modules/auth.so"
loadmodule "/usr/lib/openser/modules/auth_db.so"
loadmodule "/usr/lib/openser/modules/uri_db.so"
loadmodule "/usr/lib/openser/modules/xlog.so"

modparam("uri_db", "db_url", "mysql://root@192.168.1.104/openser")
modparam("auth_db", "db_url", "mysql://root@192.168.1.104/openser")

route {

	xlog("L_INFO", "TEST\n");

}





More information about the Users mailing list