Browse Source

modules: readme files regenerated - db_flatstore ... [skip ci]

Kamailio Dev 8 years ago
parent
commit
08f817957d
1 changed files with 24 additions and 5 deletions
  1. 24 5
      src/modules/db_flatstore/README

+ 24 - 5
src/modules/db_flatstore/README

@@ -5,7 +5,14 @@ Jan Janak
    FhG FOKUS
    FhG FOKUS
    <[email protected]>
    <[email protected]>
 
 
+Julien Chavanton
+
+   Flowroute
+   <[email protected]>
+
    Copyright © 2004, 2005 FhG FOKUS
    Copyright © 2004, 2005 FhG FOKUS
+
+   Copyright © 2017 Flowroute
      __________________________________________________________________
      __________________________________________________________________
 
 
    Table of Contents
    Table of Contents
@@ -19,6 +26,7 @@ Jan Janak
         2. Parameters
         2. Parameters
 
 
               2.1. flush (integer)
               2.1. flush (integer)
+              2.2. encode_delimiter (integer)
 
 
 Chapter 1. Admin Guide
 Chapter 1. Admin Guide
 
 
@@ -31,6 +39,7 @@ Chapter 1. Admin Guide
    2. Parameters
    2. Parameters
 
 
         2.1. flush (integer)
         2.1. flush (integer)
+        2.2. encode_delimiter (integer)
 
 
 1. Overview
 1. Overview
 
 
@@ -81,10 +90,11 @@ modparam("acc", "db_url", "flatstore:/var/log/acc")
 1.1. Rotating Log Files
 1.1. Rotating Log Files
 
 
    The module implements a Kamailio management interface command called
    The module implements a Kamailio management interface command called
-   flatstore.rotate. When Kamailio receives the command it will close and
-   reopen all files used by the db_flatstore module. The rotation itself
-   has to be done by another application (such as logrotate). Follow these
-   steps to rotate files generated by the db_flatstore module:
+   flatstore.k_rotate. When Kamailio receives the command it will close
+   and reopen all files used by the db_flatstore module. The rotation
+   itself has to be done by another application (such as logrotate).
+   Follow these steps to rotate files generated by the db_flatstore
+   module:
      * Rename the files that you want to rotate:
      * Rename the files that you want to rotate:
 cd /var/log/acc
 cd /var/log/acc
 mv acc_1.log acc_1.log.20050605
 mv acc_1.log acc_1.log.20050605
@@ -95,7 +105,7 @@ mv acc_4.log acc_3.log.20050605
        into the renamed files.
        into the renamed files.
      * Send Kamailio the management command to close and reopen the
      * Send Kamailio the management command to close and reopen the
        renamed files:
        renamed files:
-kamcmd flatstore.rotate
+kamcmd flatstore.k_rotate
        This will force Kamailio to close the renamed files and open new
        This will force Kamailio to close the renamed files and open new
        ones with original names, such as acc_1.log. New files will be open
        ones with original names, such as acc_1.log. New files will be open
        at the point when Kamailio has some data to write. It is normal
        at the point when Kamailio has some data to write. It is normal
@@ -106,9 +116,18 @@ kamcmd flatstore.rotate
 2. Parameters
 2. Parameters
 
 
    2.1. flush (integer)
    2.1. flush (integer)
+   2.2. encode_delimiter (integer)
 
 
 2.1. flush (integer)
 2.1. flush (integer)
 
 
    Enable or disable flushing after each write.
    Enable or disable flushing after each write.
 
 
    Default value is 1.
    Default value is 1.
+
+2.2. encode_delimiter (integer)
+
+   Enable or disable encoding tof the escaped character using ""%" HEX
+   HEX" mechanism for escaping from RFC 2396
+
+   Default value is 1. Default delimiter '|' is replaced with %7C if found
+   in any string