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
--
# <#>
Antanas Masevičius
Technikos Direktorius
UAB Nacionalinis telekomunikacijų tinklas
Panerių g. 51, LT-03160 Vilnius
*Tel.* 8 5 2056000
*Tiesiog. tel.* 8 700 00031
*Mob. tel.* 8 685 77730
*Faks.* 8 700 00034
*El. p.:* antanas.masevicius(a)ntt.lt <#>
#
www.ntt.lt <http://www.ntt.lt> |
www.spykas.com <http://www.spykas.com>