Re: [SR-Users] usleep with variable

2015-07-08 Thread Antanas Masevicius
Hello, i noticed that there was some very old patch, but its for opensips branch: http://sourceforge.net/p/opensips/patches/42/ can this still be something with usage? Did anyone try sleeping for random period in kamailio? Antanas On 08/07/15 11:01, Antanas Masevicius wrote: Hello, been

[SR-Users] usleep with variable

2015-07-08 Thread Antanas Masevicius
Hello, been struggling to make a random sleep with cfgutils functions. ex: $avp(i:444) = 123; usleep("$avp(i:444)"); gives an error: ERROR: [route.c:1189]: fix_actions(): fixing failed (code=-1) at cfg:/etc/kamailio/kamailio-sp1new.cfg:723 Kamailio version: 4.3 If usleep accepts only numb