[SR-Users] stats in kamailio

Juha Heinanen jh at tutpro.com
Mon Apr 18 12:12:48 CEST 2011


Daniel-Constantin Mierla writes:

> > i'm coming back to this rather old thread.  my question is, what is the
> > benefit (if any) of using htable to store the stats as opposed to shared
> > variables ($shv instead of $sht)?

> the benefit of using htable is dynamic name for keys, otherwise the 
> shared variables are faster to access.

daniel,

thanks for your answer.  in case of statistics, the names are known in
advance, so perhaps for them shared variables would be the best choice.

-- juha



More information about the sr-users mailing list