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:[email protected]] 
Sent: Thursday, March 05, 2009 6:12 PM
To: '[email protected]'
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...


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to