<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    the SIP messages send on UDP/SCTP are received directly from the
    buffer in kernel one by one, each being processed once read. It is
    hard to know how many are waiting in the kernel.<br>
    <br>
    My question would be, when such information would really help? If
    kamailio is too busy handling traffic, won't get much time to care
    of other tasks (e.g., predict what is in network read kernel queue).<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 30/06/14 16:40, AliReza Khoshgoftar
      Monfared wrote:<br>
    </div>
    <blockquote
cite="mid:CABoSzTs6hBQbRDPwZ6iFRYrLe_P3jU0GhK-sRPwSqAvyKAthRQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Hi,<br>
            <br>
          </div>
          I had another simple question:<br>
          <br>
        </div>
        <div>In a kamailio server (proxy), how do I check the number of
          messages currently waiting for processing?<br>
          <br>
          <br>
        </div>
        <div>Is there a variable that I can monitor, say, if I want to
          make a routing decision in my config based on the number of
          messages in the queue?<br>
          <br>
        </div>
        <div>Also, is it possible to get a head count by method? or is
          it only possible after fully parsing the message?<br>
          <br>
        </div>
        <div>I see that "ratelimit" module uses similar information, but
          I am not sure how to get the status of these queues that the
          module uses.<br>
          <br>
        </div>
        <div>Thanks<br>
        </div>
      </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>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>