Module: kamailio
Branch: master
Commit: 46b713d35ebb99ccb60768d939d71f675bd016f5
URL:
https://github.com/kamailio/kamailio/commit/46b713d35ebb99ccb60768d939d71f6…
Author: Yasin CANER <caner_yaso(a)hotmail.com>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-11-25T20:33:30+01:00
nathelper : added doc for set_alias_to_avp
added documents for set_alias_to_avp function
---
Modified: src/modules/nathelper/doc/nathelper_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/46b713d35ebb99ccb60768d939d71f6…
Patch:
https://github.com/kamailio/kamailio/commit/46b713d35ebb99ccb60768d939d71f6…
---
diff --git a/src/modules/nathelper/doc/nathelper_admin.xml
b/src/modules/nathelper/doc/nathelper_admin.xml
index b5a5b08167..d983e99aa4 100644
--- a/src/modules/nathelper/doc/nathelper_admin.xml
+++ b/src/modules/nathelper/doc/nathelper_admin.xml
@@ -823,6 +823,27 @@ if(is_rfc1918("$rd")) {
</programlisting>
</example>
</section>
+ <section id="nathelper.set_alias_to_avp">
+ <title>
+ <function
moreinfo="none">set_alias_to_avp(target_avp)</function>
+ </title>
+ <para>
+ Reads <quote>;alias=ip~port~transport</quote> from Contact header then
+ writes to target avp as a sip uri.
+ </para>
+ <para>
+ This function can be used from
+ REQUEST_ROUTE, ONREPLY_ROUTE, BRANCH_ROUTE, and FAILURE_ROUTE.
+ </para>
+ <example>
+ <title><function>set_alias_to_avp</function> usage</title>
+ <programlisting format="linespecific">
+...
+ set_alias_to_avp("$avp(aliasuri)");
+...
+ </programlisting>
+ </example>
+ </section>
</section>