File: matrix_db.xml

package info (click to toggle)
kamailio 4.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 56,100 kB
  • sloc: ansic: 552,832; xml: 166,484; sh: 8,659; makefile: 7,676; sql: 6,235; perl: 3,487; yacc: 3,428; python: 1,457; cpp: 1,219; php: 1,047; java: 449; pascal: 194; cs: 40; awk: 27
file content (89 lines) | stat: -rw-r--r-- 2,696 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding='ISO-8859-1'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [

<!-- Include general documentation entities -->
<!ENTITY % docentities SYSTEM "../../../docbook/entities.xml">
%docentities;

]>

<!--
WARNING:
This file was autogenerated from the XML source file
../../modules/matrix/doc/kamailio-matrix.xml.
It can be regenerated by running 'make dbdoc' in the db/schema
directory of the source code. You need to have xsltproc and
docbook-xsl stylesheets installed.
ALL CHANGES DONE HERE WILL BE LOST IF THE FILE IS REGENERATED
-->

<chapter>
  <title>Module parameter for database access.</title>
  <section>
    <title><varname>db_url</varname> (String)</title>
    <para>URL to the database containing the data.</para>
    <para>
      <emphasis>Default value is <quote>&defaultrodb;</quote>.</emphasis>
    </para>
    <example>
      <title>Set <varname>db_url</varname> parameter</title>
      <programlisting format="linespecific">
...
modparam("matrix", "db_url", "dbdriver://username:password@dbhost/dbname")
...
</programlisting>
    </example>
  </section>
  <section>
    <title><varname>matrix_table</varname> (String)</title>
    <para>Name of the matrix table for the matrix module.</para>
    <para>
      <emphasis>Default value is <quote>matrix</quote>.</emphasis>
    </para>
    <example>
      <title>Set <varname>matrix_table</varname> parameter</title>
      <programlisting format="linespecific">
...
modparam("matrix", "matrix_table", "matrix")
...
</programlisting>
    </example>
  </section>
  <section>
    <title><varname>matrix_first_col</varname> (string)</title>
    <para>The row index in the matrix</para>
    <example>
      <title>Set <varname>matrix_first_col</varname> parameter</title>
      <programlisting format="linespecific">
...
modparam("matrix", "matrix_first_col", "first")
...
</programlisting>
    </example>
  </section>
  <section>
    <title><varname>matrix_second_col</varname> (string)</title>
    <para>The column index in the matrix</para>
    <example>
      <title>Set <varname>matrix_second_col</varname> parameter</title>
      <programlisting format="linespecific">
...
modparam("matrix", "matrix_second_col", "second")
...
</programlisting>
    </example>
  </section>
  <section>
    <title><varname>matrix_res_col</varname> (string)</title>
    <para>The resource contained in the matrix</para>
    <example>
      <title>Set <varname>matrix_res_col</varname> parameter</title>
      <programlisting format="linespecific">
...
modparam("matrix", "matrix_res_col", "res")
...
</programlisting>
    </example>
  </section>
</chapter>