Module: sip-router
Branch: master
Commit: 4363ade72cb75d0975edb124295de3223e696431
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4363adeā¦
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/tm/tm.c b/modules/tm/tm.c
index e8ef946..05e3670 100644
--- a/modules/tm/tm.c
+++ b/modules/tm/tm.c
@@ -461,7 +461,7 @@ static cmd_export_t cmds[]={
{"t_save_lumps", w_t_save_lumps, 0, 0,
REQUEST_ROUTE},
{"t_check_trans", w_t_check_trans, 0, 0,
- REQUEST_ROUTE|TM_ONREPLY_ROUTE|BRANCH_ROUTE },
+ REQUEST_ROUTE|ONREPLY_ROUTE|BRANCH_ROUTE },
{"t_load_contacts", t_load_contacts, 0, 0,
REQUEST_ROUTE | FAILURE_ROUTE},