File: cfg_db_params.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 (60 lines) | stat: -rw-r--r-- 1,719 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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
	"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [

<!ENTITY % docentities SYSTEM "../../../docbook/entities.xml">
%docentities;

]>

<section id="cfg_db.parameters" xmlns:xi="http://www.w3.org/2001/XInclude">

	<title>Parameters</title>

	<section id="db_url">
		<title><varname>db_url</varname> (string)</title>
		<para>
		Default database URL. 
		</para>
		<para>
		The format is:
		</para>
		<programlisting>
		db_url = database
		</programlisting>
		<example>
			<title>Example <varname>db_url</varname></title>
			<programlisting>
loadmodule("mysql.so");
loadmodule("cfg_db.so");
...
modparam("cfg_db", "db_url", "mysql://&ser;:123@127.0.0.1:12345/&ser;");
...
			</programlisting>
		</example>
	</section>

	<section id="transl_tbl">
		<title><varname>transl_tbl</varname> (string) := "cfg_transl"</title>
		<para>
		Name of table used for pointing group_name+name into
		configuration table. If empty/null field values are found
		then default values will be used. The default
		values are declared in record having <emphasis>group_name</emphasis>
		called <emphasis>&lt;default&gt;</emphasis>. The C-code
		"absolutely" default values ("cfg_var", "group_name", "name", "value").
		The other keyword is asterisk <emphasis>*</emphasis> which matches
		all parameters and will be used if parameter is not
		explicitely mentioned.
		</para>		
	</section>
	<section id="custom_tbl">
		<title><varname>custom_tbl</varname> (string) := "cfg_custom"</title>
		<para>
		Name of table used for extra param declaration (group_name, name,
		type, min/max value, description).
		</para>		
	</section>		
</section>