Hello,
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.
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).
Cheers,
Daniel
On 30/06/14 16:40, AliReza Khoshgoftar Monfared wrote:
Hi,
I had another simple question:
In a kamailio server (proxy), how do I check the number of messages
currently waiting for processing?
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?
Also, is it possible to get a head count by method? or is it only
possible after fully parsing the message?
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.
Thanks
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda