True. :)
-- Sent from mobile device
On Mar 16, 2010, at 3:15 PM, Klaus Darilion <klaus.mailinglists@pernau.at
wrote:
You could also send the 100 trying response at the beginning of the script. the the processing delay is almost 0 :-)
klaus
Am 16.03.2010 18:54, schrieb IƱaki Baz Castillo:
2010/3/16 Alex Balashovabalashov@evaristesys.com:
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.