On 03/16/2010 01:54 PM, Iñaki Baz Castillo wrote:
2010/3/16 Alex Balashov<[email protected]>:
It seems to me that the a proxy processing an initial request directed to it
should be able to insert such a header in a reply, but that Kamailio does
not have support for timing functions that perform these measurements
automatically.  Would you agree?

Well, a workaround could be take the current time at the top of the
script, then just before the t_relay (the real time it takes to the
proxy to process the request) calculate the delta time and generate a
stateless 100 reply adding suche header. Then call to t_relay with the
proper flag to avoid sending a new 100 response.

Sure. What I meant is that apart from $Ts in K >= 3.0.x, there aren't really any ways to compute the delay on that level of time resolution. Are there?

--
Alex Balashov - Principal
Evariste Systems LLC

Tel    : +1 678-954-0670
Direct : +1 678-954-0671
Web    : http://www.evaristesys.com/

_______________________________________________
Kamailio (OpenSER) - Users mailing list
[email protected]
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Reply via email to