Module: kamailio Branch: master Commit: 790b42c8485672866919180992d1ee246422b87e URL: https://github.com/kamailio/kamailio/commit/790b42c8485672866919180992d1ee24...
Author: Jason Penton jason.penton@gmail.com Committer: Jason Penton jason.penton@gmail.com Date: 2015-02-05T14:05:56+02:00
modules/dialog_ng: changed stats to use native counters instead - suggested by Olle
---
Modified: modules/dialog_ng/dlg_handlers.c
---
Diff: https://github.com/kamailio/kamailio/commit/790b42c8485672866919180992d1ee24... Patch: https://github.com/kamailio/kamailio/commit/790b42c8485672866919180992d1ee24...
---
diff --git a/modules/dialog_ng/dlg_handlers.c b/modules/dialog_ng/dlg_handlers.c index 4871dfa..4974e63 100644 --- a/modules/dialog_ng/dlg_handlers.c +++ b/modules/dialog_ng/dlg_handlers.c @@ -556,6 +556,7 @@ static void dlg_onreply(struct cell* t, int type, struct tmcb_params *param) { ref_dlg(dlg, 1); }
+ counter_inc(dialog_ng_counters_h.active); run_dlg_callbacks(DLGCB_CONFIRMED, dlg, req, rpl, DLG_DIR_UPSTREAM, 0);
if (unref) unref_dlg(dlg, unref);