[OpenSER-Devel] [ openser-Feature Requests-1985743 ] add function check_ruri() to uri_db module

SourceForge.net noreply at sourceforge.net
Thu Jun 5 21:27:39 CEST 2008


Feature Requests item #1985743, was opened at 2008-06-05 21:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1985743&group_id=139143

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: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Klaus Darilion (klaus_darilion)
Assigned to: Nobody/Anonymous (nobody)
Summary: add function check_ruri() to uri_db module

Initial Comment:
Hi!

In a PUBLISH request, the AoR is in the RURI. Thus, to verify if an authenticated user is allowed to publish presence for a certain AoR the uri_db module should be extended (to align with check_from and check_to)

Currently I use

if (($au == $rU) && ($rd == $ar)) {
  sl_send_reply("403","auth-user - RURI mismatch");
  exit;
}

but this is not very nice and works only if authuser and username are the same.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1985743&group_id=139143



More information about the Devel mailing list