|
@@ -695,7 +695,8 @@ modparam("acc", "db_missed_flag", 3)
|
|
<section>
|
|
<section>
|
|
<title><varname>db_table_acc</varname> (string)</title>
|
|
<title><varname>db_table_acc</varname> (string)</title>
|
|
<para>
|
|
<para>
|
|
- Table name of accounting successfull calls -- database specific.
|
|
|
|
|
|
+ Table name of accounting successfull calls -- database specific. It
|
|
|
|
+ can include config variables.
|
|
</para>
|
|
</para>
|
|
<para>
|
|
<para>
|
|
Default value is <quote>acc</quote>
|
|
Default value is <quote>acc</quote>
|
|
@@ -704,13 +705,15 @@ modparam("acc", "db_missed_flag", 3)
|
|
<title>db_table_acc example</title>
|
|
<title>db_table_acc example</title>
|
|
<programlisting format="linespecific">
|
|
<programlisting format="linespecific">
|
|
modparam("acc", "db_table_acc", "myacc_table")
|
|
modparam("acc", "db_table_acc", "myacc_table")
|
|
|
|
+modparam("acc", "db_table_acc", "acc_$time(year)_$time(mon)")
|
|
</programlisting>
|
|
</programlisting>
|
|
</example>
|
|
</example>
|
|
</section>
|
|
</section>
|
|
<section>
|
|
<section>
|
|
<title><varname>db_table_missed_calls</varname> (string)</title>
|
|
<title><varname>db_table_missed_calls</varname> (string)</title>
|
|
<para>
|
|
<para>
|
|
- Table name for accounting missed calls -- database specific.
|
|
|
|
|
|
+ Table name for accounting missed calls -- database specific. It
|
|
|
|
+ can include config variables.
|
|
</para>
|
|
</para>
|
|
<para>
|
|
<para>
|
|
Default value is <quote>missed_calls</quote>
|
|
Default value is <quote>missed_calls</quote>
|
|
@@ -719,6 +722,7 @@ modparam("acc", "db_table_acc", "myacc_table")
|
|
<title>db_table_missed_calls example</title>
|
|
<title>db_table_missed_calls example</title>
|
|
<programlisting format="linespecific">
|
|
<programlisting format="linespecific">
|
|
modparam("acc", "db_table_missed_calls", "myMC_table")
|
|
modparam("acc", "db_table_missed_calls", "myMC_table")
|
|
|
|
+modparam("acc", "db_table_missed_calls", "mc_$time(year)_$time(mon)")
|
|
</programlisting>
|
|
</programlisting>
|
|
</example>
|
|
</example>
|
|
</section>
|
|
</section>
|
|
@@ -997,7 +1001,8 @@ acc_log_request("Some comment");
|
|
<para><emphasis>comment</emphasis> - Comment to be appended.</para>
|
|
<para><emphasis>comment</emphasis> - Comment to be appended.</para>
|
|
</listitem>
|
|
</listitem>
|
|
<listitem>
|
|
<listitem>
|
|
- <para><emphasis>table</emphasis> - Database table to be used.</para>
|
|
|
|
|
|
+ <para><emphasis>table</emphasis> - Database table to be used. It
|
|
|
|
+ can include config variables.</para>
|
|
</listitem>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</itemizedlist>
|
|
<para>
|
|
<para>
|
|
@@ -1007,7 +1012,8 @@ acc_log_request("Some comment");
|
|
<title>acc_db_request usage</title>
|
|
<title>acc_db_request usage</title>
|
|
<programlisting format="linespecific">
|
|
<programlisting format="linespecific">
|
|
...
|
|
...
|
|
-acc_log_request("Some comment", "Some table");
|
|
|
|
|
|
+acc_log_request("Some comment", "some_table");
|
|
|
|
+acc_log_request("200 ok", "acc_cfg_$time(year)");
|
|
...
|
|
...
|
|
</programlisting>
|
|
</programlisting>
|
|
</example>
|
|
</example>
|