[sr-dev] git:master:01834fb2: registrar: docs for lookup_filter_mode parameter
Daniel-Constantin Mierla
miconda at gmail.com
Mon Apr 15 11:25:08 CEST 2019
Module: kamailio
Branch: master
Commit: 01834fb2ddfb993a8680eabd42e0715309abf0ba
URL: https://github.com/kamailio/kamailio/commit/01834fb2ddfb993a8680eabd42e0715309abf0ba
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-04-15T11:24:31+02:00
registrar: docs for lookup_filter_mode parameter
---
Modified: src/modules/registrar/doc/registrar_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/01834fb2ddfb993a8680eabd42e0715309abf0ba.diff
Patch: https://github.com/kamailio/kamailio/commit/01834fb2ddfb993a8680eabd42e0715309abf0ba.patch
---
diff --git a/src/modules/registrar/doc/registrar_admin.xml b/src/modules/registrar/doc/registrar_admin.xml
index a3c974203a..4ce4a6b995 100644
--- a/src/modules/registrar/doc/registrar_admin.xml
+++ b/src/modules/registrar/doc/registrar_admin.xml
@@ -999,6 +999,44 @@ end
</programlisting>
</example>
</section>
+ <section id="registrar.p.lookup_filter_mode">
+ <title><varname>lookup_filter_mode</varname> (int)</title>
+ <para>
+ Control what filters should be applied to lookup(...) operations.
+ It can be a combination (sum) of the next values:
+ </para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis>1</emphasis> - apply the branch flags filter - return
+ only contact records with branch flags matching at least one set
+ inside xavp specified by xavp_cfg parameter with inner name
+ rlf_bflags - e.g., $xavp(reg=>rlf_bflags).
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ <emphasis>
+ Default value is NULL (disabled).
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>xavp_cfg</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("registrar", "xavp_cfg", "reg")
+modparam("registrar", "lookup_filter_mode", 1)
+...
+request_route {
+ ...
+ $xavp(reg=>rlf_bflags) = 8;
+ if(lookup("location")) { ... }
+ ...
+}
+...
+ </programlisting>
+ </example>
+ </section>
</section>
More information about the sr-dev
mailing list