Browse code

tm: handle BRANCH_FAILURE_ROUTE in t_check_trans() test

(cherry picked from commit 08248bae17024246442046376a4350007a100025)

Daniel-Constantin Mierla authored on 10/11/2014 14:42:39
Showing 1 changed files
... ...
@@ -2115,9 +2115,10 @@ int t_check_trans(struct sip_msg* msg)
2115 2115
 	int ret;
2116 2116
 	
2117 2117
 	/* already processing a T */
2118
-	if(get_route_type()==FAILURE_ROUTE
2119
-			|| get_route_type()==BRANCH_ROUTE
2120
-			|| get_route_type()==TM_ONREPLY_ROUTE) {
2118
+	if(is_route_type(FAILURE_ROUTE)
2119
+			|| is_route_type(BRANCH_ROUTE)
2120
+			|| is_route_type(BRANCH_FAILURE_ROUTE)
2121
+			|| is_route_type(TM_ONREPLY_ROUTE)) {
2121 2122
 		return 1;
2122 2123
 	}
2123 2124