Module: kamailio
Branch: master
Commit: 890ebc6f0194e7010130a1e17e720799cf6722e1
URL:
https://github.com/kamailio/kamailio/commit/890ebc6f0194e7010130a1e17e72079…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2020-07-08T18:01:26+02:00
modules: readme files regenerated - nathelper ... [skip ci]
---
Modified: src/modules/nathelper/README
---
Diff:
https://github.com/kamailio/kamailio/commit/890ebc6f0194e7010130a1e17e72079…
Patch:
https://github.com/kamailio/kamailio/commit/890ebc6f0194e7010130a1e17e72079…
---
diff --git a/src/modules/nathelper/README b/src/modules/nathelper/README
index 4cfe36880b..7398c702a5 100644
--- a/src/modules/nathelper/README
+++ b/src/modules/nathelper/README
@@ -67,7 +67,7 @@ Ovidiu Sas
5.6. is_rfc1918(ip_address)
5.7. add_contact_alias([ip_addr, port, proto])
5.8. handle_ruri_alias()
- 5.9. set_contact_alias()
+ 5.9. set_contact_alias([trim])
5.10. set_alias_to_pv(target_avp)
6. Exported Pseudo Variables
@@ -158,7 +158,7 @@ Chapter 1. Admin Guide
5.6. is_rfc1918(ip_address)
5.7. add_contact_alias([ip_addr, port, proto])
5.8. handle_ruri_alias()
- 5.9. set_contact_alias()
+ 5.9. set_contact_alias([trim])
5.10. set_alias_to_pv(target_avp)
6. Exported Pseudo Variables
@@ -498,7 +498,7 @@ modparam("nathelper", "nat_addr_mode", 0)
5.6. is_rfc1918(ip_address)
5.7. add_contact_alias([ip_addr, port, proto])
5.8. handle_ruri_alias()
- 5.9. set_contact_alias()
+ 5.9. set_contact_alias([trim])
5.10. set_alias_to_pv(target_avp)
5.1. fix_nated_contact()
@@ -700,13 +700,19 @@ if(is_rfc1918("$rd")) {
};
...
-5.9. set_contact_alias()
+5.9. set_contact_alias([trim])
Adds an “;alias=ip~port~transport” parameter to the contact URI
containing the received ip, port, and transport protocol. The new
contact URI is immediately visible to other modules in the way the
fix_nated_contact() does it.
+ Meaning of parameters:
+ * trim - by default, set_contact_alias() will not detect and trim an
+ already existing alias parameter. If this optional parameter is set
+ to "1", set_contact_alias() will trim the existing alias before
+ adding a new one.
+
This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE,
BRANCH_ROUTE, and FAILURE_ROUTE.