[sr-dev] git:master:4505878d: acc_radius : added doc for rad_time_mode

Yasin CANER yasin.caner at netgsm.com.tr
Mon Oct 26 21:38:58 CET 2015


Module: kamailio
Branch: master
Commit: 4505878d8be26e2e5497cbba581a2a912a824912
URL: https://github.com/kamailio/kamailio/commit/4505878d8be26e2e5497cbba581a2a912a824912

Author: Yasin CANER <yasin.caner at netgsm.com.tr>
Committer: Yasin CANER <yasin.caner at netgsm.com.tr>
Date: 2015-10-26T16:16:12+02:00

acc_radius : added doc for rad_time_mode

added  information about new mod paramaeter rad_time_mode

---

Modified: modules/acc_radius/doc/acc_radius_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/4505878d8be26e2e5497cbba581a2a912a824912.diff
Patch: https://github.com/kamailio/kamailio/commit/4505878d8be26e2e5497cbba581a2a912a824912.patch

---

diff --git a/modules/acc_radius/doc/acc_radius_admin.xml b/modules/acc_radius/doc/acc_radius_admin.xml
index 17ebd2c..f439457 100644
--- a/modules/acc_radius/doc/acc_radius_admin.xml
+++ b/modules/acc_radius/doc/acc_radius_admin.xml
@@ -166,6 +166,39 @@ modparam("acc_radius", "radius_extra", "via=$hdr(Via[*]); email=$avp(s:email)")
 </programlisting>
 		</example>
 	</section>
+	<section>
+		<title><varname>rad_time_mode</varname>(integer)</title>
+		<para>
+		Radius Event-Timestamp for accounting. 
+		</para>
+		<para>
+		Values can be:
+		</para>
+		<itemizedlist>
+		<listitem>
+			<para><emphasis>0</emphasis> -  (default), format is only unix
+				timestamp for Event-Timestamp (For example: 1445590624)</para>
+		</listitem>
+		<listitem>
+			<para><emphasis>1</emphasis> - format is unix timestamp with microseconds
+			in Addition, it needs to change Event-Timestamp attribute type in dictionary to string
+			both radius server and client
+			(For example: 1445590624.377372)   </para>
+		</listitem>
+ 		</itemizedlist>
+		
+		<para>
+		Default value is 0 (Unix timestamp).
+		</para>
+		<example>
+		<title>rad_time_mode example</title>
+		<programlisting format="linespecific">
+...
+modparam("acc_radius", "rad_time_mode", 1)
+...
+</programlisting>
+		</example>
+</section>
 	</section>
 
 	<section>




More information about the sr-dev mailing list