Module: kamailio
Branch: 5.4
Commit: 198753a49da7ff81965d4eeac1d96e53dbe901a6
URL:
https://github.com/kamailio/kamailio/commit/198753a49da7ff81965d4eeac1d96e5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-07-29T10:47:28+02:00
xhttp: extended example for event_route[xhttp:request]
(cherry picked from commit 195de260f102f1a016ad7bd1021571c1dd8a983f)
(cherry picked from commit 42df0f0b58a2b5780a9bf613a5a29d4af27b4f67)
---
Modified: src/modules/xhttp/doc/xhttp_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/198753a49da7ff81965d4eeac1d96e5…
Patch:
https://github.com/kamailio/kamailio/commit/198753a49da7ff81965d4eeac1d96e5…
---
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>");