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