Daniel-Constantin Mierla writes: > Here is what I do if I want to get like "load" stats - i.e., number of > events in a specific period of time. For example number of 2xx > transactions per minute: > > Load htable module and define a htable, say stats. > > In event_route[htable:mod-init] I set $sht(stats=>2xx_transactions) = > 0;
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)? -- juha _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users