Module: sip-router
Branch: 3.1
Commit: acad20d9479b2a48c29709304042b0f54032c16d
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=acad20d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed May 4 19:25:36 2011 +0200
tm: allow t_on_reply() in branch_route
- same for t_on_failure()
- reported by Sebastian Damm
(cherry picked from commit e950f44d733f9004710f0155d794a1c797f1580d)
---
modules/tm/tm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/tm/tm.c b/modules/tm/tm.c
index 160da26..c4ac427 100644
--- a/modules/tm/tm.c
+++ b/modules/tm/tm.c
@@ -402,9 +402,9 @@ static cmd_export_t cmds[]={
{"t_relay_cancel", w_t_relay_cancel, 0, 0,
REQUEST_ROUTE},
{"t_on_failure", w_t_on_negative, 1, fixup_on_failure,
- REQUEST_ROUTE | FAILURE_ROUTE | TM_ONREPLY_ROUTE },
+ REQUEST_ROUTE | FAILURE_ROUTE | TM_ONREPLY_ROUTE | BRANCH_ROUTE },
{"t_on_reply", w_t_on_reply, 1, fixup_on_reply,
- REQUEST_ROUTE | FAILURE_ROUTE | TM_ONREPLY_ROUTE },
+ REQUEST_ROUTE | FAILURE_ROUTE | TM_ONREPLY_ROUTE | BRANCH_ROUTE },
{"t_on_branch", w_t_on_branch, 1, fixup_on_branch,
REQUEST_ROUTE | FAILURE_ROUTE },
{"t_check_status", t_check_status, 1, fixup_t_check_status,