[OpenSIPS-Devel] [OpenSIPS/opensips] b1fdb8: Fix handling of negative replies in EBR scenarios.
Bogdan-Andrei Iancu
bogdan at opensips.org
Wed Apr 25 04:19:03 EDT 2018
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: b1fdb899bfec18fd53ef771f287b29880520a11c
https://github.com/OpenSIPS/opensips/commit/b1fdb899bfec18fd53ef771f287b29880520a11c
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2018-04-25 (Wed, 25 Apr 2018)
Changed paths:
M modules/tm/h_table.h
M modules/tm/t_cancel.h
M modules/tm/t_fwd.c
M modules/tm/t_reply.c
Log Message:
-----------
Fix handling of negative replies in EBR scenarios.
If t_wait_for_new_branches():
* stop any waiting when cancel is received from UAC
* keep doing waiting even if a negative reply was received on the real branches; maybe more branches are to be injected.
The bugs fixed:
* if there was at least one callee when routing the call, if the call was rejected by caller, the transaction terminates without waiting for any more branches
* if there was no callee when routing the call, but added later via injection, the transaction did not terminate on spot upon cancel from caller, but waiting for timeout.
Closes #1237
Closes #1128
More information about the Devel
mailing list