[sr-dev] git:master: tm: t_cehck_trans() allowed inside all onreply routes

Daniel-Constantin Mierla miconda at gmail.com
Tue Mar 8 11:01:45 CET 2011


Module: sip-router
Branch: master
Commit: 4363ade72cb75d0975edb124295de3223e696431
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4363ade72cb75d0975edb124295de3223e696431

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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},




More information about the sr-dev mailing list