Module: kamailio Branch: master Commit: d07b6c0d70795317920a6a0544bd83aca1fd0da3 URL: https://github.com/kamailio/kamailio/commit/d07b6c0d70795317920a6a0544bd83ac...
Author: Kamailio Dev kamailio.dev@kamailio.org Committer: Kamailio Dev kamailio.dev@kamailio.org Date: 2020-10-06T12:01:18+02:00
modules: readme files regenerated - nathelper ... [skip ci]
---
Modified: src/modules/nathelper/README
---
Diff: https://github.com/kamailio/kamailio/commit/d07b6c0d70795317920a6a0544bd83ac... Patch: https://github.com/kamailio/kamailio/commit/d07b6c0d70795317920a6a0544bd83ac...
---
diff --git a/src/modules/nathelper/README b/src/modules/nathelper/README index 7398c702a5..79e43b73a7 100644 --- a/src/modules/nathelper/README +++ b/src/modules/nathelper/README @@ -525,16 +525,19 @@ if (search("User-Agent: Cisco ATA.*") {fix_nated_contact();}; * flags - the value may be a bitwise OR of the following flags: + 0x01 - adds “a=direction:active” SDP line; + 0x02 - rewrite media IP address (c=) with source address of - the message or the provided IP address (the provide IP address - take precedence over the source address). + the message or the provided IP address. (a=rtpc) param will be + rewritten if exists. (the provided IP address take precedence + over the source address). + 0x04 - adds “a=nortpproxy:yes” SDP line; + 0x08 - rewrite IP from origin description (o=) with source - address of the message or the provided IP address (the provide - IP address take precedence over the source address). + address of the message or the provided IP address. (a=rtpc) + param will be rewritten if exists. (the provided IP address + take precedence over the source address). * ip_address - IP to be used for rewriting SDP. If not specified, the received signalling IP will be used. The parameter allows pseudo-variables usage. NOTE: For the IP to be used, you need to - use 0x02 or 0x08 flags, otherwise it will have no effect. + use 0x02 or 0x08 flags, otherwise it will have no effect. Must be + IPv4 address family.
This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE, FAILURE_ROUTE, BRANCH_ROUTE.