I'm setting up a new system here, same as all my other ones, this one is the latest version 1.6.1 checked out today. The config is basically just the default config, I haven't changed much, just deleted presence related stuff, and uncommented db support for aliases and domains, same as all my other systems. But I'm now getting this error:<br>
<br>Dec 23 15:35:06 ip-10-160-23-47 /usr/local/sbin/opensips[19213]: INFO:alias_db:mod_init: initializing... <br>Dec 23 15:35:06 ip-10-160-23-47 /usr/local/sbin/opensips[19213]: ERROR:uri:db_checks_fixup: configuration error - no database URL is configured! <br>
Dec 23 15:35:06 ip-10-160-23-47 /usr/local/sbin/opensips[19213]: ERROR:core:fix_actions: fixing failed (code=-6) at cfg line 165 <br>Dec 23 15:35:06 ip-10-160-23-47 /usr/local/sbin/opensips[19213]: CRITICAL:core:fix_expr: fix_actions error <br>
Dec 23 15:35:06 ip-10-160-23-47 /usr/local/sbin/opensips[19213]: ERROR:core:main: failed to fix configuration with err code -6 <br><br>I get this when I change the check_to and check_from to be prepended with db_ (not sure why the default config in 1.6.1 still has the old method names).<br>
<br>The only docs I found were:<br><br><a href="http://www.opensips.org/html/docs/modules/1.6.x/uri_db.html">http://www.opensips.org/html/docs/modules/1.6.x/uri_db.html</a><br><a href="http://www.opensips.org/html/docs/modules/1.6.x/uri.html">http://www.opensips.org/html/docs/modules/1.6.x/uri.html</a><br>
<br>As per the uri_db module (still with the old method names) I tried to set:<br><br>modparam("uri_db", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")<br><br>But I still get the same error, I had to change this to:<br>
<br>modparam("uri", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")<br>
<br>That is a parameter for the uri module though, not the uri_db module. And was not necessary to set in previous versions, and is not in the template config. I am very confused at this point the line between these two modules. Anyone have any clarification they can provide on this? I'm up and running but would like to understand this better.<br>
<br>Thanks<br><br>-dg<br>