GROUP_RADIUS module
Admin Guide
Section titled “Admin Guide”Overview
Section titled “Overview”This module export functions necessary for group membership checking over radius. There is a database table that contains list of users and groups they belong to. The table is used by functions of this module.
Dependencies
Section titled “Dependencies”OpenSIPS Modules
Section titled “OpenSIPS Modules”The module depends on the following modules (in the other words the listed modules must be loaded before this module):
- none
External Libraries or Applications
Section titled “External Libraries or Applications”The following libraries or applications must be installed before compilling OpenSIPS with this module loaded:
- radiusclient-ng 0.5.0 or higher — library and development files. See http://developer.berlios.de/projects/radiusclient-ng/.
Exported Parameters
Section titled “Exported Parameters”radius_config (string)
Section titled “radius_config (string)”Location of the configuration file of the radius client library.
Default value is “/usr/local/etc/radiusclient-ng/radiusclient.conf”.
...modparam("group_radius", "radius_config", "/etc/radiusclient.conf")...use_domain (integer)
Section titled “use_domain (integer)”If set to 1 then username@domain will be used for lookup, if set to 0 then only username will be used.
Default value is 0 (no).
...modparam("group_radius", "use_domain", 1)...Exported Functions
Section titled “Exported Functions”radius_is_user_in(URI, group)
Section titled “radius_is_user_in(URI, group)”The function returns true if username in the given URI is member of the given group and false if not.
Meaning of the parameters is as follows:
-
URI - URI whose username and optionally domain to be used, this can be one of:
Request-URI - Use Request-URI username and(optionally) domain.To - Use To username and (optionally) domain.From - Use From username and (optionally) domain.Credentials - Use digest credentials username. -
group - Name of the group to check.
This function can be used from REQUEST_ROUTE.
...if (radius_is_user_in("Request-URI", "ld")) { ...};...Contributors
Section titled “Contributors”By Commit Statistics
Section titled “By Commit Statistics”Top contributors by DevScore(1), authored commits(2) and lines added/removed(3)
| # | Name | DevScore | Commits | Lines++ | Lines— |
|---|---|---|---|---|---|
| 1. | Bogdan-Andrei Iancu (@bogdan-iancu) | 26 | 21 | 168 | 143 |
| 2. | Jan Janak (@janakj) | 26 | 11 | 1113 | 278 |
| 3. | Daniel-Constantin Mierla (@miconda) | 14 | 11 | 62 | 112 |
| 4. | Andrei Pelinescu-Onciul | 8 | 6 | 10 | 16 |
| 5. | Stefan Darius (@dariusstefan) | 6 | 3 | 145 | 21 |
| 6. | Maksym Sobolyev (@sobomax) | 5 | 2 | 32 | 62 |
| 7. | Peter Nixon | 3 | 1 | 4 | 5 |
| 8. | Razvan Crainea (@razvancrainea) | 3 | 1 | 2 | 2 |
| 9. | Konstantin Bokarius | 3 | 1 | 2 | 5 |
| 10. | Edson Gellert Schubert | 3 | 1 | 0 | 103 |
All remaining contributors: Irina-Maria Stanescu, Jiri Kuthan (@jiriatipteldotorg).
(1) DevScore = author_commits + author_lines_added / (project_lines_added / project_commits) + author_lines_deleted / (project_lines_deleted / project_commits)
(2) including any documentation-related commits, excluding merge commits
(3) ignoring whitespace edits, renamed files and auto-generated files
By Commit Activity
Section titled “By Commit Activity”| # | Name | Commit Activity |
|---|---|---|
| 1. | Stefan Darius (@dariusstefan) | Jun 2026 - Jul 2026 |
| 2. | Razvan Crainea (@razvancrainea) | Jun 2026 - Jun 2026 |
| 3. | Irina-Maria Stanescu | Aug 2009 - Aug 2009 |
| 4. | Bogdan-Andrei Iancu (@bogdan-iancu) | Jun 2005 - Aug 2008 |
| 5. | Daniel-Constantin Mierla (@miconda) | Oct 2005 - Mar 2008 |
| 6. | Konstantin Bokarius | Mar 2008 - Mar 2008 |
| 7. | Edson Gellert Schubert | Feb 2008 - Feb 2008 |
| 8. | Peter Nixon | Jan 2007 - Jan 2007 |
| 9. | Andrei Pelinescu-Onciul | Mar 2003 - Dec 2004 |
| 10. | Jan Janak (@janakj) | Mar 2003 - Dec 2004 |
All remaining contributors: Maksym Sobolyev (@sobomax), Jiri Kuthan (@jiriatipteldotorg).
(1) including any documentation-related commits, excluding merge commits
Documentation
Section titled “Documentation”Contributors
Section titled “Contributors”Last edited by: Razvan Crainea (@razvancrainea), Bogdan-Andrei Iancu (@bogdan-iancu), Daniel-Constantin Mierla (@miconda), Konstantin Bokarius, Edson Gellert Schubert, Jan Janak (@janakj).
License
Section titled “License”All documentation files (i.e. .md extension) are licensed under the Creative Common License 4.0