Skip to content

Commit

Permalink
db_text: docs - removed trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Nov 13, 2023
1 parent 5643032 commit 3c085a3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions src/modules/db_text/doc/db_text.xml
Expand Up @@ -41,9 +41,9 @@
</copyright>
</bookinfo>
<toc></toc>

<xi:include href="db_text_admin.xml"/>
<xi:include href="db_text_devel.xml"/>


</book>
24 changes: 12 additions & 12 deletions src/modules/db_text/doc/db_text_admin.xml
Expand Up @@ -52,8 +52,8 @@
<para>
NOTE: when you use <emphasis>dbtext</emphasis> in &kamailio;,
the database URL for modules must be the path to the directory
where the table-files are located, prefixed by
<quote>text://</quote>, e.g.,
where the table-files are located, prefixed by
<quote>text://</quote>, e.g.,
<quote>text:///var/dbtext/ser</quote>. If there is no
<quote>/</quote> after <quote>text://</quote> then
<quote>CFG_DIR/</quote> is inserted at the beginning of the
Expand Down Expand Up @@ -87,19 +87,19 @@
</listitem>
<listitem>
<para>
the format of a column definition is:
the format of a column definition is:
<emphasis>name(type,attr)</emphasis>.
</para>
</listitem>
<listitem>
<para>
between two column definitions must be a white space, e.g.,
between two column definitions must be a white space, e.g.,
<quote>first_name(str) last_name(str)</quote>.
</para>
</listitem>
<listitem>
<para>
the type of a column can be:
the type of a column can be:
<itemizedlist>
<listitem>
<para>
Expand All @@ -122,7 +122,7 @@
</listitem>
<listitem>
<para>
a column can have one of the attributes:
a column can have one of the attributes:
<itemizedlist>
<listitem>
<para>
Expand Down Expand Up @@ -295,7 +295,7 @@ modparam("db_text", "db_delim", "|")
<para>
connection for use with rpc query command.
</para>

<para>
<emphasis>
Default value is <quote>none</quote> (off).
Expand Down Expand Up @@ -411,11 +411,11 @@ modparam("db_text", "max_result_rows", 1000000)
REMINDER: when you use <emphasis>text</emphasis> in &kamailio;,
the database URL for modules must be the path to the directory
where the table-files are located, prefixed by
<quote>text://</quote>, e.g.,
<quote>text://</quote>, e.g.,
<quote>text:///var/dbtext/ser</quote>. If there is no <quote>/</quote>
after <quote>text://</quote> then <quote>CFG_DIR/</quote> is inserted
at the beginning of the database path. So, either you provide an
absolute path to database directory or a relative one to
absolute path to database directory or a relative one to
<quote>CFG_DIR</quote> directory.
</para>
<example>
Expand All @@ -431,14 +431,14 @@ modparam("module_name", "db_url", "text:///path/to/dbtext/database")
<section>
<title>Using db_text with a basic &kamailio; configuration</title>
<para>
Here are definitions for the most important tables as well as a basic
Here are definitions for the most important tables as well as a basic
configuration file to use db_text with &kamailio;. The table structures
may change in time and you will have to adjust these examples. Check the
source code directory <quote>utils/kamctl/dbtext/kamailio</quote> for
current definitions.
</para>
<para>
You have to populate the table 'subscriber' by hand with user profiles
You have to populate the table 'subscriber' by hand with user profiles
in order to have authentication. To use with the given configuration
file, the table files must be placed in the '/tmp/serdb' directory.
</para>
Expand All @@ -454,7 +454,7 @@ username(str) domain(str) password(str) first_name(str) last_name(str) phone(str
<title>Definition of 'location' and 'aliases' tables (one line)</title>
<programlisting format="linespecific">
...
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) user_agent(str) socket(str)
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) user_agent(str) socket(str)
...
</programlisting>
</example>
Expand Down
2 changes: 1 addition & 1 deletion src/modules/db_text/doc/db_text_devel.xml
Expand Up @@ -11,7 +11,7 @@
<!-- Module Developer's Guide -->

<chapter>

<title>&develguide;</title>
<para>
Once you have the module loaded, you can use the API specified by &kamailio; DB
Expand Down

0 comments on commit 3c085a3

Please sign in to comment.