Module: sip-router Branch: master Commit: a734fd7cb6f0755fa44e6bed51e41247a846c63d URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a734fd7c...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Sat Apr 17 12:41:00 2010 +0200
tm: removed commented code
- related to timeout avp and K cfg compat mode
---
modules/tm/t_funcs.c | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/modules/tm/t_funcs.c b/modules/tm/t_funcs.c index 0f935c3..92a68da 100644 --- a/modules/tm/t_funcs.c +++ b/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) */ }