[sr-dev] git:5.5:42df0f0b: xhttp: extended example for event_route[xhttp:request]

Daniel-Constantin Mierla miconda at gmail.com
Thu Jun 24 18:35:38 CEST 2021


Module: kamailio
Branch: 5.5
Commit: 42df0f0b58a2b5780a9bf613a5a29d4af27b4f67
URL: https://github.com/kamailio/kamailio/commit/42df0f0b58a2b5780a9bf613a5a29d4af27b4f67

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-06-24T18:33:45+02:00

xhttp: extended example for event_route[xhttp:request]

(cherry picked from commit 195de260f102f1a016ad7bd1021571c1dd8a983f)

---

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

---

Diff:  https://github.com/kamailio/kamailio/commit/42df0f0b58a2b5780a9bf613a5a29d4af27b4f67.diff
Patch: https://github.com/kamailio/kamailio/commit/42df0f0b58a2b5780a9bf613a5a29d4af27b4f67.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