[OpenSIPS-Devel] [OpenSIPS/opensips] 2404b9: fraud_detection: Improve accuracy for 'concurrent ...
noreply at github.com
Mon Aug 3 14:41:40 EST 2020
Author: Liviu Chircu <liviu at opensips.org>
Date: 2020-08-03 (Mon, 03 Aug 2020)
fraud_detection: Improve accuracy for 'concurrent calls'
Avoid using the DLGCB_FAILED callback, since it has no protection
against the "408 Request Timeout / 200 OK" race condition, and simply
use DLGCB_DESTROY in order to decrement the concurrent calls counter.
This fixes a bug where a "408 Timeout / 200 OK" call would cause a
concurrent calls value of 4294967295, due to an extra decrement.
More information about the Devel