Changes between Version 1 and Version 2 of app_acct.fdx
- Timestamp:
- Mar 3, 2011, 5:34:20 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
app_acct.fdx
v1 v2 1 1 [[PageOutline(2-4)]] 2 = = Accounting Application ==2 = Accounting Application = 3 3 4 This {{{app_acct.fdx}}} extension aims to providea very simple and configurable implementation of the Diameter Base Accounting application defined in RFC3588.4 This {{{app_acct.fdx}}} extension provides a very simple and configurable implementation of the Diameter Base Accounting application defined in RFC3588. 5 5 6 It must be seen as an '' 'intermediary''' component: the Diameter messages are parsed, and the accounting records are stored in a database, but no further treatment is performed. The intent is that an independent application (with no knowledge of Diameter required) will then process these records, reconstruct the session information, and store it in a format suitable for a billing application for example.6 It must be seen as an ''intermediate'' component: the Diameter messages are parsed, and the accounting records are stored in a database, but no further treatment is performed. The intent is that an independent application (with no knowledge of the Diameter protocol required) will then process these records, reconstruct the session information, and store it in a format suitable for a billing application for example. See the [source:freeDiameter/contrib/app_acct_tools/ contrib/app_acct_tools/] folder for an example of such application. 7 7 8 Currently, the extension stores the information in a PostgreSQL database, where a third-party application can retrieve it. 9 8 The extension stores the information in a PostgreSQL database, where the third-party application can retrieve it: 10 9 {{{ 11 10 #!graphviz … … 38 37 {{{app_acct.fdx}}} allows easy configuration of what information is stored in the database. See the section bellow for detail. 39 38 40 == = Configuration ===39 == Configuration == 41 40 42 41 {{{app_acct.fdx}}} configuration file is mandatory. The complete configuration documentation can be found in the source package: [source:freeDiameter/doc/app_acct.conf.sample app_acct.conf.sample]. … … 44 43 The configuration is split in two parts. The first part is dedicated to mapping the information from Diameter AVP into database fields. The second part contains the access information to the database, and a few global options for the extension. 45 44 46 == = Usage ===45 == Usage == 47 46 48 47 Since the application is not resistant to database access problems, it is highly recommended (although not mandatory) that the database is located on the same host as the {{{app_acct.fdx}}} application. 49 48 50 == = Output ===49 == Output == 51 50 52 51 This application does not produce any particular output, except for entries in the database. 53 52 54 == = Troubleshooting ===53 == Troubleshooting == 55 54 55 If the freeDiameter framework refuses to start when it loads this extension, please check that the configuration of the extension matches the structure of the table in the database you have configured. You can get more information by incrementing the debug level (see main [wiki:Troubleshooting] page for information). 56 57 ----