Module: kamailio Branch: 5.1 Commit: 94e88ae464f7463a95fd89987e930c6b0c52285d URL: https://github.com/kamailio/kamailio/commit/94e88ae464f7463a95fd89987e930c6b...
Author: Timmo Verlaan tverlaan@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2018-01-13T18:24:50+01:00
nathelper: fix force_socket documentation
(cherry picked from commit bfdb6ae670464ca9ff5dbb2d4d9cf5a02afd36f6)
---
Modified: src/modules/nathelper/README Modified: src/modules/nathelper/doc/nathelper_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/94e88ae464f7463a95fd89987e930c6b... Patch: https://github.com/kamailio/kamailio/commit/94e88ae464f7463a95fd89987e930c6b...
---
diff --git a/src/modules/nathelper/README b/src/modules/nathelper/README index 2b12e8c67c..7649b95528 100644 --- a/src/modules/nathelper/README +++ b/src/modules/nathelper/README @@ -249,14 +249,15 @@ Chapter 1. Admin Guide
4.1. force_socket (string)
- Socket to be used when sending NAT pings for UDP communication. If no - one specified, the OS will choose a socket. + Socket to be used when sending NAT pings for UDP communication. + It uses the first socket it finds based on the IP address. If + no one specified, the OS will choose a socket.
Default value is “NULL”.
Example 1.1. Set force_socket parameter ... -modparam("nathelper", "force_socket", "localhost:33333") +modparam("nathelper", "force_socket", "127.0.0.1") ...
4.2. natping_interval (integer) diff --git a/src/modules/nathelper/doc/nathelper_admin.xml b/src/modules/nathelper/doc/nathelper_admin.xml index c032fc3a84..feb5b5cbe4 100644 --- a/src/modules/nathelper/doc/nathelper_admin.xml +++ b/src/modules/nathelper/doc/nathelper_admin.xml @@ -128,7 +128,8 @@ <title><varname>force_socket</varname> (string)</title> <para> Socket to be used when sending NAT pings for UDP communication. - If no one specified, the OS will choose a socket. + It uses the first socket it finds based on the IP address. If + no one specified, the OS will choose a socket. </para> <para> <emphasis> @@ -139,7 +140,7 @@ <title>Set <varname>force_socket</varname> parameter</title> <programlisting format="linespecific"> ... -modparam("nathelper", "force_socket", "localhost:33333") +modparam("nathelper", "force_socket", "127.0.0.1") ... </programlisting> </example>