[sr-dev] git:master:195de260: xhttp: extended example for event_route[xhttp:request]

Daniel-Constantin Mierla miconda at gmail.com
Mon Jun 21 09:42:52 CEST 2021


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-06-21T09:42:28+02:00

xhttp: extended example for event_route[xhttp:request]

---

Modified: src/modules/xhttp/doc/xhttp_admin.xml

---

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

---

diff --git a/src/modules/xhttp/doc/xhttp_admin.xml b/src/modules/xhttp/doc/xhttp_admin.xml
index c2a18f9d44..507283b90f 100644
--- a/src/modules/xhttp/doc/xhttp_admin.xml
+++ b/src/modules/xhttp/doc/xhttp_admin.xml
@@ -222,6 +222,11 @@ event_route[xhttp:request] {
         </para>
         <programlisting  format="linespecific">
 ...
+tcp_accept_no_cl=yes
+...
+loadmodule "sl.so"
+loadmodule "xhttp.so
+...
 event_route[xhttp:request] {
     xhttp_reply("200", "OK", "text/html",
         "<html><body>OK - [$si:$sp]</body></html>");




More information about the sr-dev mailing list