Module: kamailio Branch: master Commit: bec6357b7e656f80b35c127dd16b3f5e27bdcd21 URL: https://github.com/kamailio/kamailio/commit/bec6357b7e656f80b35c127dd16b3f5e...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2017-04-19T09:31:19+02:00
xhttp: added section for event route in the docs
---
Modified: src/modules/xhttp/doc/xhttp_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/bec6357b7e656f80b35c127dd16b3f5e... Patch: https://github.com/kamailio/kamailio/commit/bec6357b7e656f80b35c127dd16b3f5e...
---
diff --git a/src/modules/xhttp/doc/xhttp_admin.xml b/src/modules/xhttp/doc/xhttp_admin.xml index 90708ce..79043cd 100644 --- a/src/modules/xhttp/doc/xhttp_admin.xml +++ b/src/modules/xhttp/doc/xhttp_admin.xml @@ -207,5 +207,25 @@ event_route[xhttp:request] { </example> </section> </section> + + <section> + <title>Event Routes</title> + <section id="xhttp.evr.request"> + <title> + <function moreinfo="none">xhttp:request</function> + </title> + <para> + The event route is executed when a new HTTP request is received. + </para> + <programlisting format="linespecific"> +... +event_route[xhttp:request] { + xhttp_reply("200", "OK", "text/html", + "<html><body>OK - [$si:$sp]</body></html>"); +} +... + </programlisting> + </section> + </section> </chapter>