Module: kamailio
Branch: master
Commit: 3c980e1a820bd5981b8f68e393a8404131b49bec
URL:
https://github.com/kamailio/kamailio/commit/3c980e1a820bd5981b8f68e393a8404…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-09-02T16:43:59+02:00
uac: docs - updates about use of auth_ha1 for remote registrations
- added docs for rpc uac.reg_add command
---
Modified: src/modules/uac/doc/uac_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/3c980e1a820bd5981b8f68e393a8404…
Patch:
https://github.com/kamailio/kamailio/commit/3c980e1a820bd5981b8f68e393a8404…
---
diff --git a/src/modules/uac/doc/uac_admin.xml b/src/modules/uac/doc/uac_admin.xml
index 3ac4cc2a17..e6211d398b 100644
--- a/src/modules/uac/doc/uac_admin.xml
+++ b/src/modules/uac/doc/uac_admin.xml
@@ -1278,6 +1278,43 @@ event_route[uac:reply] {
</example>
</section>
+ <section id="uac.r.uac.reg_add">
+ <para>
+ Add a new UAC remote registration record. If one with the same
+ unique id is found, it is deleted.
+ </para>
+ <para>
+ The parameters are:
+ <itemizedlist>
+ <listitem><para>l_uuid</para></listitem>
+ <listitem><para>l_username</para></listitem>
+ <listitem><para>l_domain</para></listitem>
+ <listitem><para>r_username</para></listitem>
+ <listitem><para>r_domain</para></listitem>
+ <listitem><para>realm</para></listitem>
+ <listitem><para>auth_username</para></listitem>
+ <listitem><para>auth_password</para></listitem>
+ <listitem><para>auth_ha1</para></listitem>
+ <listitem><para>auth_proxy</para></listitem>
+ <listitem><para>expires</para></listitem>
+ <listitem><para>flags</para></listitem>
+ <listitem><para>reg_delay</para></listitem>
+ <listitem><para>socket</para></listitem>
+ </itemizedlist>
+ </para>
+ <para>
+ Use a dot (.) if no value should be set for auth_password or auth_ha1.
+ </para>
+
+ <example>
+ <title><function>uac.reg_add</function> usage</title>
+ <programlisting format="linespecific">
+...
+ kamcmd uac.reg_add ...
+...
+ </programlisting>
+ </example>
+
</section>
<section>
@@ -1331,8 +1368,14 @@ event_route[uac:reply] {
</itemizedlist>
<itemizedlist>
<listitem><para>
- <emphasis>auth_password</emphasis> - authentication password,
- e.g.,: xxxxxx
+ <emphasis>auth_password</emphasis> - authentication password in
+ clear text, e.g.,: xxxxxx
+ </para></listitem>
+ </itemizedlist>
+ <itemizedlist>
+ <listitem><para>
+ <emphasis>auth_ha1</emphasis> - hashed (HA1) authentication password,
+ it has priority over auth_password.
</para></listitem>
</itemizedlist>
<itemizedlist>