[OpenSIPS-Devel] [ opensips-Patches-2687050 ] Introduce get_auth_id() function for uri_db module
SourceForge.net
noreply at sourceforge.net
Sat Mar 14 17:31:00 CET 2009
Patches item #2687050, was opened at 2009-03-14 17:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2687050&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: Andreas Westermaier (andwes)
Assigned to: Nobody/Anonymous (nobody)
Summary: Introduce get_auth_id() function for uri_db module
Initial Comment:
Hi,
as I have already announced on the users mailing list, I now want to introduce an implementation of the get_auth_id() function for the uri_db module. We especially require this function to enforce an inbound _and_ outbound channel limit for our customers, which have a single authentication id and password but multiple sip accounts (uri's).
A global outbound channel limit for multiple sip accounts of a single user can simply be implemented by adding a dialog profile to the auth-id and realm. But on incoming calls, e.g. from our PSTN gateways, only the r-uri can be accessed. The attached patch adds the get_auth_id() function to the uri_db module to do a reverse-lookup to get the authentication id and realm of a corresponding uri from uri or subscriber table. This way the count of the previously created dialog profile bound to auth-id and realm can be fetched to get the total amount of calls this customer has currently open (inbound and outbound).
The attached patch is against the current svn head and also includes the documentation part.
Regards,
Andreas
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2687050&group_id=232389
More information about the Devel
mailing list