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

SourceForge.net noreply at sourceforge.net
Mon Mar 9 10:35:08 CET 2009


Bugs item #2665827, was opened at 2009-03-05 19:48
Message generated for change (Comment added) made by bogdan_iancu
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: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Sergio Gutierrez (saguti)
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='************')

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

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-03-09 11:35

Message:
Looks like Sergio already did a fix on this.

Regards,
Bogdan

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

Comment By: Sergio Gutierrez (saguti)
Date: 2009-03-05 21:13

Message:
Hello.

Could you post the parameters you are using to configure the module on you
script?

Thanks and regards.

Sergio.

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

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



More information about the Devel mailing list