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

Author: Olle E. Johansson <[email protected]>
Committer: Olle E. Johansson <[email protected]>
Date: 2016-03-30T09:21:14+02:00

http_client Update README with explanation of how an httpcon definition use 
default settings in the config file

Based on feedback from filipix in issue #541

---

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

---

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

---

diff --git a/modules/http_client/README b/modules/http_client/README
index 9384f35..48445cb 100644
--- a/modules/http_client/README
+++ b/modules/http_client/README
@@ -442,6 +442,13 @@ modparam("http_client", "authmetod", 3)
    call. The address given in the function call will be appended to the
    base URL in the connection definition.
 
+   The HTTP connection will be defined using default values in modparam's
+   above the definition of the httpcon in the configuration file. Also
+   note that connections can be defined in a separate text file if you
+   have many parameters per connection, or want to use a per-connection
+   setting that can be set in that file but not in the httpcon modparam,
+   like authmethod.
+
    By default, no connections are defined.
 
    Parameters
diff --git a/modules/http_client/doc/http_client_admin.xml 
b/modules/http_client/doc/http_client_admin.xml
index 924830f..b39e36e 100644
--- a/modules/http_client/doc/http_client_admin.xml
+++ b/modules/http_client/doc/http_client_admin.xml
@@ -417,6 +417,12 @@ modparam("http_client", "authmetod", 3)
                        address given in the function call will be appended to 
the base URL in the connection definition.
                        </para>
                        <para>
+                       The HTTP connection will be defined using default 
values in modparam's above the definition
+                       of the httpcon in the configuration file. Also note 
that connections can be defined in a
+                       separate text file if you have many parameters per 
connection, or want to use a per-connection
+                       setting that can be set in that file but not in the 
httpcon modparam, like authmethod.
+                       </para>
+                       <para>
                        <emphasis>
                                By default, no connections are defined.
                        </emphasis>


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

Reply via email to