[sr-dev] git:master:f4fa77ac: domain: added section ids for parameters and functions in docs

Daniel-Constantin Mierla miconda at gmail.com
Tue Apr 25 18:18:44 CEST 2017


Module: kamailio
Branch: master
Commit: f4fa77ac0611b0dd96b992210ec1901145b1397c
URL: https://github.com/kamailio/kamailio/commit/f4fa77ac0611b0dd96b992210ec1901145b1397c

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-04-25T18:07:19+02:00

domain: added section ids for parameters and functions in docs

---

Modified: src/modules/domain/doc/domain_admin.xml

---

Diff:  https://github.com/kamailio/kamailio/commit/f4fa77ac0611b0dd96b992210ec1901145b1397c.diff
Patch: https://github.com/kamailio/kamailio/commit/f4fa77ac0611b0dd96b992210ec1901145b1397c.patch

---

diff --git a/src/modules/domain/doc/domain_admin.xml b/src/modules/domain/doc/domain_admin.xml
index 7892b5c..c0c99bd 100644
--- a/src/modules/domain/doc/domain_admin.xml
+++ b/src/modules/domain/doc/domain_admin.xml
@@ -51,7 +51,7 @@
 
 	<section>
 	<title>Parameters</title>
-	<section>
+	<section id="domain.p.db_url">
 		<title><varname>db_url</varname> (string)</title>
 		<para>
 		This is <acronym>URL</acronym> of the database to be used.
@@ -67,7 +67,7 @@ modparam("domain", "db_url", "mysql://ser:pass@db_host/ser")
 </programlisting>
 		</example>
 	</section>
-	<section>
+	<section id="domain.p.domain_table">
 		<title><varname>domain_table</varname> (string)</title>
 		<para>
 		Name of table containing names of local domains that the proxy is
@@ -83,7 +83,7 @@ modparam("domain", "domain_table", "new_name")
 </programlisting>
 		</example>
 	</section>
-	<section>
+	<section id="domain.p.domain_attrs_table">
 		<title><varname>domain_attrs_table</varname> (string)</title>
 		<para>
 		Name of table containing attributes of local domains.
@@ -98,7 +98,7 @@ modparam("domain", "domain_attrs_table", "local_domain_attributes")
 </programlisting>
 		</example>
 	</section>
-	<section>
+	<section id="domain.p.did_col">
 		<title><varname>did_col</varname> (string)</title>
 		<para>
 		Name of column containing domain id (did) of domain in domain
@@ -116,7 +116,7 @@ modparam("domain", "did_col", "domain_did")
 </programlisting>
 		</example>
 	</section>
-	<section>
+	<section id="domain.p.domain_col">
 		<title><varname>domain_col</varname> (string)</title>
 		<para>
 		Name of column containing domain name in domain table.
@@ -131,7 +131,7 @@ modparam("domain", "domain_col", "domain_name")
 </programlisting>
 		</example>
 	</section>
-	<section>
+	<section id="domain.p.name_col">
 		<title><varname>name_col</varname> (string)</title>
 		<para>
 		Name of column containing attribute name in domain_attrs table.
@@ -146,7 +146,7 @@ modparam("domain", "name_col", "attr_name")
 </programlisting>
 		</example>
 	</section>
-	<section>
+	<section id="domain.p.type_col">
 		<title><varname>type_col</varname> (string)</title>
 		<para>
 		Name of column containing attribute type in domain_attrs table.
@@ -162,7 +162,7 @@ modparam("domain", "type_col", "attr_type")
 </programlisting>
 		</example>
 	</section>
-	<section>
+	<section id="domain.p.value_col">
 		<title><varname>value_col</varname> (string)</title>
 		<para>
 		Name of column containing attribute value in domain_attrs table.
@@ -177,7 +177,7 @@ modparam("domain", "value_col", "attr_value")
 </programlisting>
 		</example>
 	</section>
-	<section>
+	<section id="domain.p.register_myself">
 		<title><varname>register_myself</varname> (integer)</title>
 		<para>
 			Register the list of domains to match 'myself' check:
@@ -199,7 +199,7 @@ modparam("domain", "register_myself", 1)
 	</section>
 	<section>
 	<title>Functions</title>
-	<section>
+	<section id="domain.f.is_from_local">
 		<title><function moreinfo="none">is_from_local()</function></title>
 		<para>
 		Checks based on domain table if host part of From header uri is
@@ -220,7 +220,7 @@ if (is_from_local()) {
 		</programlisting>
 		</example>
 	</section>
-	<section>
+	<section id="domain.f.is_uri_host_local">
 		<title><function moreinfo="none">is_uri_host_local()</function></title>
 		<para>
 		If called from route or failure route block, checks
@@ -246,7 +246,7 @@ if (is_uri_host_local()) {
 		</programlisting>
 		</example>
 	</section>
-	<section>
+	<section id="domain.f.is_domain_local">
 		<title><function moreinfo="none">is_domain_local(pseudo_variable)</function></title>
 		<para>
 		This function checks if the domain contained in the
@@ -294,7 +294,7 @@ if (is_domain_local("$avp(s:some_avp)")) {
 		</programlisting>
 		</example>
 	</section>
-	<section>
+	<section id="domain.f.lookup_domain">
 		<title><function moreinfo="none">lookup_domain(domain[, prefix])</function></title>
 		<para>
 		This function checks if domain given in




More information about the sr-dev mailing list