HI,
I seem to have a problem getting this going. Attached is my ser.cfg.
You'll see that (I think) that it's ok, but when it comes to database
connection time, things fail. See following debug,
1(31403) DEBUG: init_mod_child (1): tm
1(31403) DEBUG: callid: '2fa76cff-31403(a)127.0.0.1'
1(31403) DEBUG: init_mod_child (1): usrloc
2(31404) DEBUG: init_mod_child (2): tm
2(31404) DEBUG: callid: '2fa76cff-31404(a)127.0.0.1'
2(31404) DEBUG: init_mod_child (2): usrloc
1(31403) DEBUG: init_mod_child (1): auth_db
3(31405) 1(31403) DEBUG: init_mod_child (1): group
1(31403) connect_db(): Can't connect to local MySQL server through
socket '/var/run/mysqld/mysqld.sock' (2)
1(31403) db_init(): Error while trying to connect database
1(31403) group:init_child(): Unable to connect database
1(31403) init_mod_child(): Error while initializing module group
1(31403) init_child failed
1(31403) INFO: signal 15 received
So it seems that although I've done
modparam("usrloc", "db_url",
"mysql://ser:heslo@192.168.191.16:3306/ser")
It still seems to think that the database is local?? (when it's not)
Strangely the other attached file ser.cfg.pabx seems to work ok..
Why is this? Am I doing something stupid? Or have I uncovered a bug?
jamie
--