[OpenSIPS-Users] $DLG_lifetime but in ms

trevor at webon.co.za trevor at webon.co.za
Tue Jan 23 21:03:52 UTC 2024


On Tue, 2024-01-23 at 14:09 -0600, Marcin Groszek wrote:
> I am not sure what would be less resource hungry;  $Ts$Tsm v 
> get_accurate_time.
> 
> get_accurate_time is a function v 2 core variables.
> I guess a config can be created to run 100 million of both operation
> and measuring resources used, cpu, ram and time to complete.
> 
> This only makes sense only if you are calculating cost of the each
> call in the script.
> If not then just use external script to round/modifyduration based on
> ms_duration in acc table after the fact.
> 
Thanks Marcin, 

yes I think I may benchmark the 2 to see which is more efficeint, yes I
am trying to bill inside of opensips using ratecacher module for this
purpose.

Regards
Trevor Steyn



More information about the Users mailing list