Skip to content

Commit

Permalink
modules: readme files regenerated - rabbitmq ... [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
kamailio-dev committed Aug 12, 2023
1 parent 2475dfa commit 2fd5d88
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/modules/rabbitmq/README
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ modparam("rabbitmq", "direct_reply_to", 1)
* content_type - the content_type of the messagebody.
* messagebody - the messagebody to be published.

This function can be used from REQUEST_ROUTE.
This function can be used from any route.

Example 1.5. rabbitmq_publish usage
rabbitmq_publish("exchange", "routing_key", "application/json", "$avp(json_reque
Expand Down
9 changes: 6 additions & 3 deletions src/modules/xhttp/README
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ Chapter 1. Admin Guide
SIP parser can easily handle HTTP requests just by adding a fake Via
header.

The <module>xmlrpc</module> module uses the same concept. The xHTTP
module offers a generic way of handling the HTTP protocol, by calling
The xmlrpc module uses the same concept. The xHTTP module offers a
generic way of handling the HTTP protocol, by calling
event_route[xhttp:request] in your config. You can check the HTTP URL
via the config variable $hu. Note that use of $ru will raise errors
since the structure of an HTTP URL is not compatible with that of a SIP
Expand Down Expand Up @@ -222,7 +222,10 @@ event_route[xhttp:request] {

6.1. xhttp:request

The event route is executed when a new HTTP request is received.
The event route is executed when a new HTTP request is received. Most
of the variables related to a SIP request can be used inside this event
route to get HTTP request attributes (e.g., $si - source IP, $hdr(X) -
body of header X, $rm - request method, $rb - request body, ...).
...
tcp_accept_no_cl=yes
...
Expand Down

0 comments on commit 2fd5d88

Please sign in to comment.