Module: kamailio
Branch: master
Commit: 9b9bd62ca7a5a99c7db7cdefe523b8a6e7c8a99f
URL:
https://github.com/kamailio/kamailio/commit/9b9bd62ca7a5a99c7db7cdefe523b8a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-01-17T13:01:46+01:00
http_client: docs for netinterface parameter
---
Modified: src/modules/http_client/doc/http_client_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/9b9bd62ca7a5a99c7db7cdefe523b8a…
Patch:
https://github.com/kamailio/kamailio/commit/9b9bd62ca7a5a99c7db7cdefe523b8a…
---
diff --git a/src/modules/http_client/doc/http_client_admin.xml
b/src/modules/http_client/doc/http_client_admin.xml
index 1079bfe17a..691a995319 100644
--- a/src/modules/http_client/doc/http_client_admin.xml
+++ b/src/modules/http_client/doc/http_client_admin.xml
@@ -659,6 +659,28 @@ http_follow_redirect = no
</example>
</section>
+ <section id="http_client.p.netinterface">
+ <title><varname>netinterface</varname> (string)</title>
+ <para>
+ Set local network interface to be used for HTTP queries. It
+ can be interface name or IP address. For more details see:
+
https://curl.haxx.se/libcurl/c/CURLOPT_INTERFACE.html .
+ </para>
+ <para>
+ <emphasis>
+ Default value not set.
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>netinterface</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("http_client", "netinterface", "eth0")
+...
+ </programlisting>
+ </example>
+ </section>
+
</section>
<section>