Skip to content

Commit

Permalink
modules: readme files regenerated - tm ... [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
kamailio-dev committed Aug 27, 2019
1 parent 042971b commit be8ba0d
Showing 1 changed file with 20 additions and 13 deletions.
33 changes: 20 additions & 13 deletions src/modules/tm/README
Expand Up @@ -149,7 +149,7 @@ Daniel-Constantin Mierla

6. Event Routes

6.1. event_route[tm:branch-failure]
6.1. event_route[tm:branch-failure:id]
6.2. event_route[tm:local-request]
6.3. event_route[tm:local-response]

Expand Down Expand Up @@ -268,9 +268,9 @@ Daniel-Constantin Mierla
1.93. t_is_retr_async_reply usage
1.94. t_uac_send usage
1.95. t_get_status_code usage
1.96. event_route[tm:branch-failure] usage
1.97. event_route[tm:local-request] usage
1.98. event_route[tm:local-response] usage
1.96. event_route[tm:branch-failure:id] usage
1.1. event_route[tm:local-request] usage
1.2. event_route[tm:local-response] usage

Chapter 1. Admin Guide

Expand Down Expand Up @@ -400,7 +400,7 @@ Chapter 1. Admin Guide

6. Event Routes

6.1. event_route[tm:branch-failure]
6.1. event_route[tm:branch-failure:id]
6.2. event_route[tm:local-request]
6.3. event_route[tm:local-response]

Expand Down Expand Up @@ -2964,21 +2964,21 @@ if($var(ts) == 500) { ... }

6. Event Routes

6.1. event_route[tm:branch-failure]
6.1. event_route[tm:branch-failure:id]
6.2. event_route[tm:local-request]
6.3. event_route[tm:local-response]

6.1. event_route[tm:branch-failure]
6.1. event_route[tm:branch-failure:id]

Named branch failure routes can be defined to run when when a failure
response is received. This allows handling failures on individual
branches, for example, retrying an alternative outbound flow.

The format of the event_route name is "tm:branch-failure:<name>" and is
The format of the event_route name is "tm:branch-failure:<id>" and is
enabled with the t_on_branch_failure function. This event_route uses
the BRANCH_FAILURE_ROUTE route type.

Example 1.96. event_route[tm:branch-failure] usage
Example 1.96. event_route[tm:branch-failure:id] usage
...
request_route {
...
Expand All @@ -2993,8 +2993,15 @@ event_route[tm:branch-failure:myroute] {

6.2. event_route[tm:local-request]

Executed after the tm module has sent a local generated, transaction
stateful request.
Executed when the tm module generates a request, in other words, the
request originates from and a transaction is created for it. The source
of the requests can be tm itself or other modules that use tm
internally (e.g., msilo, uac). The event route is executed if it is
defined in the native config file. To execute the equivalent callback
when using KEMI scripting, see the 'event_callback' module parameter.

The request can still be updated, i.e., changes are possible to R-URI
($ru), destination URI ($du) or the send socket ($fs).

Example 1.97. event_route[tm:local-request] usage
...
Expand All @@ -3006,8 +3013,8 @@ event_route [tm:local-request] {

6.3. event_route[tm:local-response]

Executed after the tm module has sent a local generated, transaction
stateful response.
Executed when the tm module is about to send a local generated,
transaction stateful response.

Example 1.98. event_route[tm:local-response] usage
...
Expand Down

0 comments on commit be8ba0d

Please sign in to comment.