Module: kamailio
Branch: 5.5
Commit: 42df0f0b58a2b5780a9bf613a5a29d4af27b4f67
URL:
https://github.com/kamailio/kamailio/commit/42df0f0b58a2b5780a9bf613a5a29d4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/42df0f0b58a2b5780a9bf613a5a29d4…
Patch:
https://github.com/kamailio/kamailio/commit/42df0f0b58a2b5780a9bf613a5a29d4…
---
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>");