From a3b376a178532508e595c7bb1ed9278351f9c0c4 Mon Sep 17 00:00:00 2001 From: Kamailio Dev Date: Mon, 24 Apr 2017 21:16:13 +0200 Subject: [PATCH] modules: readme files regenerated - modules ... [skip ci] --- src/modules/db_text/README | 59 ++++++++++++++------------------------ 1 file changed, 22 insertions(+), 37 deletions(-) diff --git a/src/modules/db_text/README b/src/modules/db_text/README index b6335d1ca2d..f25100e7c0a 100644 --- a/src/modules/db_text/README +++ b/src/modules/db_text/README @@ -43,9 +43,8 @@ Olle E. Johansson 4. Parameters 4.1. db_mode (integer) - 4.2. db_delim (string) - 4.3. emptystring (integer) - 4.4. file_buffer_size (integer) + 4.2. emptystring (integer) + 4.3. file_buffer_size (integer) 5. Exported RPC Functions @@ -63,14 +62,13 @@ Olle E. Johansson 1.2. Minimal Kamailio location dbtext table definition 1.3. Minimal Kamailio subscriber dbtext table example 1.4. Set db_mode parameter - 1.5. Set db_mode parameter - 1.6. Set emptystring parameter - 1.7. Set file_buffer_size parameter - 1.8. Load the dbtext module - 1.9. Definition of 'subscriber' table (one line) - 1.10. Definition of 'location' and 'aliases' tables (one line) - 1.11. Definition of 'version' table and sample records - 1.12. Configuration file + 1.5. Set emptystring parameter + 1.6. Set file_buffer_size parameter + 1.7. Load the dbtext module + 1.8. Definition of 'subscriber' table (one line) + 1.9. Definition of 'location' and 'aliases' tables (one line) + 1.10. Definition of 'version' table and sample records + 1.11. Configuration file Chapter 1. Admin Guide @@ -90,9 +88,8 @@ Chapter 1. Admin Guide 4. Parameters 4.1. db_mode (integer) - 4.2. db_delim (string) - 4.3. emptystring (integer) - 4.4. file_buffer_size (integer) + 4.2. emptystring (integer) + 4.3. file_buffer_size (integer) 5. Exported RPC Functions @@ -215,9 +212,8 @@ suser:supasswd:xxx:alpha.org:xxx 4. Parameters 4.1. db_mode (integer) - 4.2. db_delim (string) - 4.3. emptystring (integer) - 4.4. file_buffer_size (integer) + 4.2. emptystring (integer) + 4.3. file_buffer_size (integer) 4.1. db_mode (integer) @@ -233,18 +229,7 @@ suser:supasswd:xxx:alpha.org:xxx modparam("db_text", "db_mode", 1) ... -4.2. db_delim (string) - - Set the delimiter inside the db_text file. - - Default value is “:”. - - Example 1.5. Set db_mode parameter -... -modparam("db_text", "db_delim", "|") -... - -4.3. emptystring (integer) +4.2. emptystring (integer) db_text by default handles an empty string as a NULL value. Some modules, like the dialplan module, does not accept NULL strings. If you @@ -253,19 +238,19 @@ modparam("db_text", "db_delim", "|") Default value is “0” (off). - Example 1.6. Set emptystring parameter + Example 1.5. Set emptystring parameter ... modparam("db_text", "emptystring", 1) ... -4.4. file_buffer_size (integer) +4.3. file_buffer_size (integer) size of the buffer used to read the text file. Some presence tables have columns with large content. Default value is “16384” (off). - Example 1.7. Set file_buffer_size parameter + Example 1.6. Set file_buffer_size parameter ... modparam("db_text", "file_buffer_size", 8192) ... @@ -298,7 +283,7 @@ modparam("db_text", "file_buffer_size", 8192) database path. So, either you provide an absolute path to database directory or a relative one to “CFG_DIR” directory. - Example 1.8. Load the dbtext module + Example 1.7. Load the dbtext module ... loadmodule "/path/to/kamailio/modules_k/db_text.so" ... @@ -317,7 +302,7 @@ modparam("module_name", "db_url", "text:///path/to/dbtext/database") in order to have authentication. To use with the given configuration file, the table files must be placed in the '/tmp/serdb' directory. - Example 1.9. Definition of 'subscriber' table (one line) + Example 1.8. Definition of 'subscriber' table (one line) ... username(str) domain(str) password(str) first_name(str) last_name(str) phone(str ) email_address(str) datetime_created(int) datetime_modified(int) confirmation(s @@ -325,14 +310,14 @@ tr) flag(str) sendnotification(str) greeting(str) ha1(str) ha1b(str) perms(str) allow_find(str) timezone(str,null) rpid(str,null) ... - Example 1.10. Definition of 'location' and 'aliases' tables (one line) + Example 1.9. Definition of 'location' and 'aliases' tables (one line) ... username(str) domain(str,null) contact(str,null) received(str) expires(int,null) q(double,null) callid(str,null) cseq(int,null) last_modified(str) flags(int) us er_agent(str) socket(str) ... - Example 1.11. Definition of 'version' table and sample records + Example 1.10. Definition of 'version' table and sample records ... table_name(str) table_version(int) subscriber:3 @@ -340,7 +325,7 @@ location:6 aliases:6 ... - Example 1.12. Configuration file + Example 1.11. Configuration file ... # # $Id$