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

Robert Borz robert.borz at web.de
Thu Mar 5 18:15:25 CET 2009


Allright, just my mistake? Just trying to convert my current OpenSER configuration.

Adding the additional parameter
	modparam("uri_db", "db_table", "uri")
fixed this issue.


Sorry...


Robert.

-----Original Message-----
From: Robert Borz [mailto:robert.borz at web.de] 
Sent: Thursday, March 05, 2009 6:12 PM
To: 'users at lists.opensips.org'
Subject: Bug in uri_db module, OpenSIPS v1.4.4

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