[sr-dev] git:5.2:82282082: 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:56 CEST 2019


Module: kamailio
Branch: 5.2
Commit: 822820827c55adb02efae9703cfda9b936686f3f
URL: https://github.com/kamailio/kamailio/commit/822820827c55adb02efae9703cfda9b936686f3f

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2019-08-11T10:58:21+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/822820827c55adb02efae9703cfda9b936686f3f.diff
Patch: https://github.com/kamailio/kamailio/commit/822820827c55adb02efae9703cfda9b936686f3f.patch

---

diff --git a/src/modules/acc/doc/acc_admin.xml b/src/modules/acc/doc/acc_admin.xml
index de3ad0e1f4..61e27a196e 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