Skip to content

AAA_DIAMETER module

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”

None.

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

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.

Setting the fd_log_level parameter
modparam("aaa_diameter", "fd_log_level", 0)

The unique realm to be used by all participating Diameter peers.

Default value is “diameter.test”.

Setting the realm parameter
modparam("aaa_diameter", "realm", "opensips.org")

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”).

Setting the peer_identity parameter
modparam("aaa_diameter", "peer_identity", "server")

Top contributors by DevScore(1), authored commits(2) and lines added/removed(3)

#NameDevScoreCommitsLines++Lines—
1.Liviu Chircu (@liviuchircu)66184318619
2.Stefan Darius (@dariusstefan)6411914
3.Razvan Crainea (@razvancrainea)3111

(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

#NameCommit 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

Last edited by: Razvan Crainea (@razvancrainea), Liviu Chircu (@liviuchircu).

All documentation files (i.e. .md extension) are licensed under the Creative Common License 4.0