Module: kamailio
Branch: master
Commit: c86950841dfc0ca18ad1956efd1dc374a4eb064b
URL:
https://github.com/kamailio/kamailio/commit/c86950841dfc0ca18ad1956efd1dc37…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-11-04T16:42:46+01:00
tm: enable t_reply_error() in same routing blocks like t_reply()
---
Modified: src/modules/tm/tm.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c86950841dfc0ca18ad1956efd1dc37…
Patch:
https://github.com/kamailio/kamailio/commit/c86950841dfc0ca18ad1956efd1dc37…
---
diff --git a/src/modules/tm/tm.c b/src/modules/tm/tm.c
index ec83abedaae..cb34dd4a036 100644
--- a/src/modules/tm/tm.c
+++ b/src/modules/tm/tm.c
@@ -256,7 +256,8 @@ static cmd_export_t cmds[] = {
REQUEST_ROUTE},
{"t_reply", w_t_reply, 2, fixup_t_reply, 0,
REQUEST_ROUTE | ONREPLY_ROUTE | FAILURE_ROUTE},
- {"t_reply_error", w_t_reply_error, 0, 0, 0, REQUEST_ROUTE},
+ {"t_reply_error", w_t_reply_error, 0, 0, 0,
+ REQUEST_ROUTE | ONREPLY_ROUTE | FAILURE_ROUTE},
{"t_send_reply", w_t_send_reply, 2, fixup_t_reply, 0,
REQUEST_ROUTE | ONREPLY_ROUTE | FAILURE_ROUTE},
{"t_retransmit_reply", w_t_retransmit_reply, 0, 0, 0, REQUEST_ROUTE},