|
@@ -89,7 +89,7 @@
|
|
|
|
|
|
<section>
|
|
|
<title>Parameters</title>
|
|
|
- <section>
|
|
|
+ <section id="cplc.p.db_url">
|
|
|
<title><varname>db_url</varname> (string)</title>
|
|
|
<para>
|
|
|
A SQL URL have to be given to the module for knowing where the
|
|
@@ -111,7 +111,7 @@ modparam("cpl-c","db_url","&exampledb;")
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|
|
|
- <section>
|
|
|
+ <section id="cplc.p.db_table">
|
|
|
<title><varname>db_table</varname> (string)</title>
|
|
|
<para>
|
|
|
Indicates the name of the table that store the CPL scripts.
|
|
@@ -133,7 +133,7 @@ modparam("cpl-c","cpl_table","cpl")
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|
|
|
- <section>
|
|
|
+ <section id="cplc.p.username_column">
|
|
|
<title><varname>username_column</varname> (string)</title>
|
|
|
<para>
|
|
|
Indicates the name of the column used for storing the username.
|
|
@@ -152,7 +152,7 @@ modparam("cpl-c","username_column","username")
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|
|
|
- <section>
|
|
|
+ <section id="cplc.p.domain_column">
|
|
|
<title><varname>domain_column</varname> (string)</title>
|
|
|
<para>
|
|
|
Indicates the name of the column used for storing the domain.
|
|
@@ -171,7 +171,7 @@ modparam("cpl-c","domain_column","domain")
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|
|
|
- <section>
|
|
|
+ <section id="cplc.p.xml_column">
|
|
|
<title><varname>cpl_xml_column</varname> (string)</title>
|
|
|
<para>
|
|
|
Indicates the name of the column used for storing the
|
|
@@ -191,7 +191,7 @@ modparam("cpl-c","cpl_xml_column","cpl_xml")
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|
|
|
- <section>
|
|
|
+ <section id="cplc.p.bin_column">
|
|
|
<title><varname>cpl_bin_column</varname> (string)</title>
|
|
|
<para>
|
|
|
Indicates the name of the column used for storing the
|
|
@@ -211,7 +211,7 @@ modparam("cpl-c","cpl_bin_column","cpl_bin")
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|
|
|
- <section>
|
|
|
+ <section id="cplc.p.dtd_file">
|
|
|
<title><varname>cpl_dtd_file</varname> (string)</title>
|
|
|
<para>
|
|
|
Points to the DTD file describing the CPL grammar. The file
|
|
@@ -233,7 +233,7 @@ modparam("cpl-c","cpl_dtd_file","/etc/kamailio/cpl-06.dtd")
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|
|
|
- <section>
|
|
|
+ <section id="cplc.p.log_dir">
|
|
|
<title><varname>log_dir</varname> (string)</title>
|
|
|
<para>
|
|
|
Points to a directory where should be created all the log file
|
|
@@ -255,7 +255,7 @@ modparam("cpl-c","log_dir","/var/log/kamailio/cpl")
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|
|
|
- <section>
|
|
|
+ <section id="cplc.p.proxy_recurse">
|
|
|
<title><varname>proxy_recurse</varname> (int)</title>
|
|
|
<para>
|
|
|
Tells for how many time is allow to have recurse for PROXY CPL
|
|
@@ -279,7 +279,7 @@ modparam("cpl-c","proxy_recurse",2)
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|
|
|
- <section>
|
|
|
+ <section id="cplc.p.proxy_route">
|
|
|
<title><varname>proxy_route</varname> (string)</title>
|
|
|
<para>
|
|
|
Before doing proxy (forward), a script route can be executed.
|
|
@@ -300,7 +300,7 @@ modparam("cpl-c","proxy_route","1")
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|
|
|
- <section>
|
|
|
+ <section id="cplc.p.case_sensitive">
|
|
|
<title><varname>case_sensitive</varname> (int)</title>
|
|
|
<para>
|
|
|
Tells if the username matching should be perform case
|
|
@@ -321,7 +321,7 @@ modparam("cpl-c","case_sensitive",1)
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|
|
|
- <section>
|
|
|
+ <section id="cplc.p.realm_prefix">
|
|
|
<title><varname>realm_prefix</varname> (string)</title>
|
|
|
<para>
|
|
|
Defines a prefix for the domain part which should be ignored
|
|
@@ -341,7 +341,7 @@ modparam("cpl-c","realm_prefix","sip.")
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|
|
|
- <section>
|
|
|
+ <section id="cplc.p.timer_avp">
|
|
|
<title><varname>timer_avp</varname> (string)</title>
|
|
|
<para>
|
|
|
Full specification (ID, NAME, ALIAS) of the AVP to be used to
|
|
@@ -366,7 +366,7 @@ modparam("cpl-c","timer_avp","$avp(i:14)")
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|
|
|
- <section>
|
|
|
+ <section id="cplc.p.lookup_domain">
|
|
|
<title><varname>lookup_domain</varname> (string)</title>
|
|
|
<para>
|
|
|
Used by lookup tag to indicate where to perform user location.
|
|
@@ -391,7 +391,7 @@ modparam("cpl-c","lookup_domain","location")
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|
|
|
- <section>
|
|
|
+ <section id="cplc.p.lookup_append_branches">
|
|
|
<title><varname>lookup_append_branches</varname> (int)</title>
|
|
|
<para>
|
|
|
Tells if the lookup tag should append branches (to do parallel
|
|
@@ -414,7 +414,7 @@ modparam("cpl-c","lookup_append_branches",1)
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|
|
|
- <section>
|
|
|
+ <section id="cplc.p.use_domain">
|
|
|
<title><varname>use_domain</varname> (integer)</title>
|
|
|
<para>
|
|
|
Indicates if the domain part of the URI should be used in
|
|
@@ -441,7 +441,7 @@ modparam("cpl-c","use_domain",1)
|
|
|
|
|
|
<section>
|
|
|
<title>Functions</title>
|
|
|
- <section>
|
|
|
+ <section id="cplc.f.cpl_run_script">
|
|
|
<title>
|
|
|
<function moreinfo="none">cpl_run_script(type,mode, [uri])</function>
|
|
|
</title>
|
|
@@ -539,7 +539,7 @@ cpl_run_script("incoming","force_stateful");
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|
|
|
- <section>
|
|
|
+ <section id="cplc.f.process_register">
|
|
|
<title>
|
|
|
<function moreinfo="none">cpl_process_register()</function>
|
|
|
</title>
|
|
@@ -578,7 +578,7 @@ if (method=="REGISTER") {
|
|
|
</programlisting>
|
|
|
</example>
|
|
|
</section>
|
|
|
- <section>
|
|
|
+ <section id="cplc.p.process_register_norpl">
|
|
|
<title>
|
|
|
<function moreinfo="none">cpl_process_register_norpl()
|
|
|
</function>
|