2
0
Эх сурвалжийг харах

tm: removed commented code

- related to timeout avp and K cfg compat mode
Daniel-Constantin Mierla 15 жил өмнө
parent
commit
a734fd7cb6
1 өөрчлөгдсөн 0 нэмэгдсэн , 10 устгасан
  1. 0 10
      modules/tm/t_funcs.c

+ 0 - 10
modules/tm/t_funcs.c

@@ -517,16 +517,6 @@ static inline int avp2timer(unsigned int* timer, int type, int_str name)
 	} else {
 		*timer = val_istr.n;
 	}
-#if 0
-	/* value of AVP is expected to be sec, not milisec lile mod params */
-	if(sr_cfg_compat==SR_COMPAT_KAMAILIO) {
-		if(*timer>0 && *timer<=120) {
-			LM_WARN("too small given timer value: %ums (using T*1000)\n",
-					*timer);
-			*timer *= 1000;
-		}
-	}
-#endif
 	return *timer==0; /* 1 if 0 (use default), 0 if !=0 (use *timer) */
 }