Module: sip-router
Branch: master
Commit: e950f44d733f9004710f0155d794a1c797f1580d
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e950f44…
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
---
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 05e3670..d9c5258 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,