Module: kamailio Branch: master Commit: 9322a98cd451fa470c8ff93f85758f41c4fc6bce URL: https://github.com/kamailio/kamailio/commit/9322a98cd451fa470c8ff93f85758f41...
Author: Kamailio Dev kamailio.dev@kamailio.org Committer: Kamailio Dev kamailio.dev@kamailio.org Date: 2020-07-03T19:31:10+02:00
modules: readme files regenerated - nathelper ... [skip ci]
---
Modified: src/modules/nathelper/README
---
Diff: https://github.com/kamailio/kamailio/commit/9322a98cd451fa470c8ff93f85758f41... Patch: https://github.com/kamailio/kamailio/commit/9322a98cd451fa470c8ff93f85758f41...
---
diff --git a/src/modules/nathelper/README b/src/modules/nathelper/README index 7398c702a5..4cfe36880b 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([trim]) + 5.9. set_contact_alias() 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([trim]) + 5.9. set_contact_alias() 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([trim]) + 5.9. set_contact_alias() 5.10. set_alias_to_pv(target_avp)
5.1. fix_nated_contact() @@ -700,19 +700,13 @@ if(is_rfc1918("$rd")) { }; ...
-5.9. set_contact_alias([trim]) +5.9. set_contact_alias()
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.