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
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 b