Module: sip-router
Branch: master
Commit: 8858e0d2c3c1c64f3223ae62aa2574a54d9fbc9a
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8858e0d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sat Jan 29 20:51:07 2011 +0100
acc: fixed typo in example
- updated the route types where acc_*_request() can be used
---
modules_k/acc/README | 12 ++++++------
modules_k/acc/doc/acc_admin.xml | 12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/modules_k/acc/README b/modules_k/acc/README
index 08ff24a..758c19f 100644
--- a/modules_k/acc/README
+++ b/modules_k/acc/README
@@ -863,7 +863,7 @@ modparam("acc", "diameter_extra",
"7846=$hdr(Content-type);7847=$avp(s:email)")
Meaning of the parameters is as follows:
* comment - Comment to be appended.
- This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
+ This function can be used from ANY_ROUTE.
Example 1.35. acc_log_request usage
...
@@ -880,12 +880,12 @@ acc_log_request("Some comment");
* comment - Comment to be appended.
* table - Database table to be used. It can include config variables.
- This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
+ This function can be used from ANY_ROUTE.
Example 1.36. acc_db_request usage
...
-acc_log_request("Some comment", "some_table");
-acc_log_request("200 ok", "acc_cfg_$time(year)");
+acc_db_request("Some comment", "some_table");
+acc_db_request("200 ok", "acc_cfg_$time(year)");
...
6.3. acc_rad_request(comment)
@@ -896,7 +896,7 @@ acc_log_request("200 ok", "acc_cfg_$time(year)");
Meaning of the parameters is as follows:
* comment - Comment to be appended.
- This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
+ This function can be used from ANY_ROUTE.
Example 1.37. acc_rad_request usage
...
@@ -911,7 +911,7 @@ acc_rad_request("Some comment");
Meaning of the parameters is as follows:
* comment - Comment to be appended.
- This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
+ This function can be used from ANY_ROUTE.
Example 1.38. acc_diam_request usage
...
diff --git a/modules_k/acc/doc/acc_admin.xml b/modules_k/acc/doc/acc_admin.xml
index 05bf63e..1401e47 100644
--- a/modules_k/acc/doc/acc_admin.xml
+++ b/modules_k/acc/doc/acc_admin.xml
@@ -972,7 +972,7 @@ modparam("acc", "diameter_extra",
"7846=$hdr(Content-type);7847=$avp(s:email)")
</listitem>
</itemizedlist>
<para>
- This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
+ This function can be used from ANY_ROUTE.
</para>
<example>
<title>acc_log_request usage</title>
@@ -1006,14 +1006,14 @@ acc_log_request("Some comment");
</listitem>
</itemizedlist>
<para>
- This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
+ This function can be used from ANY_ROUTE.
</para>
<example>
<title>acc_db_request usage</title>
<programlisting format="linespecific">
...
-acc_log_request("Some comment", "some_table");
-acc_log_request("200 ok", "acc_cfg_$time(year)");
+acc_db_request("Some comment", "some_table");
+acc_db_request("200 ok", "acc_cfg_$time(year)");
...
</programlisting>
</example>
@@ -1037,7 +1037,7 @@ acc_log_request("200 ok",
"acc_cfg_$time(year)");
</listitem>
</itemizedlist>
<para>
- This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
+ This function can be used from ANY_ROUTE.
</para>
<example>
<title>acc_rad_request usage</title>
@@ -1066,7 +1066,7 @@ acc_rad_request("Some comment");
</listitem>
</itemizedlist>
<para>
- This function can be used from REQUEST_ROUTE, FAILURE_ROUTE.
+ This function can be used from ANY_ROUTE.
</para>
<example>
<title>acc_diam_request usage</title>