[sr-dev] git:master:36320b7a: nathelper: docs for alias_name parameter

Daniel-Constantin Mierla miconda at gmail.com
Mon Jan 31 19:33:05 CET 2022


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-01-31T19:32:35+01:00

nathelper: docs for alias_name parameter

---

Modified: src/modules/nathelper/doc/nathelper_admin.xml

---

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

---

diff --git a/src/modules/nathelper/doc/nathelper_admin.xml b/src/modules/nathelper/doc/nathelper_admin.xml
index 832e324819..d0e8a18ea4 100644
--- a/src/modules/nathelper/doc/nathelper_admin.xml
+++ b/src/modules/nathelper/doc/nathelper_admin.xml
@@ -508,6 +508,27 @@ modparam("nathelper", "filter_server_id", 1)
 ...
 modparam("nathelper", "nat_addr_mode", 0)
 ...
+</programlisting>
+		</example>
+	</section>
+	<section id="nathelper.p.alias_name">
+		<title><varname>alias_name</varname> (string)</title>
+		<para>
+			The parameter sets the name of the Contact URI parameter set by
+			set_contact_alias() or add_contact_alias() and processed by
+			handle_ruri_alias() in R-URI.
+		</para>
+		<para>
+		<emphasis>
+			Default value is <quote>alias</quote>.
+		</emphasis>
+		</para>
+		<example>
+		<title>Set <varname>alias_name</varname> parameter</title>
+		<programlisting format="linespecific">
+...
+modparam("nathelper", "alias_name", "saddr")
+...
 </programlisting>
 		</example>
 	</section>




More information about the sr-dev mailing list