AAA_DIAMETER module
Admin Guide
Section titled “Admin Guide”Overview
Section titled “Overview”This module provides a Diameter implementation for the core AAA API interface.
Any module that wishes to use it has to do the following:
- include aaa.h
- make a bind call with a proper Diameter-specific URL, e.g. “diameter:freeDiameter-client.conf”
Dependencies
Section titled “Dependencies”OpenSIPS Modules
Section titled “OpenSIPS Modules”None.
External Libraries or Applications
Section titled “External Libraries or Applications”All Diameter message building and parsing, as well as the peer state machine and Diameter-related network communication are all powered by the freeDiameter project and C libraries, dynamically linking with the “aaa_diameter” module.
The following libraries must be installed before running OpenSIPS with this module loaded:
- libfdcore v1.2.1 or higher
- libfdproto v1.2.1 or higher
Exported Parameters
Section titled “Exported Parameters”fd_log_level (integer)
Section titled “fd_log_level (integer)”This parameter measures the quietness of the logging done by the freeDiameter library. Possible values:
- 0 (ANNOYING)
- 1 (DEBUG)
- 3 (NOTICE, default)
- 5 (ERROR)
- 6 (FATAL)
NOTE: since freeDiameter logs to standard output, you must also enable the new core parameter, log_stdout, before getting any logs from the library.
modparam("aaa_diameter", "fd_log_level", 0)realm (string)
Section titled “realm (string)”The unique realm to be used by all participating Diameter peers.
Default value is “diameter.test”.
modparam("aaa_diameter", "realm", "opensips.org")peer_identity (string)
Section titled “peer_identity (string)”The identity (realm subdomain) of the Diameter server peer, to which the OpenSIPS Diameter client peer will connect.
Default value is “server” (i.e. “server.diameter.test”).
modparam("aaa_diameter", "peer_identity", "server")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. | Liviu Chircu (@liviuchircu) | 66 | 18 | 4318 | 619 |
| 2. | Stefan Darius (@dariusstefan) | 6 | 4 | 119 | 14 |
| 3. | Razvan Crainea (@razvancrainea) | 3 | 1 | 1 | 1 |
(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. | Liviu Chircu (@liviuchircu) | May 2021 - Feb 2024 |
(1) including any documentation-related commits, excluding merge commits
Documentation
Section titled “Documentation”Contributors
Section titled “Contributors”Last edited by: Razvan Crainea (@razvancrainea), Liviu Chircu (@liviuchircu).
License
Section titled “License”All documentation files (i.e. .md extension) are licensed under the Creative Common License 4.0