[OpenSIPS-Users] Bug in uri_db module, OpenSIPS v1.4.4

Robert Borz robert.borz at web.de
Thu Mar 5 18:11:54 CET 2009


I just tried using the uri_db module together with db_postgres module:

loadmodule "uri_db.so"
modparam("uri_db", "use_uri_table", 1)

Does not use the "uri" table and tries looking up the user still in the subscriber table.

Relevant output with debug level 5:
DBG:db_postgres:db_postgres_submit_query: 0x74c8e8 PQsendQuery(select username from subscriber where username='*********' AND domain='*******.de' AND uri_user='************')

The docs say, that use_uri_table has to be set to another value than 0, which means true. Seems not to work right now...




More information about the Users mailing list