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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2018-07-05T12:27:00+02:00

uac: docs for uac_reg_enable() and uac_reg_disable()

---

Modified: src/modules/uac/doc/uac_admin.xml

---

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

---

diff --git a/src/modules/uac/doc/uac_admin.xml 
b/src/modules/uac/doc/uac_admin.xml
index 07d5467596..0daac1bdd2 100644
--- a/src/modules/uac/doc/uac_admin.xml
+++ b/src/modules/uac/doc/uac_admin.xml
@@ -901,6 +901,51 @@ failure_route[REMOTE_AUTH] {
                                </programlisting>
                        </example>
                </section>
+               <section id="uac.f.uac_reg_enable">
+                       <title>
+                               <function moreinfo="none">uac_reg_enable(attr, 
val)</function>
+                       </title>
+               <para>
+                       Enable a remote registration record based on a filter 
specified by
+                       attribute and value. The attribute can be: l_uuid, 
l_username,
+                       r_username or auth_username. The value is what should 
be matched
+                       against the value of the attribute in the remote 
registration record.
+               </para>
+               <para>
+                       The SIP processing is done on the next timer routine.
+               </para>
+               <example>
+               <title><function>uac_reg_enable</function> usage</title>
+                       <programlisting format="linespecific">
+...
+   uac_reg_enable("l_uuid", "account123");
+...
+                       </programlisting>
+               </example>
+               </section>
+
+               <section id="uac.f.uac_reg_disable">
+                       <title>
+                               <function moreinfo="none">uac_reg_disable(attr, 
val)</function>
+                       </title>
+               <para>
+                       Disable a remote registration record based on a filter 
specified by
+                       attribute and value. The attribute can be: l_uuid, 
l_username,
+                       r_username or auth_username. The value is what should 
be matched
+                       against the value of the attribute in the remote 
registration record.
+               </para>
+               <para>
+                       The SIP processing is done on the next timer routine.
+               </para>
+               <example>
+               <title><function>uac_reg_disable</function> usage</title>
+                       <programlisting format="linespecific">
+...
+   uac_reg_disable("l_uuid", "account123");
+...
+                       </programlisting>
+               </example>
+               </section>
        </section>
        <section>
                <title>Pseudo Variables</title>


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to