Browse code

acc Remove radius functions from README docs (moved to another module)

Olle E. Johansson authored on 02/01/2017 19:30:02
Showing 1 changed files
... ...
@@ -289,16 +289,13 @@ if (uri=~"sip:+40") /* calls to Romania */ {
289 289
 				<para><emphasis>Radius</emphasis> -- all sets will be added
290 290
 				to the same Radius accounting message as RADIUS AVPs - for each
291 291
 				call-leg a set of RADIUS AVPs will be added (corresponding
292
-				to the per-leg AVP set)
292
+				to the per-leg AVP set). Note that Radius support is in a 
293
+				separate module - acc_radius.
293 294
 				</para>
294 295
 				<note><para>You will need to add in your dictionary the
295 296
 				RADIUS AVPs used in call-leg AVP set definition.
296 297
 				</para></note>
297 298
 				</listitem>
298
-				<listitem>
299
-				<para><emphasis>Diameter</emphasis> same as for RADIUS.
300
-				</para>
301
-				</listitem>
302 299
 			</itemizedlist>
303 300
 		</section>
304 301
 	</section>
... ...
@@ -658,9 +655,6 @@ modparam("acc", "multi_leg_info",
658 655
 # for mysql-based accounting, use the names of the columns
659 656
 modparam("acc", "multi_leg_info",
660 657
     "leg_src=$avp(src);leg_dst=$avp(dst)")
661
-# for RADIUS-based accounting, use the names of the RADIUS AVPs
662
-modparam("acc", "multi_leg_info",
663
-    "RAD_LEG_SRC=$avp(src);RAD_LEG_SRC=$avp(dst)")
664 658
 # for DIAMETER-based accounting, use the DIAMETER AVP ID (as integer)
665 659
 modparam("acc", "multi_leg_info",
666 660
     "2345=$avp(src);2346=$avp(dst)")
... ...
@@ -754,104 +748,6 @@ modparam("acc", "log_facility", "LOG_DAEMON")
754 748
 ...
755 749
 modparam("acc", "log_extra", "ua=$hdr(User-Agent);uuid=$avp(i:123)")
756 750
 ...
757
-</programlisting>
758
-		</example>
759
-	</section>
760
-	<!-- RADIUS specific ACC parameters -->
761
-	<section id="acc.p.radius_config">
762
-		<title><varname>radius_config</varname> (string)</title>
763
-		<para>
764
-		<emphasis>This parameter is radius specific.</emphasis> Path to 
765
-		radius client configuration file, set the referred config file 
766
-		correctly and specify there address of server, shared secret 
767
-		(should equal that in /usr/local/etc/raddb/clients for
768
-		freeRadius servers) and dictionary, see etc for an example of 
769
-		config file and dictionary.
770
-		</para>
771
-		<para>
772
-		If the parameter is set to empty string, the RADIUS accounting support
773
-		will be disabled (even if compiled).
774
-		</para>
775
-		<para>
776
-		Default value is <quote>NULL</quote>.
777
-		</para>
778
-		<example>
779
-		<title>radius_config example</title>
780
-		<programlisting format="linespecific">
781
-...
782
-modparam("acc", "radius_config", "/etc/radiusclient/radiusclient.conf")
783
-...
784
-</programlisting>
785
-		</example>
786
-	</section>
787
-	<section  id="acc.p.radius_flag">
788
-		<title><varname>radius_flag</varname> (integer)</title>
789
-		<para>
790
-		Request flag which needs to be set to account a 
791
-		transaction -- RADIUS specific.
792
-		</para>
793
-		<para>
794
-		Default value is not-set (no flag).
795
-		</para>
796
-		<example>
797
-		<title>radius_flag example</title>
798
-		<programlisting format="linespecific">
799
-...
800
-modparam("acc", "radius_flag", 2)
801
-...
802
-</programlisting>
803
-		</example>
804
-	</section>
805
-	<section id="acc.p.radius_missed_flag">
806
-		<title><varname>radius_missed_flag</varname> (integer)</title>
807
-		<para>
808
-		Request flag which needs to be set to account missed 
809
-		calls -- RADIUS specific.
810
-		</para>
811
-		<para>
812
-		Default value is not-set (no flag).
813
-		</para>
814
-		<example>
815
-		<title>radius_missed_flag example</title>
816
-		<programlisting format="linespecific">
817
-...
818
-modparam("acc", "radius_missed_flag", 3)
819
-...
820
-</programlisting>
821
-		</example>
822
-	</section>
823
-	<section id="acc.p.service_type">
824
-		<title><varname>service_type</varname> (integer)</title>
825
-		<para>
826
-		Radius service type used for accounting.
827
-		</para>
828
-		<para>
829
-		Default value is 15 (SIP).
830
-		</para>
831
-		<example>
832
-		<title>service_type example</title>
833
-		<programlisting format="linespecific">
834
-...
835
-modparam("acc", "service_type", 16)
836
-...
837
-</programlisting>
838
-		</example>
839
-	</section>
840
-	<section id="acc.p.radius_extra">
841
-		<title><varname>radius_extra</varname> (string)</title>
842
-		<para>
843
-		Extra values to be logged via RADIUS - RADIUS specific.
844
-		See section <xref linkend="acc.i.extra-accounting"/> for more details.
845
-		</para>
846
-		<para>
847
-		Default value is NULL.
848
-		</para>
849
-		<example>
850
-		<title>radius_extra example</title>
851
-		<programlisting format="linespecific">
852
-...
853
-modparam("acc", "radius_extra", "via=$hdr(Via[*]); email=$avp(s:email)")
854
-...
855 751
 </programlisting>
856 752
 		</example>
857 753
 	</section>
... ...
@@ -1632,38 +1528,6 @@ acc_db_request("Some comment", "SomeTable");
1632 1528
 acc_db_request("Some comment", "acc_$time(year)_$time(mon)");
1633 1529
 acc_db_request("$var(code) Error: $avp(reason)", "SomeTable");
1634 1530
 ...
1635
-</programlisting>
1636
-		</example>
1637
-	</section>
1638
-	<section id="acc.f.acc_rad_request">
1639
-		<title>
1640
-			<function moreinfo="none">acc_rad_request(comment)</function>
1641
-		</title>
1642
-		<para>
1643
-		Like <function moreinfo="none">acc_log_request</function>, 
1644
-		<function moreinfo="none">acc_rad_request</function> reports on 
1645
-		a request. It reports to radius server as configured in 
1646
-		<quote>radius_config</quote>.
1647
-		</para>
1648
-		<para>
1649
-		Meaning of the parameters is as follows:</para>
1650
-		<itemizedlist>
1651
-		<listitem>
1652
-			<para><emphasis>comment</emphasis> - Comment to be appended.
1653
-			The string can contain any number of pseudo-variables.
1654
-			</para>
1655
-		</listitem>
1656
-		</itemizedlist>
1657
-		<para>
1658
-		This function can be used from ANY_ROUTE.
1659
-		</para>
1660
-		<example>
1661
-		<title>acc_rad_request usage</title>
1662
-		<programlisting format="linespecific">
1663
-...
1664
-acc_rad_request("Some comment");
1665
-acc_rad_request("$var(code) Error: $avp(reason)");
1666
-...
1667 1531
 </programlisting>
1668 1532
 		</example>
1669 1533
 	</section>