[SR-Users] db_url bug?

Klaus Darilion klaus.mailinglists at pernau.at
Tue May 21 08:44:13 CEST 2013



On 18.05.2013 22:26, Ján Hrnko wrote:
> Hi, I have a problem when using uri_db module. When I leave everything
> on default and not specify modparam "uri_db", "db_url", then it will not
> connect to the database. In the var/log/syslog I have seen that it tries
> to connect to database okmaialio instead of kamailio. Is it bug, or did
> I misconfig something? I left the kamctlrc file intact and everything to
> default... can you confirm this please?

This is a bug (copy paste error of default database URL).

http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=fdb6c8cbafec7849367f16f5dc56ffa20885bef4

It is fixed in 4.0 branch. So either check it out from git an recompile, 
or as a workaround always specify the db_url manually.

regards
Klaus



More information about the sr-users mailing list