Browse code

acc: fixed typo in example

- updated the route types where acc_*_request() can be used

Daniel-Constantin Mierla authored on 29/01/2011 19:51:07
Showing 2 changed files
... ...
@@ -863,7 +863,7 @@ modparam("acc", "diameter_extra", "7846=$hdr(Content-type);7847=$avp(s:email)")
863 863
    Meaning of the parameters is as follows:
864 864
      * comment - Comment to be appended.
865 865
 
866
-   This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
866
+   This function can be used from ANY_ROUTE.
867 867
 
868 868
    Example 1.35. acc_log_request usage
869 869
 ...
... ...
@@ -880,12 +880,12 @@ acc_log_request("Some comment");
880 880
      * comment - Comment to be appended.
881 881
      * table - Database table to be used. It can include config variables.
882 882
 
883
-   This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
883
+   This function can be used from ANY_ROUTE.
884 884
 
885 885
    Example 1.36. acc_db_request usage
886 886
 ...
887
-acc_log_request("Some comment", "some_table");
888
-acc_log_request("200 ok", "acc_cfg_$time(year)");
887
+acc_db_request("Some comment", "some_table");
888
+acc_db_request("200 ok", "acc_cfg_$time(year)");
889 889
 ...
890 890
 
891 891
 6.3.  acc_rad_request(comment)
... ...
@@ -896,7 +896,7 @@ acc_log_request("200 ok", "acc_cfg_$time(year)");
896 896
    Meaning of the parameters is as follows:
897 897
      * comment - Comment to be appended.
898 898
 
899
-   This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
899
+   This function can be used from ANY_ROUTE.
900 900
 
901 901
    Example 1.37. acc_rad_request usage
902 902
 ...
... ...
@@ -911,7 +911,7 @@ acc_rad_request("Some comment");
911 911
    Meaning of the parameters is as follows:
912 912
      * comment - Comment to be appended.
913 913
 
914
-   This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
914
+   This function can be used from ANY_ROUTE.
915 915
 
916 916
    Example 1.38. acc_diam_request usage
917 917
 ...
... ...
@@ -972,7 +972,7 @@ modparam("acc", "diameter_extra", "7846=$hdr(Content-type);7847=$avp(s:email)")
972 972
 		</listitem>
973 973
 		</itemizedlist>
974 974
 		<para>
975
-		This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
975
+		This function can be used from ANY_ROUTE.
976 976
 		</para>
977 977
 		<example>
978 978
 		<title>acc_log_request usage</title>
... ...
@@ -1006,14 +1006,14 @@ acc_log_request("Some comment");
1006 1006
 		</listitem>
1007 1007
 		</itemizedlist>
1008 1008
 		<para>
1009
-		This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
1009
+		This function can be used from ANY_ROUTE.
1010 1010
 		</para>
1011 1011
 		<example>
1012 1012
 		<title>acc_db_request usage</title>
1013 1013
 		<programlisting format="linespecific">
1014 1014
 ...
1015
-acc_log_request("Some comment", "some_table");
1016
-acc_log_request("200 ok", "acc_cfg_$time(year)");
1015
+acc_db_request("Some comment", "some_table");
1016
+acc_db_request("200 ok", "acc_cfg_$time(year)");
1017 1017
 ...
1018 1018
 </programlisting>
1019 1019
 		</example>
... ...
@@ -1037,7 +1037,7 @@ acc_log_request("200 ok", "acc_cfg_$time(year)");
1037 1037
 		</listitem>
1038 1038
 		</itemizedlist>
1039 1039
 		<para>
1040
-		This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
1040
+		This function can be used from ANY_ROUTE.
1041 1041
 		</para>
1042 1042
 		<example>
1043 1043
 		<title>acc_rad_request usage</title>
... ...
@@ -1066,7 +1066,7 @@ acc_rad_request("Some comment");
1066 1066
 		</listitem>
1067 1067
 		</itemizedlist>
1068 1068
 		<para>
1069
-		This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
1069
+		This function can be used from ANY_ROUTE.
1070 1070
 		</para>
1071 1071
 		<example>
1072 1072
 		<title>acc_diam_request usage</title>