Module: kamailio
Branch: master
Commit: 68547d50668032c1a43e81f2eabf4d2b709ff049
URL: 
https://github.com/kamailio/kamailio/commit/68547d50668032c1a43e81f2eabf4d2b709ff049

Author: Olle E. Johansson <[email protected]>
Committer: Olle E. Johansson <[email protected]>
Date: 2016-03-28T20:42:37+02:00

http_client Add note about empty string in configuration file

---

Modified: modules/http_client/README
Modified: modules/http_client/doc/http_client_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/68547d50668032c1a43e81f2eabf4d2b709ff049.diff
Patch: 
https://github.com/kamailio/kamailio/commit/68547d50668032c1a43e81f2eabf4d2b709ff049.patch

---

diff --git a/modules/http_client/README b/modules/http_client/README
index 2387c25..91fb2d3 100644
--- a/modules/http_client/README
+++ b/modules/http_client/README
@@ -525,6 +525,10 @@ tstuff;timeout=12")
    path and anything else a path relative to the directory of the current
    Kamailio main config file.
 
+   To set a string value to null, in order to override default settings,
+   you can specify an value of "" - two quotation marks. In order to
+   disable a http proxy setting you can set the port to zero.
+
    Example 1.16. Set config_file parameter
 ...
 modparam("http_client", "config_file", "httpconnections.cfg)
diff --git a/modules/http_client/doc/http_client_admin.xml 
b/modules/http_client/doc/http_client_admin.xml
index 6e32845..09cb1e6 100644
--- a/modules/http_client/doc/http_client_admin.xml
+++ b/modules/http_client/doc/http_client_admin.xml
@@ -536,6 +536,11 @@ modparam("http_client", "httpcon", 
"apifour=>http://stockholm.example.com/api/ge
                        absolute path and  anything else a path relative to the 
directory of
                        the current &kamailio; main config file.
                        </para>
+                       <para>
+                       To set a string value to null, in order to override 
default settings,
+                       you can specify an value of "" - two quotation marks. 
In order to disable
+                       a http proxy setting you can set the port to zero.
+                       </para>
                        <example>
                        <title>Set <varname>config_file</varname> 
parameter</title>
                                <programlisting format="linespecific">


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to