Hello,
been struggling to make a random sleep with cfgutils functions.
ex: $avp(i:444) = 123; usleep("$avp(i:444)");
gives an error:
ERROR: <core> [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 numbers, is there any other way to sleep by passing variable?
best regards, Antanas