Module: kamailio Branch: master Commit: 08f817957d1f262aaf5ef4b927c1e9c64a70ec9c URL: https://github.com/kamailio/kamailio/commit/08f817957d1f262aaf5ef4b927c1e9c64a70ec9c
Author: Kamailio Dev <kamailio....@kamailio.org> Committer: Kamailio Dev <kamailio....@kamailio.org> Date: 2017-10-09T16:31:28+02:00 modules: readme files regenerated - db_flatstore ... [skip ci] --- Modified: src/modules/db_flatstore/README --- Diff: https://github.com/kamailio/kamailio/commit/08f817957d1f262aaf5ef4b927c1e9c64a70ec9c.diff Patch: https://github.com/kamailio/kamailio/commit/08f817957d1f262aaf5ef4b927c1e9c64a70ec9c.patch --- diff --git a/src/modules/db_flatstore/README b/src/modules/db_flatstore/README index a8d45e8d9e..16164ce65d 100644 --- a/src/modules/db_flatstore/README +++ b/src/modules/db_flatstore/README @@ -5,7 +5,14 @@ Jan Janak FhG FOKUS <j...@iptel.org> +Julien Chavanton + + Flowroute + <jchavan...@gmail.com> + Copyright © 2004, 2005 FhG FOKUS + + Copyright © 2017 Flowroute __________________________________________________________________ Table of Contents @@ -19,6 +26,7 @@ Jan Janak 2. Parameters 2.1. flush (integer) + 2.2. encode_delimiter (integer) Chapter 1. Admin Guide @@ -31,6 +39,7 @@ Chapter 1. Admin Guide 2. Parameters 2.1. flush (integer) + 2.2. encode_delimiter (integer) 1. Overview @@ -81,10 +90,11 @@ modparam("acc", "db_url", "flatstore:/var/log/acc") 1.1. Rotating Log Files 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: cd /var/log/acc mv acc_1.log acc_1.log.20050605 @@ -95,7 +105,7 @@ mv acc_4.log acc_3.log.20050605 into the renamed files. * Send Kamailio the management command to close and reopen the renamed files: -kamcmd flatstore.rotate +kamcmd flatstore.k_rotate 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 at the point when Kamailio has some data to write. It is normal @@ -106,9 +116,18 @@ kamcmd flatstore.rotate 2. Parameters 2.1. flush (integer) + 2.2. encode_delimiter (integer) 2.1. flush (integer) Enable or disable flushing after each write. 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
_______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev