[OpenSIPS-Users] drounting and db_oracle: db_oracle module seems to be never loaded

Noel R. Morais noelrocha at gmail.com
Thu Apr 23 21:26:10 CEST 2009


Hi Guys,

I have a working script with mysql and I'm migrating it to work with oracle.

I've compiled opensips with db_oracle support and I'm loading the
module by: loadmodule "db_oracle.so"

I'm setting the drouting db_url parameter as follow:

modparam("drouting", "db_url", "oracle://USERNAME:PASSWORD@HOST:1521/SID")

I'm getting the follow error:

Apr 23 16:20:26 lab7 /usr/local/sbin/opensips[18100]:
INFO:drouting:dr_init: Dynamic-Routing - initializing
Apr 23 16:20:26 lab7 /usr/local/sbin/opensips[18100]:
ERROR:core:db_check_api: module db_oracle does not export db_use_table
function
Apr 23 16:20:26 lab7 /usr/local/sbin/opensips[18100]:
CRITICAL:drouting:dr_init: cannot bind to database module! Did you
forget to load a database module ?

I really don't have even a clue of what is wrong ....

Thanks,

Noel



More information about the Users mailing list