<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello, <br>
    <br>
    i noticed that there was some very old patch, but its for opensips
    branch:<br>
    <br>
    <a class="moz-txt-link-freetext" href="http://sourceforge.net/p/opensips/patches/42/">http://sourceforge.net/p/opensips/patches/42/</a><br>
    <br>
    can this still be something with usage? Did anyone try sleeping for
    random period in kamailio?<br>
    <br>
    Antanas<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 08/07/15 11:01, Antanas Masevicius
      wrote:<br>
    </div>
    <blockquote cite="mid:559CD8BC.8060504@ntt.lt" type="cite">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      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 moz-do-not-send="true" href="#"><img
                    src="cid:part1.03000704.06040706@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
                    moz-do-not-send="true" 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.09030208.07020504@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
                  moz-do-not-send="true" style="color: #6fb6d2;
                  text-decoration: none" href="http://www.ntt.lt">www.ntt.lt</a>
                <span style="color: #dadada">  |  </span> <a
                  moz-do-not-send="true" style="color: #6fb6d2;
                  text-decoration: none" href="http://www.spykas.com">www.spykas.com</a>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta charset="utf-8">
      <table cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <td> <a href="#"><img
                  src="cid:part7.00090605.08020504@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:part10.04050207.04040604@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>