<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello, <br>
    <br>
    been struggling to make a random sleep with cfgutils functions.<br>
    <br>
    ex:<br>
    $avp(i:444) = 123;<br>
    usleep("$avp(i:444)");<br>
    <br>
    gives an error:<br>
    <br>
    ERROR: <core> [route.c:1189]: fix_actions(): fixing failed
    (code=-1) at cfg:/etc/kamailio/kamailio-sp1new.cfg:723<br>
    <br>
    Kamailio version: 4.3<br>
    <br>
    If usleep accepts only numbers, is there any other way to sleep by
    passing variable?<br>
    <br>
    best regards,<br>
    Antanas<br>
    <br>
    <div class="moz-signature">-- <br>
      <meta charset="utf-8">
      <table cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <td> <a href="#"><img
                  src="cid:part1.00040009.02020009@ntt.lt" alt="#"></a>
            </td>
          </tr>
          <tr>
            <td style="height: 13px; font-size: 13px"> </td>
          </tr>
          <tr>
            <td style="color: #eb6626; font-weight: bold;font-size:
              16px; font-family: 'Open Sans', Arial, sans-serif">Antanas
              Masevičius </td>
          </tr>
          <tr>
            <td style="color: #3b3b3c;font-size: 13px; font-weight: 600;
              font-family: 'Open Sans', Arial, sans-serif">Technikos
              Direktorius </td>
          </tr>
          <tr>
            <td style="height: 13px; font-size: 13px"> </td>
          </tr>
          <tr>
            <td>
              <div style="color: #3b3b3c;font-size: 13px;line-height:
                16px;font-family: 'Open Sans', Arial, sans-serif"> UAB
                Nacionalinis telekomunikacijų tinklas <br>
                Panerių g. 51, LT-03160 Vilnius<br>
                <strong style="font-weight: 600">Tel.</strong> 8 5
                2056000<br>
                <strong style="font-weight: 600">Tiesiog. tel.</strong>
                8 700 00031<br>
                <strong style="font-weight: 600">Mob. tel.</strong> 8
                685 77730<br>
                <strong style="font-weight: 600">Faks.</strong> 8 700
                00034<br>
                <strong style="font-weight: 600">El. p.:</strong> <a
                  href="#" style="text-decoration: none; color: #3b3b3b">antanas.masevicius@ntt.lt</a>
              </div>
            </td>
          </tr>
          <tr>
            <td style="height: 5px; font-size: 5px"> </td>
          </tr>
          <tr>
            <td><img src="cid:part4.05010803.03070406@ntt.lt" alt="#"></td>
          </tr>
          <tr>
            <td style="height: 10px; font-size: 10px"> </td>
          </tr>
          <tr>
            <td style="color: #3b3b3c;font-size: 13px; font-weight:
              700;font-family: 'Open Sans', Arial, sans-serif"> <a
                style="color: #6fb6d2; text-decoration: none"
                href="http://www.ntt.lt">www.ntt.lt</a> <span
                style="color: #dadada">  |  </span> <a style="color:
                #6fb6d2; text-decoration: none"
                href="http://www.spykas.com">www.spykas.com</a> </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>