Hello Everyone,
Thank you for help, fixed by adding to dialog module parameters.
modparam("dialog", "db_url", DBURL)
Slava.
From: "Carsten Bock"
To: "sr-users"
Sent: Sunday, January 25, 2015 8:36:52 AM
Subject: Re: [SR-Users] remote mysq
Hi Slava,
is most modules a default database connection is defined. Probably
this is the case here.
As this error is coming from the dialog module: Did you configure some
sort of "db_mode"?
e.g.:
modparam("dialog", "db_mode", 1)
Thanks,
Carsten
2015-01-25 9:27 GMT+02:00 Slava Bendersky :
> Hello
Hello Everyone,
I am trying start kamailio 4.2 with remote mysql server and on debug I see
DEBUG: db_mysql [km_my_con.c:94]: db_mysql_new_connection(): opening
connection: mysql://:@localhost/kamailio
but in cfg defined actual mysql server ip and not localhost
0(28885) DEBUG: [sr_mo