|
@@ -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) */
|
|
|
}
|
|
|
|