|
@@ -29,11 +29,11 @@ Sven Knoblich
|
|
1&1 Internet AG
|
|
1&1 Internet AG
|
|
<[email protected]>
|
|
<[email protected]>
|
|
|
|
|
|
- Copyright © 2002, 2003 FhG FOKUS
|
|
|
|
|
|
+ Copyright © 2002, 2003 FhG FOKUS
|
|
|
|
|
|
- Copyright © 2004, 2006 Voice Sistem SRL
|
|
|
|
|
|
+ Copyright © 2004, 2006 Voice Sistem SRL
|
|
|
|
|
|
- Copyright © 2011 1&1 Internet AG
|
|
|
|
|
|
+ Copyright © 2011 1&1 Internet AG
|
|
Revision History
|
|
Revision History
|
|
Revision $Revision$ $Date$
|
|
Revision $Revision$ $Date$
|
|
__________________________________________________________________
|
|
__________________________________________________________________
|
|
@@ -1109,7 +1109,9 @@ modparam("acc", "db_extra", "ct=$hdr(Content-type); email=$avp(s:email)")
|
|
|
|
|
|
If set to 1, use INSERT DELAYED to add records to accounting tables
|
|
If set to 1, use INSERT DELAYED to add records to accounting tables
|
|
when the DB driver has support for it. If no INSERT DELAYED support is
|
|
when the DB driver has support for it. If no INSERT DELAYED support is
|
|
- offered by DB driver, then standard INSERT is used.
|
|
|
|
|
|
+ offered by DB driver, then standard INSERT is used. Beware that MySQL
|
|
|
|
+ InnoDB engine doesn't support INSERT DELAYED, thus be sure the acc
|
|
|
|
+ tables are defined with different type (e.g., MyISAM).
|
|
|
|
|
|
Default value is 0 (no INSERT DELAYED).
|
|
Default value is 0 (no INSERT DELAYED).
|
|
|
|
|
|
@@ -1351,7 +1353,7 @@ modparam("acc", "time_format", "%Y/%m/%d %H:%M:%S")
|
|
7.3. acc_rad_request(comment)
|
|
7.3. acc_rad_request(comment)
|
|
7.4. acc_diam_request(comment)
|
|
7.4. acc_diam_request(comment)
|
|
|
|
|
|
-7.1. acc_log_request(comment)
|
|
|
|
|
|
+7.1. acc_log_request(comment)
|
|
|
|
|
|
acc_request reports on a request, for example, it can be used to report
|
|
acc_request reports on a request, for example, it can be used to report
|
|
on missed calls to off-line users who are replied 404 - Not Found. To
|
|
on missed calls to off-line users who are replied 404 - Not Found. To
|
|
@@ -1372,7 +1374,7 @@ $avp(reason) = "Not found";
|
|
acc_log_request("$var(code) Error: $avp(reason)");
|
|
acc_log_request("$var(code) Error: $avp(reason)");
|
|
...
|
|
...
|
|
|
|
|
|
-7.2. acc_db_request(comment, table)
|
|
|
|
|
|
+7.2. acc_db_request(comment, table)
|
|
|
|
|
|
Like acc_log_request, acc_db_request reports on a request. The report
|
|
Like acc_log_request, acc_db_request reports on a request. The report
|
|
is sent to database at "db_url", in the table referred to in the second
|
|
is sent to database at "db_url", in the table referred to in the second
|
|
@@ -1393,7 +1395,7 @@ acc_db_request("Some comment", "acc_$time(year)_$time(mon)");
|
|
acc_db_request("$var(code) Error: $avp(reason)", "SomeTable");
|
|
acc_db_request("$var(code) Error: $avp(reason)", "SomeTable");
|
|
...
|
|
...
|
|
|
|
|
|
-7.3. acc_rad_request(comment)
|
|
|
|
|
|
+7.3. acc_rad_request(comment)
|
|
|
|
|
|
Like acc_log_request, acc_rad_request reports on a request. It reports
|
|
Like acc_log_request, acc_rad_request reports on a request. It reports
|
|
to radius server as configured in "radius_config".
|
|
to radius server as configured in "radius_config".
|
|
@@ -1410,7 +1412,7 @@ acc_rad_request("Some comment");
|
|
acc_rad_request("$var(code) Error: $avp(reason)");
|
|
acc_rad_request("$var(code) Error: $avp(reason)");
|
|
...
|
|
...
|
|
|
|
|
|
-7.4. acc_diam_request(comment)
|
|
|
|
|
|
+7.4. acc_diam_request(comment)
|
|
|
|
|
|
Like acc_log_request, acc_diam_request reports on a request. It reports
|
|
Like acc_log_request, acc_diam_request reports on a request. It reports
|
|
to the configured Diameter server.
|
|
to the configured Diameter server.
|
|
@@ -1438,55 +1440,55 @@ Chapter 2. Frequently Asked Questions
|
|
|
|
|
|
2.1.
|
|
2.1.
|
|
|
|
|
|
- What happend with old log_fmt parameter
|
|
|
|
|
|
+ What happend with old log_fmt parameter
|
|
|
|
|
|
- The parameter became obsolete with the restructure of the data logged
|
|
|
|
- by ACC module (refer to the Overview chapter). For similar behaviour
|
|
|
|
- you can use the extra accouting (see the coresponding chapter).
|
|
|
|
|
|
+ The parameter became obsolete with the restructure of the data logged
|
|
|
|
+ by ACC module (refer to the Overview chapter). For similar behaviour
|
|
|
|
+ you can use the extra accouting (see the coresponding chapter).
|
|
|
|
|
|
2.2.
|
|
2.2.
|
|
|
|
|
|
- What happend with old multi_leg_enabled parameter
|
|
|
|
|
|
+ What happend with old multi_leg_enabled parameter
|
|
|
|
|
|
- The parameter becaome obsolete by the addition of the new
|
|
|
|
- multi_leg_info parameter. The multi-leg accouting is automatically
|
|
|
|
- enabled when multi_leg_info is defined.
|
|
|
|
|
|
+ The parameter becaome obsolete by the addition of the new
|
|
|
|
+ multi_leg_info parameter. The multi-leg accouting is automatically
|
|
|
|
+ enabled when multi_leg_info is defined.
|
|
|
|
|
|
2.3.
|
|
2.3.
|
|
|
|
|
|
- What happend with old src_leg_avp_id and dst_leg_avp_id parameters
|
|
|
|
|
|
+ What happend with old src_leg_avp_id and dst_leg_avp_id parameters
|
|
|
|
|
|
- The parameter was replaced by the more generic new parameter
|
|
|
|
- multi_leg_info. This allows logging (per-leg) of more information than
|
|
|
|
- just dst and src.
|
|
|
|
|
|
+ The parameter was replaced by the more generic new parameter
|
|
|
|
+ multi_leg_info. This allows logging (per-leg) of more information than
|
|
|
|
+ just dst and src.
|
|
|
|
|
|
2.4.
|
|
2.4.
|
|
|
|
|
|
- Where can I find more about Kamailio?
|
|
|
|
|
|
+ Where can I find more about Kamailio?
|
|
|
|
|
|
- Take a look at http://www.kamailio.org/.
|
|
|
|
|
|
+ Take a look at http://www.kamailio.org/.
|
|
|
|
|
|
2.5.
|
|
2.5.
|
|
|
|
|
|
- Where can I post a question about this module?
|
|
|
|
|
|
+ Where can I post a question about this module?
|
|
|
|
|
|
- First at all check if your question was already answered on one of our
|
|
|
|
- mailing lists:
|
|
|
|
- * User Mailing List -
|
|
|
|
- http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
|
|
|
|
- * Developer Mailing List -
|
|
|
|
- http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
|
|
|
|
|
|
+ First at all check if your question was already answered on one of our
|
|
|
|
+ mailing lists:
|
|
|
|
+ * User Mailing List -
|
|
|
|
+ http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
|
|
|
|
+ * Developer Mailing List -
|
|
|
|
+ http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
|
|
|
|
|
|
- E-mails regarding any stable Kamailio release should be sent to
|
|
|
|
- <[email protected]> and e-mails regarding development
|
|
|
|
- versions should be sent to <[email protected]>.
|
|
|
|
|
|
+ E-mails regarding any stable Kamailio release should be sent to
|
|
|
|
+ <[email protected]> and e-mails regarding development
|
|
|
|
+ versions should be sent to <[email protected]>.
|
|
|
|
|
|
- If you want to keep the mail private, send it to
|
|
|
|
- <[email protected]>.
|
|
|
|
|
|
+ If you want to keep the mail private, send it to
|
|
|
|
+ <[email protected]>.
|
|
|
|
|
|
2.6.
|
|
2.6.
|
|
|
|
|
|
- How can I report a bug?
|
|
|
|
|
|
+ How can I report a bug?
|
|
|
|
|
|
- Please follow the guidelines provided at:
|
|
|
|
- http://sip-router.org/tracker.
|
|
|
|
|
|
+ Please follow the guidelines provided at:
|
|
|
|
+ http://sip-router.org/tracker.
|