[OpenSIPS-Devel] [OpenSIPS/opensips] 7aa272: fraud_detection: Fix the 'call duration' events
Liviu Chircu
noreply at github.com
Thu Feb 10 13:41:50 UTC 2022
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 7aa272aec749702627404c0d518b4b4fada5ec93
https://github.com/OpenSIPS/opensips/commit/7aa272aec749702627404c0d518b4b4fada5ec93
Author: Liviu Chircu <liviu at opensips.org>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M modules/fraud_detection/fraud_detection.c
M modules/fraud_detection/frd_events.c
M modules/fraud_detection/frd_events.h
Log Message:
-----------
fraud_detection: Fix the 'call duration' events
The 'call duration' events were not being raised anymore since commit
a0fcf857ddb, due to the mismatching callback type check in
dialog_terminate_CB().
Also rework commit a0fcf857ddb, where instead of switching the
decrement operation on the DLGCB_DESTROY callback (to guarantee it only
gets called one time), we just store and use a boolean marker, thus
achieving the same effect but while using the optimal callbacks!
More information about the Devel
mailing list