[SR-Users] usleep with variable
Antanas Masevicius
antanas.masevicius at ntt.lt
Wed Jul 8 10:01:00 CEST 2015
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 at ntt.lt <#>
#
www.ntt.lt <http://www.ntt.lt> | www.spykas.com <http://www.spykas.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150708/6920743a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo.gif
Type: image/gif
Size: 1611 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150708/6920743a/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: line.gif
Type: image/gif
Size: 1316 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150708/6920743a/attachment-0001.gif>
More information about the sr-users
mailing list