[sr-dev] git:5.1:8e21911d: acc: remove diameter specific doc content, code was moved in 2017 to acc_diameter

Henning Westerholt hw at skalatan.de
Sun Aug 11 10:58:59 CEST 2019


Module: kamailio
Branch: 5.1
Commit: 8e21911d7833c8ff00f39ce933a6fb4c71d8f6b8
URL: https://github.com/kamailio/kamailio/commit/8e21911d7833c8ff00f39ce933a6fb4c71d8f6b8

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2019-08-11T10:58:35+02:00

acc: remove diameter specific doc content, code was moved in 2017 to acc_diameter

(cherry picked from commit d8cede175ddeada5ca5654a74e765f154dcfa86d)

---

Modified: src/modules/acc/doc/acc_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/8e21911d7833c8ff00f39ce933a6fb4c71d8f6b8.diff
Patch: https://github.com/kamailio/kamailio/commit/8e21911d7833c8ff00f39ce933a6fb4c71d8f6b8.patch

---

diff --git a/src/modules/acc/doc/acc_admin.xml b/src/modules/acc/doc/acc_admin.xml
index a57d411e60..2588243f7c 100644
--- a/src/modules/acc/doc/acc_admin.xml
+++ b/src/modules/acc/doc/acc_admin.xml
@@ -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>




More information about the sr-dev mailing list