Hi AliReza,
I believe the benchmark module may be able to help with this:
http://kamailio.org/docs/modules/4.1.x/modules/benchmark.html
But if you don't want to get that complicated, you can also just print
the timestamp-related pseudovariables:
http://www.kamailio.org/wiki/cookbooks/4.1.x/pseudovariables#ts_-_unix_time…
...
-- Alex
On 07/07/2014 05:18 PM, AliReza Khoshgoftar Monfared wrote:
Hi,
I am trying to do two types of measurements on a packet (say an INVITE
or BYE) that arrives at a kamailio proxy.
1) The time that packet is spending in Kamailio to be processed
2) The total time from when the packet arrives at the machine that runs
the proxy till it leaves that machine.
I believe kamailio shall be able to help me with (1) and for (2) , I may
need to use some linux tools
Have anybody tried to measure response time with either definition? and
in case that you have, how have you done it?
Thanks
Alireza
_______________________________________________
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
--
Alex Balashov - Principal
Evariste Systems LLC
Tel: +1-678-954-0670
Web:
http://www.evaristesys.com/,
http://www.alexbalashov.com/
Please be kind to the English language:
http://www.entrepreneur.com/article/232906