[OpenSIPS-Devel] [ opensips-Bugs-2851050 ] uri module: is_user should not depend on credentials

SourceForge.net noreply at sourceforge.net
Fri Sep 4 13:02:36 CEST 2009


Bugs item #2851050, was opened at 2009-09-04 13:53
Message generated for change (Settings changed) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2851050&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: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thomas Gelf (thomas_gelf)
>Assigned to: Irina-Maria Stanescu (ironmissy)
Summary: uri module: is_user should not depend on credentials

Initial Comment:
According to http://opensips.org/html/docs/modules/devel/uri.html#id271241
is_user shall be called as follows:

> is_user("john")

Running latest revision from trunk (6069) this leads to: 

> ERROR:uri:is_user: no authorized credentials found (error in scripts)
> ERROR:uri:is_user: Call {www,proxy}_authorize before calling is_user
>                    function !

Call is from PSTN to local user, I'd like to call is_user("$rU").
Calling
*_authorize doesn't make sanse here, as does requiring credentials - at
least if username is passed to this function.

Best regards,
Thomas Gelf


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

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



More information about the Devel mailing list