[sr-dev] git:master: pv: use msg context id when caching the value for $TV

Klaus Darilion klaus.mailinglists at pernau.at
Tue Apr 17 09:49:10 CEST 2012



On 16.04.2012 21:30, Daniel-Constantin Mierla wrote:
> at some point, iirc, there was a discussion to add the time in the
> sip_msg_t structure, perhaps someone was against it to avoid a system
> call every time a message is received and some memory. I don't have
> anything against.
>
> An alternative will be to replace time_t field in xavp structure with
> timeval and have the time value attached to sip message via xavp- so
> caching will be done in xavp

I do not have the insight to suggest former or later, but for sure there 
is something missing at the moment when dealing with timestamps in Kamailio.

Thanks
Klaus



More information about the sr-dev mailing list