[OpenSIPS-Devel] [OpenSIPS/opensips] 329527: aaa_diameter: Fix acc_extra / acc_leg accounting

Liviu Chircu noreply at github.com
Mon Jun 28 07:41:25 EST 2021


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 329527bc4f84deb5553a3bd7c9180230f1e67660
      https://github.com/OpenSIPS/opensips/commit/329527bc4f84deb5553a3bd7c9180230f1e67660
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-06-28 (Mon, 28 Jun 2021)

  Changed paths:
    M modules/aaa_diameter/aaa_diameter.c
    M modules/aaa_diameter/aaa_impl.c
    M modules/aaa_diameter/aaa_impl.h
    M modules/aaa_diameter/app_opensips/CMakeLists.txt
    M modules/aaa_diameter/app_opensips/app_opensips.c
    M modules/aaa_diameter/app_opensips/avps.c
    M modules/aaa_diameter/app_opensips/avps.h
    M modules/aaa_diameter/peer.c

  Log Message:
  -----------
  aaa_diameter: Fix acc_extra / acc_leg accounting

This commit adds support for dynamically configured AVPs in both
OpenSIPS (client-side) and freeDiameter (server-side), such that they
can be added to the sent message and parsed from the received message.

The syntax is identical to the RADIUS configuration file, e.g.:

    ATTRIBUTE out_gw     231 string
    ATTRIBUTE trunk_id   232 string
    ...

(cherry picked from commit ba7077ade98570c1ad61618ae9130b77893d64bd)





More information about the Devel mailing list