|
@@ -104,18 +104,8 @@
|
|
|
</itemizedlist>
|
|
|
</para>
|
|
|
<para>
|
|
|
- The SQL backend support is compiled in the module. For
|
|
|
- DIAMETER you need to enable it by recompiling the module with properly
|
|
|
- set defines: uncomment the DDIAM_ACC lines in
|
|
|
- modules/acc/Makefile.
|
|
|
+ The SQL backend support is compiled in the module.
|
|
|
</para>
|
|
|
- <para>
|
|
|
- NOTE: diameter support was developed for DISC (DIameter Server Client
|
|
|
- project at http://developer.berlios.de/projects/disc/). This project
|
|
|
- seems to be no longer maintained and DIAMETER specifications were updated
|
|
|
- in the meantime. Thus, the DIAMETER part in the module is obsolete and
|
|
|
- needs rework to be usable with opendiameter or other DIAMETER servers.
|
|
|
- </para>
|
|
|
<section>
|
|
|
<title>General Example</title>
|
|
|
<programlisting format="linespecific">
|
|
@@ -1019,97 +1009,6 @@ modparam("acc", "db_extra", "ct=$hdr(Content-type); email=$avp(s:email)")
|
|
|
...
|
|
|
modparam("acc", "db_insert_mode", 1)
|
|
|
...
|
|
|
-</programlisting>
|
|
|
- </example>
|
|
|
- </section>
|
|
|
- <!-- DIAMETER specific ACC parameters -->
|
|
|
- <section id="acc.p.diameter_flag">
|
|
|
- <title><varname>diameter_flag</varname> (integer)</title>
|
|
|
- <para>
|
|
|
- Request flag which needs to be set to account a
|
|
|
- transaction -- DIAMETER specific.
|
|
|
- </para>
|
|
|
- <para>
|
|
|
- Default value is not-set (no flag).
|
|
|
- </para>
|
|
|
- <example>
|
|
|
- <title>diameter_flag example</title>
|
|
|
- <programlisting format="linespecific">
|
|
|
-...
|
|
|
-modparam("acc", "diameter_flag", 2)
|
|
|
-...
|
|
|
-</programlisting>
|
|
|
- </example>
|
|
|
- </section>
|
|
|
- <section id="acc.p.diameter_missed_flag">
|
|
|
- <title><varname>diameter_missed_flag</varname> (integer)</title>
|
|
|
- <para>
|
|
|
- Request flag which needs to be set to account missed
|
|
|
- calls -- DIAMETER specific.
|
|
|
- </para>
|
|
|
- <para>
|
|
|
- Default value is not-set (no flag).
|
|
|
- </para>
|
|
|
- <example>
|
|
|
- <title>diameter_missed_flag example</title>
|
|
|
- <programlisting format="linespecific">
|
|
|
-...
|
|
|
-modparam("acc", "diameter_missed_flag", 3)
|
|
|
-...
|
|
|
-</programlisting>
|
|
|
- </example>
|
|
|
- </section>
|
|
|
- <section id="acc.p.diameter_client_host">
|
|
|
- <title><varname>diameter_client_host</varname> (string)</title>
|
|
|
- <para>
|
|
|
- Hostname of the machine where the DIAMETER Client is
|
|
|
- running -- DIAMETER specific.
|
|
|
- </para>
|
|
|
- <para>
|
|
|
- Default value is <quote>localhost</quote>.
|
|
|
- </para>
|
|
|
- <example>
|
|
|
- <title>diameter_client_host example</title>
|
|
|
- <programlisting format="linespecific">
|
|
|
-...
|
|
|
-modparam("acc", "diameter_client_host", "3a_server.net")
|
|
|
-...
|
|
|
-</programlisting>
|
|
|
- </example>
|
|
|
- </section>
|
|
|
- <section id="acc.p.diameter_client_port">
|
|
|
- <title><varname>diameter_client_port</varname> (int)</title>
|
|
|
- <para>
|
|
|
- Port number where the Diameter Client is
|
|
|
- listening -- DIAMETER specific.
|
|
|
- </para>
|
|
|
- <para>
|
|
|
- Default value is 3000.
|
|
|
- </para>
|
|
|
- <example>
|
|
|
- <title>diameter_client_host example</title>
|
|
|
- <programlisting format="linespecific">
|
|
|
-...
|
|
|
-modparam("acc", "diameter_client_port", 3000)
|
|
|
-...
|
|
|
-</programlisting>
|
|
|
- </example>
|
|
|
- </section>
|
|
|
- <section id="acc.p.diameter_extra">
|
|
|
- <title><varname>diameter_extra</varname> (string)</title>
|
|
|
- <para>
|
|
|
- Extra values to be logged via DIAMETER - DIAMETER specific.
|
|
|
- See section <xref linkend="acc.i.extra-accounting"/> for more details.
|
|
|
- </para>
|
|
|
- <para>
|
|
|
- Default value is NULL.
|
|
|
- </para>
|
|
|
- <example>
|
|
|
- <title>diameter_extra example</title>
|
|
|
- <programlisting format="linespecific">
|
|
|
-...
|
|
|
-modparam("acc", "diameter_extra", "7846=$hdr(Content-type);7847=$avp(s:email)")
|
|
|
-...
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|