[ opensips-Bugs-2665827 ] Unable to use the uri table with the uri_db module

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ opensips-Bugs-2665827 ] Unable to use the uri table with the uri_db module

SourceForge.net
Bugs item #2665827, was opened at 2009-03-05 17:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2665827&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.4.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unable to use the uri table with the uri_db module

Initial Comment:
Using the uri_db module (together with db_postgres module) doesn't use the uri table when "use_uri_table" parameter is set to true (value greater 0, e.g. 1).
To use the uri table the "db_table" parameter from uri_db has to be set adittionally to "uri", which is not very obvious. "use_uri_table" should internally overwrite the tablename used for fetching user credentials when set.

When only "use_uri_table" from "uri_db" module is set to true, the following relevant output is generated with debug level 5:
DBG:db_postgres:db_postgres_submit_query: 0x74c8e8 PQsendQuery(select username from subscriber where username='*********' AND domain='**********' AND uri_user='************')

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2665827&group_id=232389

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel