Module: sip-router Branch: 3.1 Commit: aae2b913e2008d18d1ad58910398765948f334ca URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=aae2b913...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Tue Mar 8 10:59:37 2011 +0100
tm: t_cehck_trans() allowed inside all onreply routes
- starting with v3.0 there is the option to enable a function only for core onreply route or tm onreply route - t_check_trans() was enabled only for tm - this patch enables it also for core onreply route - reported by Alex Hermann
---
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 e5ca753..160da26 100644 --- a/modules/tm/tm.c +++ b/modules/tm/tm.c @@ -460,8 +460,8 @@ static cmd_export_t cmds[]={ FAILURE_ROUTE}, {"t_save_lumps", w_t_save_lumps, 0, 0, REQUEST_ROUTE}, - {"t_check_trans", t_check_trans, 0, 0, - REQUEST_ROUTE|TM_ONREPLY_ROUTE|BRANCH_ROUTE }, + {"t_check_trans", t_check_trans, 0, 0, + REQUEST_ROUTE|ONREPLY_ROUTE|BRANCH_ROUTE },
{"t_load_contacts", t_load_contacts, 0, 0, REQUEST_ROUTE | FAILURE_ROUTE},